中英文本地化应用

时间:2022-09-10 18:05:16

I am creating an application in which I want to do localization in two languages:

我正在创建一个应用程序,我想用两种语言进行本地化:

1)English
2)Chinese

I have done the whole app with a simple localization method and it works fine for me.

我用一个简单的本地化方法完成了整个应用程序,它对我来说很好。

But now problem is, if the user chooses his/her language through option of language selection in application as a Chinese or English it will convert the whole application as per language without quit or restart the application.

但现在的问题是,如果用户通过选项中的语言选择选择他/她的语言作为中文或英文,它将根据语言转换整个应用程序而不退出或重新启动应用程序。

Any suggestions ???

有什么建议么 ???

1 个解决方案

#1


1  

It is possible and quite easy, have a look at How to force NSLocalizedString to use a specific language

这很容易,看看如何强制NSLocalizedString使用特定的语言

#1


1  

It is possible and quite easy, have a look at How to force NSLocalizedString to use a specific language

这很容易,看看如何强制NSLocalizedString使用特定的语言