← Back to team overview

mahara-contributors team mailing list archive

[Bug 1417120] Re: non-english lang no used in theme

 

Okay, I see. The problem is specifically with multilingual support for
theme language files. I was able to replicate this problem.

To replicate:

1. Install the attached "langtest" theme into your Mahara site.
2. Set up the French language pack (from langpacks.mahara.org) on your Mahara site.
3. Log in to Mahara.
4. Select the French language, and the "Lang String Test" theme.

Expected result: On your dashboard page, you should see the French lang
string "Ce est ma chaîne de test.".

Actual result: On your dashboard page, you see the English lang string
"This is my test string".

** Attachment added: "langtest.zip"
   https://bugs.launchpad.net/mahara/+bug/1417120/+attachment/4311711/+files/langtest.zip

** Changed in: mahara/1.10
       Status: Incomplete => Confirmed

** Changed in: mahara/15.04
       Status: Incomplete => Confirmed

** Changed in: mahara/1.10
   Importance: Undecided => Medium

** Changed in: mahara/15.04
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1417120

Title:
  non-english lang no used in theme

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed

Bug description:
  Based on the doc here:
  https://wiki.mahara.org/index.php/Customising/Themes/1.10#Theme_lang_strings

  Theme language strings work in English, but non-English theme language
  strings are not loaded.

  To reproduce:
  1. On a custom theme add a French lang string like explained here:
  https://wiki.mahara.org/index.php/Customising/Themes/1.10#Theme_lang_strings

  2. Change your language to French

  Expected:
  The French lang string should be used

  Actual:
  The French lang string is not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1417120/+subscriptions


References