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

Line 45: Line 45:


This is from the Japanese <code>po</code> file for <code>social.js</code>, <code>social.po</code>. You'll see a line called "Localizers:". Add a new line (or replace the dummy line) below that and add your name, followed by your email address in <braces>.
This is from the Japanese <code>po</code> file for <code>social.js</code>, <code>social.po</code>. You'll see a line called "Localizers:". Add a new line (or replace the dummy line) below that and add your name, followed by your email address in <braces>.
Please note that these automatically generated localization templates are not perfect. For technical reasons, there are often a handful of localizable strings which do not get automatically added into the template. When you notice these, you can simply duplicate one of the <code>msgctxt</code>-<code>msgid</code>-<code>msgstr</code> entries and fill in the appropriate details. This will often require that you take a look at the original command feed's source.


== Examples ==
== Examples ==


== Formatting templates ==
== Formatting templates ==
308

edits