EddyVerbruggen / nativescript-localize

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

Nativescript and Angular - problem with a modla #56

Closed ivayloc closed 5 years ago

ivayloc commented 5 years ago

I am working on an app with lazy loading and I want to have localization functionality in a custom dialog window, I have placed the NativeScriptLocalizeModule in my featured module, the same module which my dialog is located in, but when the dialog is opened there are placeholders instead of the texts {{'translation.general.type_label' | L}} -> translation.general.type_label

Angular 7.0 Nativescript 5.0.1 Nativescript localize 4.0.1

ivayloc commented 5 years ago

I saw the workaround with the change detection, but for some reason it's not working for me

lfabreges commented 5 years ago

Can you create a repo to reproduce this issue, I just played a little with modal and localization is working as expected ?

ivayloc commented 5 years ago

@lfabreges sorry it is my mistake, I have missed the part with ... make sure it contains the application name to avoid any error.