Sunday, July 10, 2011

[android-developers] Re: Localization

Just quick thinking, I've not implemented localization so far, maybe
there is a better way to do it, but define a localization class,
subclass it with the languages you want to support, when you change
the language create an instance of the correct subclass (for the
desired language). Your subclasses will be responsible for returning/
setting your strings for the current language. If there are better
suggestions please share them.

----------
Ali Chousein
Geo-Filtered Assistant
http://geo-filtered-assistant.blogspot.com/
Cisco Android marketplace (Chosen for Cisco Cius)
https://marketplace.cisco.com/apphq/products/510


On Jul 9, 2:27 pm, Ahmed Shoeib <ahmedelsayed.sho...@gmail.com> wrote:
> hi ,
>
> i want to make button when i press it ....... the app language will
> change without need to close the app and open it again
>
> can i do this step ???

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

No comments:

Post a Comment