Closed RollinSafary closed 6 years ago
@RollinSafary this issue is not related to this plugin. You should move this issue to the https://github.com/i18next/i18next repo
issue in https://github.com/i18next/i18next, answer: https://www.i18next.com/overview/configuration-options I think it's mean that, there is a need to configure plugin :D
So that is simple just change nsSeparator in config ;)
create () {
this.i18n.initialize(
{
fallbackLng: 'en',
loadPath: 'assets/i18n/{{lng}}/{{ns}}.json',
debug: false,
nsSeparator: '$'
},
function () {
console.log('I18nPlugin initialized!')
},
)
}
if you've
using
text
in creating text object will show only text after:
const textObject = this.add.text(0, 0, text)
result is123456
if we remove
:
from string, everything works