How to do it
All the texts used are stored in the files in the language folder. There is one file per language: french.php, english.php, german.php, spanish.php, turkish.php and dutch.php.
Open one of these files with a text editor and replace the right part of each line with the text in the new language.
will become in French:
Once all the sentences are translated, save your file under a new name, swedish.php for example if you have translated into Swedish.
Four last steps
Upload the file
Place your new file in the language folder of your installation.
Change the language value
Modify the value of lang in the crawlt_config table so it points to the new language file name.
Add it to the list
Add your new language to the list in the listlang.php file, inside the include folder.
Tell the developer
Use the forum to share the file. Your translation will be part of the next CrawlTrack release.
Share your translation
If you would like to share your translation, post it on the support forum with the language name and the CrawlTrack release it was made for. Translators already credited for their work are listed on the thanks page.
Localisation references
Sources and further reading, all outside this site. They open in a new context and are listed for reference only.
- PHP gettext basics translation patterns in php
- Unicode and UTF 8 character set background
- CrawlTrack project page where language files are tracked
- W3C internationalisation language and encoding
- Language tags the lang attribute
- WordPress translations community translation workflow
- PHP arrays the language file format
- GNU gettext manual the classic translation system