In the first step you have to define the translation in the “translations/index.cfg”.
Adding English (Great Britain) translation:
[en_GB] name=English(GB) author=Foo Barmen
Now you can create the directory “en_GB”. The easiest way to translate the the files, would be to copy all files from another translation in your new translation directory.
Translation file format:
The format is similar to the CSV file format with a few exceptions. The first quoted string is the Key-String, which will never change and is hard-coded into the source code. The second quoted string is the translation into the wished language.
Example (German):
"Hello World!","Hallo Welt!"
Example (Spanish):
"Hello World!","Hola mundo!"
Quoting
It is not required to escape the ” (quotation mark) sign inside a string.
This is a valid translation:
"Hello "foobar" World!","Hallo "foobar" Welt!"
Note: The leading and trailing “-sign of the Key-String and Translation-String must exist.