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

Improve get_strings

This page is kept for historic reasons. get_strings.php was rewritten in Tiki 8 following the points listed below.


get_strings.php is the script used to populate language files (lang/xx/language.php) with English strings collected from the source code so that translators can work on it.

Below is a list of proposed improvements.

  • Remove unused strings. The current version of get_strings.php does not remove from language.php strings that are not used anymore. This leads to translators wasting time translating useless strings and imprecise stats (different language.php have a different total number of strings). If there is any reason to keep unused strings we should do it in another file.
  • Reorganize (rewrite?) the script so that it is possible to unit test it. Making easier to catch and fix regression bugs like this one.
  • Decide whether the script should order the strings alphabetically or as they appear in the source files (current behavior).
    • Alphabetically make it easy to catch duplicates
    • As they appear in the source files is better when you are translating as they are organized by feature and you have an idea of their context


Page last modified on Wednesday 28 September, 2011 13:47:56 UTC

Search Wishes (subject only) [toggle]

Categorize Improve get_strings

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.