Multilingual trackers labels be translated
Tiki was designed to be multilingual since the beginning. The standard out-of-the-box Tiki installation is designed to work in a multilingual environment and so if a translation exist the label for a field will be translated when you switch language.
Field type like "Text fields" support multilingual and you can enable or disable the parameter in the field options.
We want to create a Tracker that can support English and French users. We want our tracker to be translated in both languages and we want to make sure that all data is consolidated into the same tracker. In other words we don't want to have to create an English and French tracker.
In the following example, we will show you how to create a multilingual tracker. Lets see how we would create a multilingual Drop Down list inside of a Tracker where the user is required to select from a list of Continents.
Step 1: Create your tracker and create a new Field of Type (Drop Down
In the example we are creating, we have the following items to translate.
Simply go to: (tiki_is_installed)/lang/(your_translated_language)/custom.php
Here is the sample code for our example
"Dans quel continent habitez-vous ?", "Africa"=>"Afrique", "Asia"=>"Asie", "Australasia"=>"Australasie", "Antarctica"=>"Antarctique", "Europe"=>"Europe", "North America"=>"Amérique du Nord", "South America"=>"Amérique du Sud", ); $lang = $lang + $lang_custom;