mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 10:49:20 +00:00
Add objectNotation
This commit is contained in:
@@ -16,7 +16,8 @@ class Locale {
|
||||
public getLocaleProvider(locale: string) {
|
||||
const i18n = new I18n();
|
||||
i18n.configure({
|
||||
directory: this.localePath
|
||||
directory: this.localePath,
|
||||
objectNotation: true
|
||||
})
|
||||
i18n.setLocale(locale);
|
||||
return i18n;
|
||||
|
||||
Reference in New Issue
Block a user