El dj 26 de 07 de 2012 a les 08:50 -0600, en/na Stephen Tigner va
escriure:
> (Replies below, inline)
> 
> On Thu, Jul 26, 2012 at 2:36 AM, Mikel Artetxe <artet...@gmail.com> wrote:
> >> Just one comment, in the language pair list in Portuguese, the English
> >> language name appears with the firs letter capitalised, and not the
> >> rest of languages. In this case (Portuguese), it shouldn't be
> >> capitalised.
> >
> >
> > I wrote the code that generates titles for language pairs, and I don't
> > understand why it's not working correctly in this case. In the general case
> > (when we have standard two letter codes), the name of the language is
> > generated as follows:
> >
> > title = new Locale(code).getDisplayLanguage();
> >
> > It seems that, at the same time, Locale uses ICU in Android, so I guess that
> > the problem is theirs... The only thing we could do would be hardcoding the
> > language name for that particular case.
> >
> >
> > Arink: I've changed the locale of my droid to Portuguese to test it, and it
> > seems that your app goes crazy doing so. Language pairs installed before the
> > change keep their English name, while the ones downloaded after it use the
> > Portuguese name. So the app says that I have two language pairs installed,
> > "basco -> espanhol" and "Basque -> English", and it considers that "basco"
> > and "Basque" are different languages...
> >
> Huh, I hadn't tried doing that myself, but I had my phone in Japanese
> and switched it back to English, and can confirm it behaves just like
> Mikel said above. The language pairs I had installed before I switched
> locales still show their names in Japanese, and the pair I installed
> after switching back to English shows in English. One question I am
> curious about is, how common is this use case (switching locales on
> the phone)? I imagine it would be more common among those on this list
> than the general population, however.

I can't say I do it every day, but it isn't that unusual either. Our
program should do The Right Thing[tm].

Fran


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to