-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
baseIssue related to base functionalityIssue related to base functionalityenhancementNew feature or requestNew feature or request
Milestone
Description
I am working on pretty big project reworking it from svetle-i18n and we are using locale when saving items to database, so previously we saved every locale in uppercase format and now if i implement this package it breaks everything across the project, because it transforms current locale to lowercase. I think that locale should be kept in same format as it is defined in loaders (key locale).
const config = {
parser: parser({ ignoreTag: true }),
loaders: [
{
locale: 'CS',
key: '',
loader: async () => (await import('localization/messages/cs.json')).default,
},
{
locale: 'EN',
key: '',
loader: async () => (await import('localization/messages/en.json')).default,
},
],
};
Metadata
Metadata
Assignees
Labels
baseIssue related to base functionalityIssue related to base functionalityenhancementNew feature or requestNew feature or request