Yes, and in those languagefiles you only have to put the strings you change. Don't forget to fill out "Parent language" with the language you want to fall back to for the missing strings
Yikes, I just can't seem to see where I set the "Parent Language" for my new language pack. Is it a variable somewhere I have to change? Is it in each individual language file?
I have made a language called en_local in which I have changed very few strings for very few files. I want to make the parent language en_us.
Go to admin, language, edit strings, moodle.php (wich opens as default) and search for the string "parentlanguage"
We are developing a language translation that we want to cover the main parts of the Moodle functionality as they are pretty representative of what is currently available.
I am pretty new to being a site administrator so I followed the advice on the main moodle site about creating a new language pack - copying an existing pack and calling it under a new name and using that as the default.
I have edited the strings accordingly for the moodle.php file - again as recommended, but when I view the site using the language I have set up, there are lots of gaps in the basic interface elements of tools and features I would want to use in my courses, e.g. calendar.
How do I go about translating all the strings relating to the components I might use ( quizzes, calendar, journals ...etc).
Are the strings relating to them in the other php files listed (apart from moodle.php) ...., there look like there are lots of files - so is there any recommended order I should edit them in?
sorry if this is a very basic question......
ta
chris
There is some documentation you can read here. (hm, it seems like I have to move that page, or is it already done?)
If it is not clear enough, please help us improve it with your questions
edit: it is moved to here: http://docs.moodle.org/en/Translation
(thanks Dagza and Helen!)
ta
chris
Hello
I need to create a Haitian Creole Language Pack.
I would like to know if anybody in this forum has done so already, or if somebody could guide me on the steps that need to be taken in oder to do that .
Thank you
Hello Livingston,
I would like to know if you were able to create the Creole Language pack. I will be creating a few courses for Haiti and this would be greatly helpful. If it is created would you be open to sharing it with us? Thanks.
Phillip Rincon
Hi All,
I would like to know if I can create a new language file in the core language pack of Moodle and add my custom strings there instead of adding my strings in moodle.php.
I have tried creating a file and added my custom strings and cleared the cache but the strings are not available. Please do suggest if I am missing anything.
https://docs.moodle.org/dev/String_API
Shortly, you can't simply add a new file into lang/en/ and expect it start working. The new strings are supposed to be part of a plugin.
If you are customizing Moodle for some local needs then a plugin type "local" might be suitable for you. That was introduced for these purposes. Usually, a proper plugin type such as admin tool or block may suite more. It really depends on the nature of your customizations.