browsertrix/frontend/lit-localize.json
sua yoo 99ed08656a
feat: Localization workflow improvements (#2069)
- Extracts translatable text strings in pre-commit hook
- Updates ternary pluralization to use `pluralOf` instead
- Generates XLIFF for Spanish
2024-09-10 14:15:26 -07:00

16 lines
411 B
JSON

{
"$schema": "https://raw.githubusercontent.com/lit/lit/main/packages/localize-tools/config.schema.json",
"sourceLocale": "en",
"targetLocales": ["es"],
"tsConfig": "tsconfig.json",
"output": {
"mode": "runtime",
"outputDir": "src/__generated__/locales",
"localeCodesModule": "src/__generated__/locale-codes.ts"
},
"interchange": {
"format": "xliff",
"xliffDir": "xliff"
}
}