Loading...
 

If you want multilingual forms, you have a few options that can be used together to allow label translation only or label and value to be different per language.

  1. Labels translation (based on the tiki i18n feature )
  2. Multilingual fields (some tracker fields support multilingual values)
  3. Make a tracker per language

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.

  1. The labels should be in English and you can add the translations to lang/xx/custom.php or the database (see i18n options) if the translation doesn't exist in lang/xx/language.php
  2. It works for drop-down menus as well.
  3. Some field types can be identified as multilingual (to gather multilingual content)

Multilingual fields

Field type like "Text fields" support multilingual and you can enable or disable the parameter in the field options.

Example

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

Click on image to see example
Click on image to see example


Step 2: Translate your Tracker Field and Drop Down Items.

In the example we are creating, we have the following items to translate.

Tracker Field

EnglishFrench
Which Continent Do You Live In? Dans quel continent habitez-vous ?


Drop Down List

EnglishFrench
AfricaAfrique
AsiaAsie
AustralasiaAustralasie
AntarcticaAntarctique
Europe Europe
North America Amérique du Nord
South America Amérique du Sud


Step 3: Move your translation to the proper Custom.php file
Go where you Tiki is installed and insert a file named "custom.php" inside the proper language folder.

Simply go to: (tiki_is_installed)/lang/(your_translated_language)/custom.php

Here is the sample code for our example

Copy to clipboard
<?php $lang_custom = array( "Which Continent Do You Live In?"=>"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;


Step 4: Congrats! You now have a multilingual tracker

Screenshot of English Tracker
Screenshot of English Tracker

Screenshot of translated French Tracker
Screenshot of translated French Tracker


alias

doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki