Translation Team/i18n Best Practices: Difference between revisions

Francis (talk | contribs)
Add coding header tip
 
Line 92: Line 92:


Make a request by filing a ticket on bugs.sugarlabs.org. You should set Type to 'task' and Component to 'localization'. Please include a link to the project page on git.sugarlabs.org (or whatever other repository you use).
Make a request by filing a ticket on bugs.sugarlabs.org. You should set Type to 'task' and Component to 'localization'. Please include a link to the project page on git.sugarlabs.org (or whatever other repository you use).
== Specify the character encoding if necessary ==
Python files with non-ascii characters or declaring strings representing them, need to add the following line to the header.
  # -*- coding: utf-8 -*-
If not, the pootle helper won't generate the pot/po files.