Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear

I am new to android and now i am working on project that have difference language . so i created two project that have the same function but difference language . now i want to merge that two project into one project and give ability for user to choose language when they use it. so when they use this software if they choose English language then it switch to English and if they choose other language it switch to that language.

Please tell me how to do like that . if you have sample please show me.
Posted

You don't need to merge projects! All what you need to do is to define resources.

Have a look here:
Localizing with Resources[^] - recommended!
Programmatically change language in Android-application [^]
Change language programatically in Android[^]
 
Share this answer
 
Comments
Member 10459321 8-Jan-14 5:30am    
Thanks for your answer. but now i have been created two difference project ready one project i use for English and one more i use for other language . so i want to combine it into one project that can let user choose language when they start application. do you have other way to do that?

Thanks.
Maciej Los 8-Jan-14 5:46am    
As i mentioned, there is nothing to "merge". You need to "merge" projects by defining resources. Follow the second link and find out.
Have look at iCanLocalize.
 
Share this answer
 
Comments
Member 10459321 8-Jan-14 22:03pm    
Thanks guys for your answers... :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900