when adding keys by hand, we didn't really know where to add them so that the i18n:extract command would not move them afterwards. Feels like this will help. I guess a CI thing checking if the locales file dont change after a push would be helpful
9 lines
244 B
JSON
9 lines
244 B
JSON
{
|
|
"defaultNamespace": "global",
|
|
"input": ["src/**/*.{ts,tsx}", "!src/styled-system/**/*", "!src/**/*.d.ts"],
|
|
"output": "src/locales/$LOCALE/$NAMESPACE.json",
|
|
"createOldCatalogs": false,
|
|
"locales": ["en", "fr", "de"],
|
|
"sort": true
|
|
}
|