Press ESC to close

Swift MultiLanguage

Hello friends, in this article we will talk about how we can support more than one language in the applications we develop with Swift. First of all, we can start with why we need such a thing. People from different countries or different people in our country can use our applications. Another scenario is to use applications developed in a different country in our country. In short, in order to reach more people, we definitely need to add language support to the applications.

Mistakes when adding language support

There are serious problems in the language support of many applications. It creates great difficulties for the user in terms of UX. The most important of these; You can change the language from settings. When I open an application, I expect the language of the application to be the same as the language of my phone. In some scenarios, I want to change my phone to Turkish even though I use it in English. In general, I go to the profile tab or settings section and wait for it to be there. If it is not here, I understand that the application does not have language support, but recently I saw that the language changing section was changed within the application in the phone settings. This actually means a lot of effort and is quite difficult to find. Additionally, when I change the language from the settings, the application restarts and I lose where I left off.

Another mistake is; When I change the language from the language options in the application, the application starts from the Splash screen. Did the application crash? Or does it make me feel like I did something wrong?

How should it be done?

I think language options should be available either in the profile or in the settings section. When you change this option, it should change instantly in the application. In this way, the user can continue the session without interruption. There is a method I use for this, I think it works quite well. I will give an example from the My Plants application, which is currently available on the App Store. You can also access this application here.

 

As you can see in this video, this kind of experience is better for the user. If you have different opinions, we can improve or correct it if you send an e-mail or comment.

I will explain the implementation of this structure in another article. You can find more articles about Swift here.

If you have questions, you can reach us by e-mail or comment. Enjoy your work.

 

Leave a Reply

Your email address will not be published. Required fields are marked *