[Enhancement] Add localization/translation of internal labels #3694
Labels
enhancement
New feature or request
👶🏻 New
For new issues before prioritisation and refinement
NOT Prioritized
Issue not yet prioritized and added to a Milestone
NOT Tech refined
Needs Tech kickoff - solution outlined and agreed
Describe the enhancement
Some labels and text content inside components should have proper translations according to our supported locale.
For instance, the previous/next month buttons of
kirby-calendar
or the close button of the modal are hidden from consumers of the component, and we should add a sensible translation.Describe the solution you'd like
Should be researched! Shoelace has some considerations that are worth exploring: https://shoelace.style/getting-started/localization
Have you considered any alternatives?
If we choose to bake in the translations, consumers will not have to import translation assets into their own projects, and configure kirby. It will just work out of the box.
But a trade-off is that new or custom translations cannot be added easily by projects. Consider adding an option to override the default translations per locale.
Are there any additional context?
This is an initial list of identified translations:
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Refinement
Implementation
The contributor who wants to implement this issue should:
Review
Once the issue has been implemented and is ready for review:
The text was updated successfully, but these errors were encountered: