Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to add string.xml for a different locale
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Farhan Tariq  
View profile  
 More options Oct 12 2012, 9:15 am
From: Farhan Tariq <farhan....@gmail.com>
Date: Fri, 12 Oct 2012 18:13:46 +0500
Local: Fri, Oct 12 2012 9:13 am
Subject: How to add string.xml for a different locale

Hi,

I have seen some forums, skimmed through stackoverflow before posting here.
I need to know how I can add a string.xml file for a different language.
Android uses "es" to refer to english language. How can I use, say
"values-XX" and a String.xml file in it for reading values in my app? I
want that my app should use String.xml in "values-XX" throughout my app,
without removing the other "values..." folders. Any help is greatly
appreciated.

Thank you

Farhan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RichardC  
View profile  
 More options Oct 12 2012, 9:22 am
From: RichardC <richard.crit...@googlemail.com>
Date: Fri, 12 Oct 2012 06:22:32 -0700 (PDT)
Local: Fri, Oct 12 2012 9:22 am
Subject: Re: How to add string.xml for a different locale

http://developer.android.com/guide/topics/resources/localization.html
http://developer.android.com/guide/topics/resources/providing-resourc...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
avluis  
View profile  
 More options Oct 12 2012, 9:23 am
From: avluis <alvaradoro...@gmail.com>
Date: Fri, 12 Oct 2012 06:23:20 -0700 (PDT)
Local: Fri, Oct 12 2012 9:23 am
Subject: Re: How to add string.xml for a different locale

This has everything you need and then some:
Android SDK > API Guides > App Resources > Localization<http://developer.android.com/guide/topics/resources/localization.html>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TreKing  
View profile  
 More options Oct 14 2012, 4:31 am
From: TreKing <treking...@gmail.com>
Date: Sun, 14 Oct 2012 08:25:52 +0000
Local: Sun, Oct 14 2012 4:25 am
Subject: Re: [android-developers] How to add string.xml for a different locale

On Fri, Oct 12, 2012 at 1:13 PM, Farhan Tariq <farhan....@gmail.com> wrote:
> Android uses "es" to refer to english language.

No it doesn't, it uses *en* (*EN*glish). *es* is for Spanish (*ES*pañol*).*

--------------------------------------------------------------------------- ----------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »