CopyPastor

Detecting plagiarism made easy.

Score: 0.8083183169364929; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2014-01-27
by Nayan Rath

Original Post

Original - Posted on 2012-03-26
by Hulk



            
Present in both answers; Present only in the new answer; Present only in the old answer;

I think in Eclipse there sdk for specific languages---
Use this to change the language by programmatically--
Locale locale = new Locale("en_US"); Locale.setDefault(locale); Configuration config = new Configuration(); config.locale = locale; context.getApplicationContext().getResources().updateConfiguration(config, null);

Write the countrycode of language in place of "en_US" whatever language you want...like for japanese--"ja_JP" For Arabic--"ar" or check this link for code of country--
http://code.google.com/apis/igoogle/docs/i18n.html
And make a folder in res/values-ja for japanese or res/values-ar for arabic..
And make string.xml file And put the languages whatever you want on your layout.. It will fetch the default language from values folder otherwise you want it manually then it will fetch from your external folder values-ar etc. like...
Its example of res/values-ar for arabic--
<?xml version="1.0" encoding="UTF-8"?> <resources> <string name="spinner_label">تصفية حسب</string> <string name="app_name">2011 فرق</string> <string name="search">بحث :</string> </resource>

Hope It will help you..
Use this to change the language by programmatically--
Locale locale = new Locale("en_US"); Locale.setDefault(locale); Configuration config = new Configuration(); config.locale = locale; context.getApplicationContext().getResources().updateConfiguration(config, null);
Write the countrycode of language in place of "en_US" whatever language you want...like for japanese--"ja_JP" For Arabic--"ar" or check this link for code of country--
http://code.google.com/apis/igoogle/docs/i18n.html
And make a folder in **res/values-ja** for japanese or **res/values-ar** for arabic..
And make **string.xml file** And put the languages whatever you want on your layout.. It will fetch the default language from values folder otherwise you want it manually then it will fetch from your external folder values-ar etc. like...
Its example of **res/values-ar for arabic**--
<?xml version="1.0" encoding="UTF-8"?> <resources> <string name="spinner_label">تصفية حسب</string> <string name="app_name">2011 فرق</string> <string name="search">بحث :</string> </resource>
Hope It will help you..

        
Present in both answers; Present only in the new answer; Present only in the old answer;