Shay Well-Known Member Licensed User Longtime User Oct 12, 2011 #1 Hi I wrote my app in english - everything is "hard coded" such as label1="hello" now I was requested to add additional language support (hebrew) to all my objects / menu, etc... what is the best way to do it? Shay
Hi I wrote my app in english - everything is "hard coded" such as label1="hello" now I was requested to add additional language support (hebrew) to all my objects / menu, etc... what is the best way to do it? Shay
moster67 Expert Licensed User Longtime User Oct 13, 2011 #2 There is a library here: http://www.b4x.com/forum/additional-libraries-official-updates/7561-ahlocale-library.html#post43067 and a code-module here: http://www.b4x.com/forum/basic4android-getting-started-tutorials/10543-activity-translation.html#post58672 Credits go to their authors. Upvote 0
There is a library here: http://www.b4x.com/forum/additional-libraries-official-updates/7561-ahlocale-library.html#post43067 and a code-module here: http://www.b4x.com/forum/basic4android-getting-started-tutorials/10543-activity-translation.html#post58672 Credits go to their authors.
Shay Well-Known Member Licensed User Longtime User Oct 16, 2011 #3 Hi this did the trick now having 1 issue, after changing the language, the menu button are not changing to english on the fly I mean these: Activity.AddMenuItem(trans.GetText ("Settings"),"mnuSettings") I need to close the app and open it again, other stuff I manage to change on the fly question: is there a way to destroy the menu and create it again? if now I guess I need to close and open my app? - is there any code to do it? Thanks Upvote 0
Hi this did the trick now having 1 issue, after changing the language, the menu button are not changing to english on the fly I mean these: Activity.AddMenuItem(trans.GetText ("Settings"),"mnuSettings") I need to close the app and open it again, other stuff I manage to change on the fly question: is there a way to destroy the menu and create it again? if now I guess I need to close and open my app? - is there any code to do it? Thanks
Shay Well-Known Member Licensed User Longtime User Oct 16, 2011 #4 solved it by Activity.finish StartActivity(main) Upvote 0