|
1 year ago | |
---|---|---|
Deutsch | 1 year ago | |
English | 1 year ago | |
Español | 1 year ago | |
Français | 1 year ago | |
Italiano | 1 year ago | |
Polski | 1 year ago | |
Svenska | 1 year ago | |
Tagalog_Filippino | 1 year ago | |
русский | 1 year ago | |
README.adoc | 1 year ago | |
compare.sh | 1 year ago | |
index.html | 1 year ago |
README.adoc
forum-lang
This project contains the translations for the dev1galaxy.org forum.
The general principle is that each language is set up in a sub directory named by the language and having the same file structure as the English tree. The directory name becomes an entry in the language selection toggle of the profile setup at the forum, and the prinicple is there to use the language name as named in the language itself.
Translation Files
The translation files each hold an associative array that define mappings from code keys into phrases in the target lanaguage. The form for a mapping is:
'key' => 'phrase',
I.e., the key part is a string of text within a blanced pair of single-quotes, and the phrase part likewise is a string of text within a balanced pair of single-quotes. It’s also possible to use a balanced pair of double-quotes instead, but only if necessary.
The translation tree also includes templates for the various email the forum might send.