Logo
Explore Help
Sign In
studio/meet
2
0
Fork 0
You've already forked meet
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
fbee41f5dd768833f0bd6cdc4627970fc8a6fa74
meet/src/frontend/i18next-parser.config.json

9 lines
244 B
JSON
Raw Normal View History

🌐(frontend) init i18next - dynamically load locale files for smaller footprint - have a namespace for each feature. At first I'd figured I'd put each namespace in its correct feature folder but it's kinda cumbersome to manage if we want to link that to i18n management services like crowdin…
2024-07-18 13:59:50 +02:00
{
"defaultNamespace": "global",
"input": ["src/**/*.{ts,tsx}", "!src/styled-system/**/*", "!src/**/*.d.ts"],
"output": "src/locales/$LOCALE/$NAMESPACE.json",
"createOldCatalogs": false,
🌐(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
2024-07-21 17:23:42 +02:00
"locales": ["en", "fr", "de"],
"sort": true
🌐(frontend) init i18next - dynamically load locale files for smaller footprint - have a namespace for each feature. At first I'd figured I'd put each namespace in its correct feature folder but it's kinda cumbersome to manage if we want to link that to i18n management services like crowdin…
2024-07-18 13:59:50 +02:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 66ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API