Hello,
July 9th has been set as the date to freeze localizable string changes and additions in
the Chandler Python code base.

Until July 9th, developers and the design team should change any English keys for localizable
strings in the Chandler Python code.


After July 9th, any changes must go in the en_US Chandler.po
file which will be checked in to SVN and available for modification on July 10th.

For example in osaf.mail.constants there is the following code:

TEST_OFFLINE = _(u"Chandler Mail is currently offline.\nTo perform this action, Mail must be in online mode.")


Overview of Translation Logic:
============================

The _ method is a short cut for a call to the i18n.ChandlerMessageFactory which takes the English key "Chandler Mail is currently offline.\nTo perform this action, Mail must be in online mode." and uses it to look up a translation from a gettext .po file for a specific locale. If no translation is found the default key "Chandler Mail is currently offline.\nTo perform this action, Mail must be in online mode." is assigned to TEST_OFFLINE.


Lets say that Mimi decides the text should read:

"Chandler Mail is currently offline.\nMail must be in online mode to perform this action."



Before July 9th:
=====================
The change would be made directly in the osaf.mail.constants Python file and committed
to SVN

TEST_OFFLINE = _(u"Chandler Mail is currently offline.\nMail must be in online mode
 to perform this action.")


After July 9th:
=====================
The change would be made in the Chandler.po file for the en_US locale.

1. Open the Chandler.po en_US file
2. Locate the msgid ""Chandler Mail is currently offline.\nTo perform this action, Mail must be in online mode. 3. In the msgstr field insert "Chandler Mail is currently offline. \nMail must be in online mode to perform this action."


Here is how it would look in the Chandler.po

#: parcels/osaf/mail/constants.py:60
msgid ""
"Chandler Mail is currently offline.\n"
"To perform this action, Mail must be in online mode."
msgstr ""
"Chandler Mail is currently offline.\n"
"Mail must be in online mode to perform this action."


After the July 9th localization code freeze any textual changes made
in the Python code will be immediately backed out of SVN.


Thanks,
Brian Kirsch


Brian Kirsch
Internationalization Architect / Mail Service Engineer
Open Source Applications Foundation
543 Howard Street 5th Floor
San Francisco, CA 94105
http://www.osafoundation.org


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Design" mailing list
http://lists.osafoundation.org/mailman/listinfo/design

Reply via email to