-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels