简体   繁体   中英

Change language when button pressed Xcode

I want to make my app multi-language. I know how to do this. But the problem is that, the user should first change the phones languages before the translation will work.

What I want to do is the following: I have 3 buttons. Dutch,English,French. When a user presses a button. The language of the app is changed to the appropriate language. But the phone's language keeps the same.

Hope anyone can help me!

Kind regards

But the different translations into different files. Load the needed file according to the button the user touched.

If this does not answer your question, please be more specific what exactly you problem is.

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