Fullscreen
[Show/Hide Right Column]

Interactive Translation of Tiki Interface


This permits web-based, in-context translations.


The feature was added in Tiki2 and underwent an overhaul in Tiki5, and further improvements in Tiki6 and Tiki7. As of Tiki6.1, this tool can't translate the strings in javascript functions, so you still need to edit manually the ./lang/xx/language.js file from your xx language.

You can use it at i18n.tiki.org




To setup interactive translation

  1. Enable Multilingual and Use database for translation in the I18N/Multilingual administration panel
  2. Give the permission tiki_p_edit_languages to the group that should be allowed to edit languages. If you skip this step, only admins will be able to. Please note that if you give tiki_p_edit_languages to regular (non-admin users), they'll only be able to translate non-admin interfaces.
  3. Add the module switch_lang

To use interactive translation

  1. Using the module switch_lang select the language you want to translate to
  2. From tiki-edit_languages.php (Admin -> Edit languages), Use Toggle interactive translation ON or click Image
    • The tools will be enabled for your session. You will need to turn it off from the same location.
    • The tools appear as a blue bar at the top of the screen
  3. Navigate to the page containing the string you want to translate, or change locally if for an English website.
  4. Check the Interactive Translation checkbox in the blue toolbar. Uncheck it when you want to continue navigating.
  5. Click on the string you wish to translate. A window will open displaying related strings. (see screenshot)
  6. Modify the strings and save the translations. Changes will appear upon reload, not immediately.



As you can see in the screenshot, selecting a string may occasionally lead to false positives being listed. The most relevant options are generally on top, but be careful when translating the text.

You should likely make sure your database & Tiki are properly setup to use UTF-8: Understanding Encoding


Related pages

Alias


Contributors to this page: Marc Laporte9140 điểm  , xavi67881 điểm  , Rodrigo Sampaio Primo1690 points  , Louis-Philippe Huberdeau1046 điểm  and xavidp1213 points  .
Page last modified on Tuesday 14 December, 2010 19:49:04 UTC by Marc Laporte9140 điểm .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

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



Tiki Newsletter

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

Show php error messages
 
PHP (5.3.5-1ubuntu7.8) ERROR (E_WARNING):
File: lib/images/abstract.php
Line: 231
Type: getimagesize(display269) [function.getimagesize]: failed to open stream: No such file or directory