简体   繁体   中英

I am using translation in my android app. Is there any way to force use english string using the getString method?

I am using translation in my android app. Is there any way to force use english string using the getString method?? There are certain strings which I wish to use only in english but they are now translated.

You could delete the translation and put this strings in the strings.xml under the /values folder, to be used as a default fore every language.

Also, you could force a change in the Locale and modify it to use english as a language, but it's not really clean.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM