Hi,
I am having 2 issues with Android trying to make my translated app. I
have a strings file like this:
<string name="dog">Dog</string>
<string name="cat">Cat</string>
<string name="bird">Bird</string>
<string-array name="animal_types" >
    <item>@string/Dog</item>
    <item>@string/Cat</item>
    <item>@string/bird</item>
</string-array>

and these are used to populate a ListActivity. The name attribute is
the value that the server expects.

1: When the user clicks an entry in the list, is there a way to return
the string's name in the translation file, rather than the translated
string?
2: If the server returns, for example, 'bird', is there a way that I
can translate that string at runtime?

If it turns out that there is no way to do this with the translation
system, what would you suggest?

Thanks a lot!

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

Reply via email to