Loading...
 
Skip to main content

i18n scripts

This page document the scripts that help developer perform i18n related practices.

get_strings.php
Used to collect translatable strings from the source files and add them to the language.php files.

Usage: php get_strings.php lang=pt-br (if the lang parameter is omitted all languages will be considered)

doc/devtools/get_translation_percentage.php
Output in wiki syntax a table with the percentage of translation for each language. Used to generate the content of the page http://i18n.tiki.org/Status

Usage: php get_translation_percentage.php pathToTiki wikiPageName (the second parameter is optional)

doc/devtools/export_translations_to_file.php
Export translations from the database to the correspondent language.php file. Similar to the button "Write to language.php" that exist in the page tiki-edit_languages.php.

Usage: php export_translations_to_file.php langCode

doc/devtools/mergelang.php
A problem with having to maintain translations of several versions of Tiki is that the same strings have the same translations, but is not desirable to change them for each branch. This script takes the translations from a source version and add to a target version if the string exists in the target language files. It is possible to use the script to merge language files for a few languages or for all languages at once.

Usage: php doc/devtools/mergelang.php pathToSourceTikiVersion pathToTargetTikiVersion lang=pt-br,es

doc/devtools/update_english_strings.php
Used to automatically update all lang/*/language.php files when a English string is changed in Tiki source code. This script is experimental. Always review the changes to language.php file before committing.

Usage: php doc/devtools/update_english_strings.php "oldString" "newString"

 Error in 13x
In 13x returns:
Copy to clipboard
PHP Fatal error: Class 'TikiDb_Bridge' not found in /var/www/tiki13x/lib/language/Language.php on line 22

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.

Accessibility (WAI & 50😎
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Kanban
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Federated Timesheets
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools