[android-developers] Discussion on localizing-android-apps-draft

2010-08-10 Thread transistor09
What I understand from this page is that you can localize your OWN
app. How should one participate in translating of an internal app (ie.
input method "Android keybord")? Also, would it be difficult to
develop/install a new locale?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Discussion on localizing-android-apps-draft

2010-03-11 Thread Greg
I was wondering if someone could document the R.plurals localization
construct. From what I can gather it works similar to other resources
however a bit different,

Only %1$d more things left
...
looked up as:
int quantity = 4;
context.getString(R.string.some_string, quantity);

To do a correct localized entry, it would become:


Only 1 more thing left
Only a couple more things left
Congrats you have nothing left
Only %1$d more things left
Apparently there are only a few things left 
Apparently there are many things left


and looked up as:
int quantity = 4;
context.getResources().getQuantityString(R.plurals.some_string,
quantity, quantity);

The Many and Few don't seem to have clear implementations. Could you
elaborate on this construct?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Discussion on localizing-android-apps-draft

2009-12-13 Thread Kit
Hi all, i made an app in Traditional Chinese. and now i want to make
it in Simplified Chinese too. so i guess i should use the locale zh-TW
for traditional chinese and zh-CN for simplified chinese.

but for the strings.xml, it only allows values-zh but NOT for values-
zh-rTW and values-zh-rCN. so how could i seperate traditional chinese
and simplified chinese?

Thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Discussion on localizing-android-apps-draft

2009-12-04 Thread brucko
Guys, Im using a HTC Hero and downloaded "MoreLocale" from Market. It
seems to change the locale on my Hero with no problems. seems to work
fine with the L10nDemo app although it exposes a few flaws.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Discussion on localizing-android-apps-draft

2009-11-09 Thread sandscorpio
I have localized strings at res/values-de/strings.xml and res/values-
es/strings.xml . When I test different locales in the Simulator, the
localized strings show up correctly.

However, when I upload the app to the Market, it says 'Localized to:
unknown'. Has anybody else had the same problem and know a fix or
workaround?

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Discussion on localizing-android-apps-draft

2009-10-01 Thread Chih-Wei

I have two questions about localization.
First, can I control which strings should to be localized and which
shouldn't be?
I asked this question since it complains when some strings are
not set to be localized in class TextView and Button (at least I
noticed).
I don't believe I have to localize strings like '1024' or '80x25'.
Why I cannot set them to be non-localized?

The second question is how to sync the original strings.xml
with all localized strings.xml? That is, if the original strings.xml
is updated, how to update all the localized strings.xml?
(yes, I'm asking a tool like Gettext's msgmerge )
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Discussion on localizing-android-apps-draft

2009-09-03 Thread RoryD

What's the best way to refer to Android resource IDs from a SQLite
database?

For instance if I have a "category" table with cols id, and
category_name.  Right now I store a default English name in
category_name, but I'd also like to be able to localize that when I
display it in the UI.

The one approach I've considered is to use the category_name col to
store a string representation of the Android resource name (e.g.
category_name_fine_dining), then use getResources().getIdentifier()
with this column value to get the resource ID, which I can then use to
lookup the localized string.  The API doc warns about the performance
of this method though, so presumably the lookup would need to be
cached.

Are there better ways of handling this?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Discussion on localizing-android-apps-draft

2009-08-08 Thread AlexK

aiLocalizer - developers utility for APK localization (Windows). It
use Google Translate API and helps in few second to localize you
application. Its FREE.

aiLocalizer location - http://www.artfulbits.com/products/#ailocalizer
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Discussion on localizing-android-apps-draft

2009-06-04 Thread Rotor

im using a localized widget
im loading a my own localized font to the widget (on the desktop)
but i didnt find a way yo load an asset to a textview  from a remote
view

maybe im looking in the wrong direction

is it posible to set font to widgets ? and if so how is it done on
runtime or xml based

thanks

Rotor

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Discussion on localizing-android-apps-draft

2009-05-31 Thread havexz

I want test my app in different language. Currently I am able to
change the language of the emulator 1.5 and my app starts showing
strings for that language but when i type in the edit box it still
shows english. Do I have to change some code so that my edit box n
everything else supports multiple language? Or do i have to tweak the
emulator so that it starts typing in language other than enlish?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Discussion on localizing-android-apps-draft

2009-04-11 Thread Matthias

in case not everyone noticed, this article has been updated and now
contains the correct instructions.

Thanks Justin!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Discussion on localizing-android-apps-draft

2009-04-01 Thread Matthias

Xavier,

very helpful! thanks for sharing, works perfectly.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Discussion on localizing-android-apps-draft

2009-03-31 Thread Matthias

Setting the locale in /data/locale as described here doesn't work for
me in 1.1 R1. Has the process changed? This used to work for me in
pre-1.1 releases.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Discussion on localizing-android-apps-draft

2009-02-23 Thread WampBier

what's about the 1.2 version. I cannot set the locale.

is there a way to test for example PL...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---