@@ -5,7 +5,7 @@ We are using PO files as the basic mechanism for managing translation
55of Music Blocks. We'd prefer that translators work with the Sugar
66Labs [ Pootle server] ( https://weblate.sugarlabs.org ) and
77we will work with you to set up a PO file for your language if one is
8- not presently on the server. Also feel free to make Pull Requests
8+ not presently on the server. Also feel free to make pull requests
99directly to this repository with updates to existing (or new) PO
1010files.
1111
@@ -19,4 +19,26 @@ The string of text goes like this:
1919msgid "word_in_English"
2020msgstr "put_word_in_translated_language_here"
2121
22- The text input between the two quotation marks of msgstr will be displayed when a users browser requests the target language
22+ The text input between the two quotation marks of msgstr will be
23+ displayed when a users browser requests the target language.
24+
25+ Under the hood
26+ ==============
27+
28+ MusicBlocks.pot is a template that is periodically updated with all of
29+ the strings used for internationalization. Individual language PO
30+ files are updated from this POT file.
31+
32+ As per above, translators work with the PO files, either through the
33+ web interface or by making a pull request.
34+
35+ The localization.ini file is compliled from the PO files. The INI file
36+ is used by JavaScript to do the actual translation of the interface.
37+
38+ There are instructions for adding a new language to the pull-down menu
39+ in the
40+ [ README.md] ( https://github.com/sugarlabs/musicblocks/blob/master/README.md )
41+ file found in the js directory.
42+
43+ The tools for maintaining the POT, PO, and INI files are found in the
44+ [ PO Utils] ( https://github.com/sugarlabs/po-utils ) repository.
0 commit comments