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
Lint (21 rc10) missing translation errors for English regions
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
  3 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
 
Alec Plumb  
View profile  
 More options Oct 26 2012, 6:22 pm
From: Alec Plumb <abp...@gmail.com>
Date: Fri, 26 Oct 2012 15:22:05 -0700 (PDT)
Local: Fri, Oct 26 2012 6:22 pm
Subject: Lint (21 rc10) missing translation errors for English regions

I have an app where the default language us US english. I also have
translations for several other languages, and for these the "is not
translated" lint error is invaluable. However, I also have a very few
strings that I need to change for en-rAU and en-rGB, but lint complains*"x" is not translated in en-rAU, en-rGB
* 200 times. Is there any way to tell lint that the default language is
"en", so that it doesn't complain about missing translations for other
english regions?

According to the Localization API Guide<http://developer.android.com/guide/topics/resources/localization.html> I
am organizing my resources correctly, so it would be nice if lint didn't
mark these as errors.


 
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.
Xavier Ducrohet  
View profile  
 More options Nov 8 2012, 8:11 pm
From: Xavier Ducrohet <x...@android.com>
Date: Thu, 8 Nov 2012 17:11:27 -0800
Local: Thurs, Nov 8 2012 8:11 pm
Subject: Re: Lint (21 rc10) missing translation errors for English regions

We don't really have support to declare what the default language is at the
moment. We should add this somewhere. I'll talk to Tor about it.

On Fri, Oct 26, 2012 at 3:22 PM, Alec Plumb <abp...@gmail.com> wrote:
> I have an app where the default language us US english. I also have
> translations for several other languages, and for these the "is not
> translated" lint error is invaluable. However, I also have a very few
> strings that I need to change for en-rAU and en-rGB, but lint complains*"x" is not translated in en-rAU, en-rGB
> * 200 times. Is there any way to tell lint that the default language is
> "en", so that it doesn't complain about missing translations for other
> english regions?

> According to the Localization API Guide<http://developer.android.com/guide/topics/resources/localization.html> I
> am organizing my resources correctly, so it would be nice if lint didn't
> mark these as errors.

--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!


 
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.
Tor Norbye  
View profile  
 More options Nov 26 2012, 3:20 pm
From: Tor Norbye <tnor...@google.com>
Date: Mon, 26 Nov 2012 12:20:46 -0800
Local: Mon, Nov 26 2012 3:20 pm
Subject: Re: Lint (21 rc10) missing translation errors for English regions

FYI, this will be addressed by
https://android-review.googlesource.com/#/c/46834/ . In short, add
tools:locale="en" to your <resources> element (but of course this will only
be considered by the tools when you use the first Tools 22 Preview).

-- Tor


 
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 »