CloudServices/NativeSync: Difference between revisions

Undo revision 408574 by Liuche (talk)
(Undo revision 408569 by Liuche (talk))
(Undo revision 408574 by Liuche (talk))
Line 198: Line 198:
<h2> Localization </h2>
<h2> Localization </h2>
<p>http://developer.android.com/guide/topics/resources/localization.html
<p>http://developer.android.com/guide/topics/resources/localization.html
</p><p>Strings used in Firefox need to be localized into ALL THE LANGUAGES. Here's how to add a string.
</p>
</p>
<ol><li> Add the string as an entity to <b>$topdir/strings.dtd.in</b>. These are the actual strings that get localized, and should never be changed after landing. If you do need to make a change, make a new string entity, and do not change or delete any previous ones.
</li><li> Add the entity to <b>$topdir/strings.xml.in</b>. This makes the string available in /res/values/strings.xml.
</li><li> Run the preprocess script twice to generate the strings in strings.xml for use. These can be accessed using <b>@string/&lt;string-name from strings.xml&gt;</b> when used in xml, or <b>R.strings.&lt;string-name&gt;</b> in Java code.
</li></ol>
<h2> Schemas </h2>
<h2> Schemas </h2>
<p>TODO
<p>TODO
Confirmed users
400

edits