Skip to content

(i18n): update all missing keys#54

Open
fvoci wants to merge 3 commits intosysblok:sysblok-devfrom
AISFlow:sysblok-dev
Open

(i18n): update all missing keys#54
fvoci wants to merge 3 commits intosysblok:sysblok-devfrom
AISFlow:sysblok-dev

Conversation

@fvoci
Copy link

@fvoci fvoci commented Mar 21, 2025

Summary

This PR adds a new TypeScript script (i18n-update.ts) that synchronises and sorts the translation files in the i18n directory based on the reference en.json file.

The script ensures that:

All keys from en.json are present in the other language files; any missing keys are automatically added.
The keys in each translation file are ordered according to the sequence defined in en.json.
Any additional keys not present in en.json are appended in alphabetical order.
Strict TypeScript types are applied throughout to enhance reliability and maintainability.
This update improves the consistency of i18n files and aids in maintaining translation accuracy across different languages.

Ticket Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants