So, I am trying to understand how to use translations on Graal. Maybe someone could help me. This is what I have so far.
folderconfig
PHP Code:
file translations/*.po
file translations/en/*.po
file translations/de/*.po
serveroptions
PHP Code:
serverlanguage=en
defaultlanguage=en
translatedlanguages=es
script
PHP Code:
//#CLIENTSIDE
function onCreated() {
loadtranslation("test");
player.chat = _("hello");
}
The file is in translations/es/test.po
Wasn't sure how to use _(), and how to set the language file up.
Also I read, but not well documented,
http://www.graal.net/index.php/Creat...slation_System