1,007
edits
Changes
→Making sure your command is localizable
=== Making sure your command is localizable ===
Ubiquity now supports multiple languages. That means that hopefully someday someone will be translating your commands to the other languages that Ubiquity supports. Making your command localizable is easy, and a good habit to get into! You just have to wrap any locate all strings that appear in your <code>preview()</code> and <code>execute()</code> methods , that are intended for display to humans, and wrap them with:
_()