← Back to team overview

mahara-contributors team mailing list archive

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

 

Hi,

First, thanks for the quick feedback.

The problem is that a non-english custom string will not be used. The
english string works OK.

In your langtest theme, add for exemple a fr.utf8 folder or the language
of your choice, add the "theme.langtest.php" file in it and install in
your system the language pack. The strings in the non-english language
will note be used.

I found a workaround. Put the "theme.langtest.php" with the good lang folder in the htdocs/local/lang folder and it will work.
Buts its not the way it should work based on the documentation.

-- 
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:
  Incomplete
Status in Mahara 1.10 series:
  Incomplete
Status in Mahara 15.04 series:
  Incomplete

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

  Its possible to add a custom lang package relative to a theme but it
  don't seems to be used.

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

  Expected:
  The custom lang string should be used

  Actual:
  The custom lang string is not used

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


References