We are looking for volunteer translators to help translate TCExam into more languages. TCExam currently ships with 26 languages, maintained in a single TMX file. TCExam is language independent thanks to the UTF-8 / Unicode charset and the TMX (Translation Memory eXchange) standard — see the Internationalization feature.
How to translate
Download TCExam from https://github.com/tecnickcom/tcexam.
Unpack the archive in your web root if you want to install it, or anywhere else if you only want to translate.
Locate the translation source file:
shared/config.default/lang/language_tmx.xml(After installation a copy lives at
shared/config/lang/language_tmx.xml.)language_tmx.xmlis an XML file in the TMX standard. It can be edited either manually or with a compatible CAT (Computer-Aided Translation) tool — see https://en.wikipedia.org/wiki/Translation_Memory_eXchange.As a simpler alternative, you can directly translate one of the compiled per-language files in
cache/lang/(these are build artifacts generated from the TMX).
Notes
Please respect the original uppercase/lowercase and the length of the sentences.
TUID identifier prefixes
| Prefix | Meaning |
|---|---|
d_ | a brief description |
h_ | a help message used in the title attribute of HTML tags |
w_ | a single word or short phrase used as a field label |
m_ | a general message |
Special identifiers
a_meta_charset— the charset for the language; must always beUTF-8.a_meta_dir— text direction:ltr(left to right) orrtl(right to left).a_meta_language— the HTML language code (en= English,it= Italian, …).
HTML code
Some fields contain HTML markup. The < and > symbols are escaped as < and >.
Testing
To test your translation in a running install: regenerate the language caches with
make lang, or delete the cache/lang/language_tmx_*.php files so they are rebuilt on the next
request.
Submitting your work
Once completed, email the files to info@tecnick.com. Your credits will be added to the credits page. Thank you!