Labs/Ubiquity/Ubiquity 0.5 Command Localization Tutorial: Difference between revisions

From MozillaWiki
< Labs‎ | Ubiquity
Jump to navigation Jump to search
(Created page with '== Introduction == Ubiquity 0.5 adds the ability to localize commands bundled with Ubiquity and, in addition, lays the foundation for the future localization of community comman...')
 
Line 3: Line 3:
Ubiquity 0.5 adds the ability to localize commands bundled with Ubiquity and, in addition, lays the foundation for the future localization of community commands. The "localization of Ubiquity commands" involves the translation of verb names, description and help strings, and message and interface strings in the commands' <code>preview</code> and <code>execute</code> codes.
Ubiquity 0.5 adds the ability to localize commands bundled with Ubiquity and, in addition, lays the foundation for the future localization of community commands. The "localization of Ubiquity commands" involves the translation of verb names, description and help strings, and message and interface strings in the commands' <code>preview</code> and <code>execute</code> codes.


For information on the localization of the Ubiquity Parser—i.e., teaching Ubiquity the grammar of your language—please read [[/Labs/Ubiquity/Parser_2/Localization_Tutorial|this tutorial]]. In general, localizing the Parser is a prerequisite to the localization of individual commands.
For information on the localization of the Ubiquity Parser—i.e., teaching Ubiquity the grammar of your language—please read [[Labs/Ubiquity/Parser_2/Localization_Tutorial|this tutorial]]. In general, localizing the Parser is a prerequisite to the localization of individual commands.


== Gettext and the <code>po</code> format ==
== Gettext and the <code>po</code> format ==

Revision as of 14:51, 22 June 2009

Introduction

Ubiquity 0.5 adds the ability to localize commands bundled with Ubiquity and, in addition, lays the foundation for the future localization of community commands. The "localization of Ubiquity commands" involves the translation of verb names, description and help strings, and message and interface strings in the commands' preview and execute codes.

For information on the localization of the Ubiquity Parser—i.e., teaching Ubiquity the grammar of your language—please read this tutorial. In general, localizing the Parser is a prerequisite to the localization of individual commands.

Gettext and the po format

Localization templates

Examples

Formatting templates