Submitted by mudrd8mz on Mon, 06/23/2008 - 06:29.
Hi,
working on Mahara Translation tool/interface, I realized (new?) $cfg->langpacksearchpaths. I was able to set it so I can put my language pack into $cfg->dataroot/lang (i.e. in the same way as I do in Moodle). Therefore, I want to ask, what is the "official" or recommended location for language packs.
My +1 for storing them in $cfg->dataroot and use $cfg->langpacksearchpaths to let Mahara find them. This way, we keep lang packs out of the Mahara source code and the translation tool integrated into the admin interface will be able to save modified files there. Also, the whole lang pack can be cloned from git repo easily.
tia
david

Hi, There is no "official"
Hi,
There is no "official" location for language packs, per se. Language packs simply must exist on the langpacksearchpath, which it's up to the user to define. You can put your language packs in dataroot if you like, and in fact that might be a good idea for some people on shared hosting. And you are right, it will also be a good idea for any translation interface to save them there, given it's guaranteed to be writable.