Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change language in other ViewControllers #101

Closed
Tindi opened this issue Jan 24, 2018 · 2 comments
Closed

Change language in other ViewControllers #101

Tindi opened this issue Jan 24, 2018 · 2 comments

Comments

@Tindi
Copy link

Tindi commented Jan 24, 2018

Hi @marmelroy! Thanks for this awesome library. I'm able to change the language on my Language ViewController and see the change. When I open my other ViewControllers the language hasn't changed on my set strings. When I quit the app and reopen they have changed though. How can I have other ViewControllers changed as well?

@VishnuMU
Copy link

Once the app loads a view and keeps in cache viewDidLoad is not called. That is why it is not refreshing in your view.

This is not an issue. You are not handling the view cycle properly especially for this library.

Call your set strings function on viewWillAppear().

@Tindi
Copy link
Author

Tindi commented Mar 3, 2018

Hi @VishnuMU I managed to do it way back when. I loaded them in viewWillAppear() thanks though.

@Tindi Tindi closed this as completed Mar 3, 2018
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

No branches or pull requests

2 participants