Internationalization Admin | |
This page explains how to administer a Tiki site with all issues relative to languages Internationalization. To learn how to create a new language, update it, customize the general purpose translation for your specific site, please see: Internationalization User and Interface translation.
|
How to build a monolingual site? | |
By default TikiWiki is English/American. But Tiki supports many other languages.
Then, you have to set up some information:
|
How to build a multilingual site? | |
Tiki supports multiple languages, it means that the strings and messages can be displayed in a specific language chosen by the user or automatically chosen in function of the browser languages configuration.
|
To configure a multilingual site | |
|
To make a multilingual menu | |
To have a multilingual content | |
Establishing a set of translations will give Tiki the opportunity to automatically select in some case a Wiki page or an article in the best language for the user.
For each language with a linguistic variant (ex: en-uk), the root language is added (ex: en) to the list (just after the variant) |
Best language | |
Force the strings to be in the same language than a page (tw>=3.0) | |
Use the option Page language forces to display strings in the same language to do that. (Can be backport in tw 2.x: svn revision 14114) |
Modules displayed only for some language | |
|
Tip | |
If you want to speed up you site, it is better to "compile" the templates. Go to the panel admin/system admin and click on "compile" of each language. |
Goodies | |
Tiki also has some goodies that can help in a multilingual site:
|
Calendar first day | |
This can be done on a language basis, you have to edit your lang/your_language/language.php and adapt the translation of the string
|
Where to find a language file | |
All the language.php files are delivered with Tiki. Just look for the files at: /lang/xx/language.php where xx is a 2-letter or 4-letter language code |
FAQ | |
Utf8 and php string functions | |
The strings functions in php are not multibyte safe - and Tiki uses Utf8.
An interesting article about database in UTF-8 on tikiwiki.org: http://tikiwiki.org/UTF-8 |
Right to Left Language | |
- Some wiki markers: {r2l},{l2r}, {rm}, {lm} can be used to change the text direction
Developer's documentation (How to enter a string)
Please follow the format convention described in TikiStringsFormatConvention
The translation phase in Smarty occurs at 2 moments
|
Linguistic variance | |
For each language with a variant (ex: en-uk), the root language is added (ex: en) to the list (just after the variant)
Related pages
|