Open robertobrogi opened 5 years ago
Hi all, just an info....
after init wich is the command for use i18n?? i have the preload method where i make the init i18n is possible to call 18n in create method?
` preload() { this.i18n.initialize( { fallbackLng: 'it', loadPath: "assets/i18n/{{lng}}/{{ns}}.json", debug: false, }, () => { console.log('I18nPlugin initialized!') }, ) }
create(){ this.add.text(10, 10, ??'Ui.Hello'??, { font: '48px Arial', fill: '#fff' }); }
`
big thanks
Hi all, just an info....
after init wich is the command for use i18n?? i have the preload method where i make the init i18n is possible to call 18n in create method?
` preload() { this.i18n.initialize( { fallbackLng: 'it', loadPath: "assets/i18n/{{lng}}/{{ns}}.json", debug: false, }, () => { console.log('I18nPlugin initialized!') }, ) }
`
big thanks