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.
id, the message id. This is the original text in the source language, so you know exactly what content needs to be translated. This must exactly match the localized string in the command code.
msgstr, the message string. This is the localized string in the target language, here Japanese. As expected, the msgstr above says "direct message was sent" in Japanese.
* almost ever
Once you've found your Ubiquity source directory, you want to find your language's directory at localizations/XX/ where XX is your language code. If the directory doesn't exist, you can make it. Place your po files there.
Finally, go to the Ubiquity settings page and make sure it's set to use your language (if you haven't already).* Restart to test out your localizations.
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.