plugins
plugins copied to clipboard
[@nativescript/localize + more] Better Tutorials for these plugins [Enhancement]
I'm used to the old version of Localize but there's no step by step documentation on how to set it up via the plugins. The demo files really don't help since they don't have the same structure as a typical project.
I'm used to this in my typescript:
import { NativeScriptLocalizeModule } from 'nativescript-localize/angular'; // added to app.module
import localize from 'nativescript-localize'; // added to component where it's used
const textString = localize('@@Translated_Text');
But now it's to be used like a pipe? Can I still use it in the Typescript?
Is the en.default now a *.js file? I was using a *.json?
Just some clarification would be awesome here.