You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance the developer experience when working with internationalization (i18n) in Care by consolidating locale files and implementing a VS Code extension for easier management of translations.
Tasks
Merge Multiple JSON Files into One File per Locale
Combine all separate JSON files (e.g., Bed.json, User.json, etc.) into a single file for each locale.
Example: Create en.json, es.json, etc., containing all translations for each language.
Update the i18n configuration to use these consolidated files.
Improve Dev Experience for i18n Management
Explore existing extensions or consider building a VS Code extension with the following features:
a. Quick search for existing translations within the current locale file.
b. Easy creation of new translation keys directly from the code editor.
c. Automatic insertion of newly created keys into the appropriate locale file(s).
Acceptance Criteria
All locale-specific JSON files are consolidated into single files per language.
Enables quick search of existing translations.
Enables creation of new translation keys from codebase (JSX files).
Documentation is updated to reflect the new i18n workflow.
Additional Notes
Consider using a tool like i18next-parser to automatically extract translation keys from the codebase.
The text was updated successfully, but these errors were encountered:
Objective
Enhance the developer experience when working with internationalization (i18n) in Care by consolidating locale files and implementing a VS Code extension for easier management of translations.
Tasks
Merge Multiple JSON Files into One File per Locale
en.json
,es.json
, etc., containing all translations for each language.Improve Dev Experience for i18n Management
a. Quick search for existing translations within the current locale file.
b. Easy creation of new translation keys directly from the code editor.
c. Automatic insertion of newly created keys into the appropriate locale file(s).
Acceptance Criteria
Additional Notes
i18next-parser
to automatically extract translation keys from the codebase.The text was updated successfully, but these errors were encountered: