Google Code-In 2012/Activity i18n: Difference between revisions
Created page with "The following activities are in need of being re-factored to include internationalization (i18n). What this means is modifying the code so that strings that appear in th euse..." |
No edit summary |
||
| Line 1: | Line 1: | ||
The following activities are in need of being re-factored to include internationalization (i18n). What this means is modifying the code so that strings that appear in | The following activities are in need of being re-factored to include internationalization (i18n). What this means is modifying the code so that strings that appear in the user interface are specially marked for recognition by the gettext tools allowing them to be extracted into a POT (portable object template) file. | ||
POT files are the uploaded to the translation server (Pootle) by a process that results in linking the code repository to the Pootle server so that additional changes in the UI strings are automatically incorporated into a refreshed POT file and when translations are completed on the Pootle server, the PO files are committed to the repository in it's /po directory where they are used during the build process to create MO files that present the translated strings to users. | POT files are the uploaded to the translation server (Pootle) by a process that results in linking the code repository to the Pootle server so that additional changes in the UI strings are automatically incorporated into a refreshed POT file and when translations are completed on the Pootle server, the PO files are committed to the repository in it's /po directory where they are used during the build process to create MO files that present the translated strings to users. | ||
| Line 32: | Line 32: | ||
4) Generate the POT file and place it in the /po directory. If being ported from Spanish, create an es.po file containing the original Spanish language strings. | 4) Generate the POT file and place it in the /po directory. If being ported from Spanish, create an es.po file containing the original Spanish language strings. | ||
5) File a merge request with the repository maintainer. Request that they make gituser: | 5) File a merge request with the repository maintainer. Request that they make gituser: pootle a commiter on the repository | ||
6) File a ticket in the bug tracker with component = "localization" | 6) File a ticket in the bug tracker with component = "localization" requesting that the activity be set up in Pootle. Be sure to include a link to the main repository page. | ||