Enhance internationalization support across UI components; integrate i18n for dynamic text rendering in menus, forms, and HUD elements. Update climate and weather modules to utilize localized labels and descriptions, ensuring a consistent user experience in multiple languages. Refactor related tests to validate translations and locale settings.
This commit is contained in:
@@ -80,6 +80,9 @@ ids on first use without a lock, and two threads racing there hand out the same
|
||||
|
||||
Keep wire DTOs in sync: `TheLivingWorld.Core.Contracts` and `src/TheLivingWorld.Web/src/api/types.ts`.
|
||||
|
||||
UI copy lives in `src/TheLivingWorld.Web/src/i18n/locales/`. `en.ts` is the schema; add a language by
|
||||
copying it and registering the file in `locales.ts`. The language switcher is built from that registry.
|
||||
|
||||
## Working conventions
|
||||
|
||||
- Prefer small, focused diffs. Do not rewrite unrelated code or add docs the user did not ask for.
|
||||
|
||||
Reference in New Issue
Block a user