EddyVerbruggen / nativescript-localize

Internationalization plugin for NativeScript using native capabilities of each platform
MIT License
79 stars 31 forks source link

iOS Localizable.strings are no longer updated #29

Closed arcovoltaico closed 6 years ago

arcovoltaico commented 6 years ago

Hi, I don't know if this issue is related to the one you post: https://github.com/NativeScript/nativescript-cli/issues/3251

My problem is that after several JSON updates, I notice that the app is not displaying the new values, although I always execute tns run ios --clean

I navigate to App_Resources/iOs and I find the LocalizableStrings not containing the last values...

Any way to solve this?

Thanks a lot

PD: I have found that removing and adding again the plugin solved the issue. It happened 2 times. Seems to be a weird behavior....

lfabreges commented 6 years ago

Seems like something hard to reproduce, if App_Resources isn't updated, it may be because the before-prepare hook isn't executed, next time take a look at the hooks directory and let me know if the localize before-prepare hook is still there. You may want to look at the console too to see if it is correctly executed on JSON update.

arcovoltaico commented 6 years ago

Next time happens I'll let you know, thanks!

lfabreges commented 6 years ago

Please open a new issue if you encounter this problem again, thanks.