Skip to content

Conversation

@okankocyigit
Copy link

@okankocyigit okankocyigit commented Jan 25, 2017

Using Localize.setCurrentLanguage("fr") doesn't affect storyboard localization "AppleLanguages" was not set.

#61

@argestes
Copy link

argestes commented Mar 8, 2017

@okankocyigit Doesn't seem like it's updating storyboards

@okankocyigit
Copy link
Author

okankocyigit commented Mar 11, 2017

@argestes

Currently if you are using Localize-swift with storyboard localization, when you select a language than restart your app you will see that storyboard localization did not change. Here is a sample scenario,
http://i.imgur.com/s3A3dov.mp4

This is a problem beacuse you have selected another language. When we set "AppleLanguages" in Localize-Swift, result is here,

http://i.imgur.com/A63FEYd.mp4

PS: if you are using storyboard localization you have to refresh current controller or tell user to restart your app to get localize changes for button, label etc.

@rlam3
Copy link

rlam3 commented Apr 5, 2017

Any updates on this? Is there a workaround? Thanks!

@saeedHjzd
Copy link

Well i used several storyboards, one for each language.When user changes the language ,I reset the rootViewController and present the storyboard of selected language.
It doesn't need to restart the app, it's easy to localize and translate, you can even have different UI (if you want to).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants