304
edits
| Line 72: | Line 72: | ||
</source> | </source> | ||
Only sentences are | Only sentences or phrases present on the right side of = as seen above are to be translated, the code on the left side of = should remain unchanged. It is possible to translate the files one by one, without bringing them all at once. If a file has not been translated into the new language, Dolibarr uses English. | ||
To have a localise string into the PHP code, all you have to do then is loading the language file and use the method to get the translated value. This can be done like this: | To have a localise string into the PHP code, all you have to do then is loading the language file and use the method to get the translated value. This can be done like this: | ||
edits