Forums | Mahara Community
page help translations
31 January 2014, 3:38 AM
I noticed that function has_page_help() in web.php uses fixed 'en.utf8' infix to identify help-files. And when I try to put a help file for a page in a plugin into the lang/??.utf8/help/ folder, it doesn't get displayed but the english version instead.
Still there is a wiki-page showing how to copy all english help files for translation. Am I missing something or does translation for help files only work for hints that are included with dwoo-function contextualhelp?
31 January 2014, 8:43 AM
To define a help file for a plugin, we need to create an English version help file (.html) and put it into <plugindir>/lang/en.utf8/help folder.
To have a translation of this help file, we need to use Launchpad translation tool since 2011 (launchpad.net/mahara-lang). You will get your language version of the help file after install the updated langpack.
31 January 2014, 10:10 PM
I don't know why it didn't show up yesterday but now it works fine loading the translated help from the plugin folder.