Quote:
Originally Posted by Crow
Yup, that's where it was. This is the folder config stuff for translations on Atlantis:
PHP Code:
file translations/*.po
file translations/en/*.po
file translations/de/*.po
I believe clientside translation files were put into levels/translations/*, and serverside ones in their respective sub folders. Then, in the server options, we have this:
PHP Code:
serverlanguage=en
defaultlanguage=en
translatedlanguages=de
Finally, in a system WNPC:
PHP Code:
loadTranslation("atlantis");
The rest of the magic is done by Graal and the _() function.
|
so would it work like this?
translatedlanguages=de,fr,more languages
and for loadTranslation("atlantis"); thats the name of the po file, right? im under the impression that you only need the loadTranslations once, and it will load for any language set?