[android-developers] Re: translated application dealing with English only server

2009-07-20 Thread kizza
Hi, and thanks for your help. I've managed to make my own ListAdapter now, but how do I load the resources of another language? I tried doing a hack by changing the Locale halfway with Locale.setDefault(Locale.ENGLISH); but when I requested the resource it still gives me the local language. This

[android-developers] Re: translated application dealing with English only server

2009-07-20 Thread Mark Murphy
kizza wrote: Hi, and thanks for your help. I've managed to make my own ListAdapter now, but how do I load the resources of another language? That is for the user to control. The user can change their locale via the Settings application if and when they feel it is appropriate. -- Mark Murphy

[android-developers] Re: translated application dealing with English only server

2009-07-20 Thread Streets Of Boston
Kizza, If you need to be able to tranlate 'on the fly', then you need to do all translations yourself. Don't use the strings.xml file. On Jul 20, 9:52 am, Mark Murphy mmur...@commonsware.com wrote: kizza wrote: Hi, and thanks for your help. I've managed to make my own ListAdapter now, but

[android-developers] Re: translated application dealing with English only server

2009-07-13 Thread Yusuf T. Mobile
If I understand you correctly, you have an English-speaking server, and a multilingual Android UI. You also have a requirement to translate at runtime. In that case, I would recommend the server provide the translation map, comme ca: string name=dogogday/string When you build the list view or