Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Android localization resources?

4 views
Skip to first unread message

flod

unread,
Oct 11, 2011, 1:32:13 AM10/11/11
to dev-...@lists.mozilla.org
Hi everyone,
quick question: if I need to check how a string is localized in a
specific language on Android, do you know where I can find this
information? I tried to search Android SDK's documentation but I didn't
find anything. For Microsoft you can easily find this information on
their site (e.g.
http://www.microsoft.com/Language/it-it/Search.aspx?sString=quick%20start&langID=it-it).

I just realized reading the "what's new" page for Firefox 8 that "Add to
home screen" refers to Android's home screen, not Firefox's, so I'm
trying to understand how it's translated in Italian.*

Francesco

Anas Husseini

unread,
Oct 11, 2011, 4:25:21 AM10/11/11
to flod, Dev l10n Mailing List
Hi flod,

Here is an example how to use mxr.mozilla.org to search for such strings:
http://mxr.mozilla.org/mozilla-beta/search?string=home+screen&find=/mobile/

(I looked for the string you mentioned in the en-US mozilla-beta repo
("mobile" subdir), but you may want to look in aurora or central sometimes.

After you find the needed string (which appears to be
"bookmarkShortcut.label" as per results we found), you can go to your hg
repo (the l10n repo) and look for that string ID (you can use
mxr.mozilla.org again for the search, but using 'l10n-mozilla-beta' tree
instead and '/it/mobile/' subdir, or simply make a normal string search in
your local repo). The result in our case was this string (the first one on
the part of the page that appears):

http://hg.mozilla.org/releases/l10n/mozilla-beta/it/file/3bcbf7cd1063/mobile/chrome/browser.dtd#l61

HTH

Anas
On Tue, Oct 11, 2011 at 07:32, flod <fl...@lodolo.net> wrote:

> Add to home screen

flod

unread,
Oct 11, 2011, 4:30:16 AM10/11/11
to Dev l10n Mailing List
Hello Anas,
I'm not talking about strings used in "Firefox Mobile", but Android's
strings, i.e. I need to know how a specific term, in this case "homescreen"
is translated in the Italian version of Android.

Francesco

Axel Hecht

unread,
Oct 11, 2011, 5:21:25 AM10/11/11
to

Here's my best guess, based on ad-hoc assumptions:
https://github.com/android/platform_packages_apps_browser/blob/master/res/values-it/strings.xml#L75
is the translation of
https://github.com/android/platform_packages_apps_browser/blob/master/res/values-en-rGB/strings.xml#L75,
which is likely close to the en-US string that we're talking here for
this feature.

Sadly, the upstream sources seem to be done right now, so I only stabbed
randomly at their github mirrors.

Axel

flod

unread,
Oct 11, 2011, 7:33:44 AM10/11/11
to dev-...@lists.mozilla.org
Il 11/10/11 11.21, Axel Hecht ha scritto:

> Here's my best guess, based on ad-hoc assumptions:
> https://github.com/android/platform_packages_apps_browser/blob/master/res/values-it/strings.xml#L75
> is the translation of
> https://github.com/android/platform_packages_apps_browser/blob/master/res/values-en-rGB/strings.xml#L75,
> which is likely close to the en-US string that we're talking here for
> this feature.
Thanks Axel,
I'll take a look around but this seems a good starting point.

Francesco

0 new messages