Fullscreen
[Show/Hide Right Column]

Close
noteNote
This page is to document "what Tiki should do". For feature documentation (what Tiki does), please see corresponding page on doc site

How to manage string localization in JS files

Tiki has a very simple system to localize strings in Java script files.

A string in a JS file should be encapsulated with tr() function to be translatable. Then someone has to manually add this string to lang/xx/language.js to be able to translate it.

This page is to discuss how to improve the current system so that we can:

  • Automatically collect translatable strings from JS files (presumably using get_strings.php)
  • Integrate JS strings with PHP and Smarty strings to avoid translation duplication and use available tools like i18n.tiki.org and i18n.tiki.org/stats

Page last modified on Thursday 12 May, 2011 19:08:00 UTC

Search Wishes (subject only) [toggle]

Categorize How to manage string localization in JS files

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.