I am customising version 1.6.3+ and have created a localised version of en_utf8 in my moodledata/lang/en_utf8_local folder. This all works fine so far with locally customised strings being used where they are defined in the local pack.
But - I can't find a way to get localised help files working. If I put them in my local moodledata/lang/en_utf8_local/help they are not found. The problem seems to be that help.php is looking up the current language and getting 'en_utf8' - as that is what is loaded, and goes looking in the 'moodle/lang/en_utf8' folder. Should the system be checking first to see if there is an 'en_utf8_local' folder and setting the operating language to that instead of 'en_utf8'?
Also been looking at the problem with editing the help files through the admin/language interface (local or normal moodle/lang/en_utf8/help). I get the message that in order to edit these files I need to have the lang pack in my moodledata/lang folder. On looking at the code I see that in langdoc.php around line 51 it says:
$langdir = "CFG->dataroot/lang/$currentlang";
where $currentlang is 'en_utf8'. As the help files are under either 'moodle/lang/en_utf8' or 'moodledata/lang/en_utf8_local' the system has no chance of finding them for editing??
I've had a good look around these forums but can't find much on localised help files - so am in need of some help on this one.
Thanks
Terry Wade