feat(admin): add Croatian translation#14919
feat(admin): add Croatian translation#14919luxapan wants to merge 3 commits intomedusajs:developfrom
Conversation
|
|
Someone is attempting to deploy a commit to the medusajs Team on Vercel. A member of the Team first needs to authorize it. |
|
Thanks! This PR only adds the Croatian admin translation and registers the locale, so it shouldn't require a version bump. Please authorize the Vercel preview if needed. |
|
Thank you for your contribution! 🎉 After an initial review, this PR looks good to us. Here's a summary: ✅ PR template is complete Notes:
A team member will do a final review before this is merged. We appreciate your patience! |
What
Adds Croatian (
hr) translation for the Medusa Admin dashboard.Why
Allows Croatian-speaking merchants and admins to use Medusa Admin in their native language.
How
packages/admin/dashboard/src/i18n/translations/hr.jsonhrinpackages/admin/dashboard/src/i18n/translations/index.tspackages/admin/dashboard/src/i18n/languages.tsTesting
Note
Low Risk
Low risk localization-only change that adds a new translation bundle and registers it; primary risk is missing/incorrect keys causing fallback strings or build issues if the JSON/locale import is misconfigured.
Overview
Adds Croatian (
hr) support to the Admin dashboard by introducing a fullhr.jsontranslation bundle and registering it in the i18n translation map.Updates the language selector configuration to include
Hrvatskiand wires in thedate-fnsCroatian locale for date formatting.Reviewed by Cursor Bugbot for commit e34e4f3. Bugbot is set up for automated code reviews on this repo. Configure here.