Closed ogallagher closed 6 months ago
I'm using i18n as a frontend dependency using legacy syntax (load into global scope as i18n).
i18n
When I run
let translator = i18n.create({values: {k1: 'v1'}}) translator.extend((a, b, c, d) => {return 'example extension'}) // fails here
I see
TypeError: translator.extend is not a function
So it appears that the extension syntax as documented will not work.
I'm using i18n as a frontend dependency using legacy syntax (load into global scope as
i18n
).When I run
I see
So it appears that the extension syntax as documented will not work.