mirror of
https://github.com/unraid/api.git
synced 2026-01-02 06:30:02 -06:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - App-wide internationalization: dynamic locale detection/loading, many new locale bundles, and CLI helpers to extract/sort translation keys. - **Accessibility** - Brand button supports keyboard activation (Enter/Space). - **Documentation** - Internationalization guidance added to API and Web READMEs. - **Refactor** - UI updated to use centralized i18n keys and a unified locale loading approach. - **Tests** - Test utilities updated to support i18n and localized assertions. - **Chores** - Crowdin config and i18n scripts added; runtime locale exposed for selection. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
10 lines
297 B
YAML
10 lines
297 B
YAML
project_id_env: CROWDIN_PROJECT_ID
|
|
api_token_env: CROWDIN_API_TOKEN
|
|
base_path: .
|
|
preserve_hierarchy: true
|
|
files:
|
|
- source: /web/src/locales/en.json
|
|
translation: /web/src/locales/%two_letters_code%.json
|
|
- source: /api/src/i18n/en.json
|
|
translation: /api/src/i18n/%two_letters_code%.json
|