🌐(frontend) sort extrated locales to help prevent conflicts

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
This commit is contained in:
Emmanuel Pelletier
2024-07-21 17:23:42 +02:00
parent 0cf4960969
commit efb5ac5834
7 changed files with 26 additions and 25 deletions

View File

@@ -3,5 +3,6 @@
"input": ["src/**/*.{ts,tsx}", "!src/styled-system/**/*", "!src/**/*.d.ts"],
"output": "src/locales/$LOCALE/$NAMESPACE.json",
"createOldCatalogs": false,
"locales": ["en", "fr", "de"]
"locales": ["en", "fr", "de"],
"sort": true
}