Skip to content

Feat/translate fi - #16746

Open
SanteriMoilanen wants to merge 2 commits into
medusajs:developfrom
SanteriMoilanen:feat/translate-fi
Open

Feat/translate fi#16746
SanteriMoilanen wants to merge 2 commits into
medusajs:developfrom
SanteriMoilanen:feat/translate-fi

Conversation

@SanteriMoilanen

Copy link
Copy Markdown

Adds Finnish translations for the admin dashboard, following the community translation contribution guide.

Summary

What — What changes are introduced in this PR?

Adds Finnish (fi) as a supported language for the Medusa Admin dashboard:

  • packages/admin/dashboard/src/i18n/translations/fi.json — full Finnish translation of en.json
  • packages/admin/dashboard/src/i18n/translations/index.ts — registers fi in the translation resources map
  • packages/admin/dashboard/src/i18n/languages.ts — adds fi to the language list (display name "Suomi", date_locale from date-fns/locale)
  • packages/admin/dashboard/src/i18n/plural-config.json — adds "fi": ["one", "other"] (Finnish uses the same two-form plural rule as English)

Why — Why are these changes relevant or necessary?

Finnish was not yet among the community-translated languages available in the Admin dashboard. This lets Finnish-speaking merchants use the Admin in their native language, following the existing admin translation contribution guide.

How — How have these changes been implemented?

Followed the documented translation contribution flow: copied en.json as the base, translated every string value to Finnish (keeping all keys, interpolation placeholders like {{count}}/{{title}}, and JSX-like tags such as <0>/<LinkComponent> untouched), then wired the new locale into index.ts, languages.ts, and plural-config.json the same way every other language is registered.

Testing — How have these changes been tested, or how can the reviewer test the feature?

  • yarn i18n:validate fi.json (run from packages/admin/dashboard) passes — confirms fi.json matches the translation schema and has the correct plural key forms for every pluralized string.
  • Verified fi.json has identical key structure to en.json (same leaf keys, no missing/extra entries).
  • Verified by native Finnish speaker.

Examples

Not applicable — this is a translation-only change, not a new API or component.

Checklist

Please ensure the following before requesting a review:

  • I have added a changeset for this PR
    • Added .changeset/fi-translation.md marking @medusajs/dashboard as a patch
  • The changes are covered by relevant tests
    • Covered by the existing validate-translations.spec.ts schema/plural-form tests, which run against all locale files
  • I have verified the code works as intended locally
    • Validated via yarn i18n:validate fi.json
    • Human verified admin panel Finnish translations
  • I have linked the related issue(s) if applicable
    • No issue was opened for this — translations are a self-contained, prescribed contribution (see the dedicated translation guide), not a "new feature" requiring upfront issue sign-off

Additional Context

Adds the 34th community-contributed language for the Admin dashboard. Reference: Translate Medusa Admin guide.

Adds Finnish translations for the admin dashboard, following the community translation contribution guide.
@SanteriMoilanen
SanteriMoilanen requested a review from a team as a code owner September 7, 2026 08:16
@changeset-bot

changeset-bot Bot commented Sep 7, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8c1ea0e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 83 packages
Name Type
@medusajs/dashboard Patch
@medusajs/draft-order Patch
@medusajs/loyalty-plugin Patch
@medusajs/admin-bundler Patch
@medusajs/medusa Patch
@medusajs/test-utils Patch
@medusajs/medusa-oas-cli Patch
integration-tests-http Patch
@medusajs/analytics Patch
@medusajs/api-key Patch
@medusajs/auth Patch
@medusajs/caching Patch
@medusajs/cart Patch
@medusajs/currency Patch
@medusajs/customer Patch
@medusajs/file Patch
@medusajs/fulfillment Patch
@medusajs/index Patch
@medusajs/inventory Patch
@medusajs/link-modules Patch
@medusajs/locking Patch
@medusajs/notification Patch
@medusajs/order Patch
@medusajs/payment Patch
@medusajs/pricing Patch
@medusajs/product Patch
@medusajs/promotion Patch
@medusajs/rbac Patch
@medusajs/region Patch
@medusajs/sales-channel Patch
@medusajs/search Patch
@medusajs/settings Patch
@medusajs/stock-location Patch
@medusajs/store Patch
@medusajs/tax Patch
@medusajs/translation Patch
@medusajs/user Patch
@medusajs/workflow-engine-inmemory Patch
@medusajs/workflow-engine-redis Patch
@medusajs/search-postgres Patch
@medusajs/oas-github-ci Patch
@medusajs/cache-inmemory Patch
@medusajs/cache-redis Patch
@medusajs/event-bus-local Patch
@medusajs/event-bus-redis Patch
@medusajs/analytics-local Patch
@medusajs/analytics-posthog Patch
@medusajs/auth-emailpass Patch
@medusajs/auth-github Patch
@medusajs/auth-google Patch
@medusajs/auth-oidc Patch
@medusajs/caching-redis Patch
@medusajs/file-local Patch
@medusajs/file-s3 Patch
@medusajs/fulfillment-manual Patch
@medusajs/locking-postgres Patch
@medusajs/locking-redis Patch
@medusajs/notification-local Patch
@medusajs/notification-sendgrid Patch
@medusajs/payment-stripe Patch
@medusajs/core-flows Patch
@medusajs/framework Patch
@medusajs/instantsearch-adapter Patch
@medusajs/js-sdk Patch
@medusajs/modules-sdk Patch
@medusajs/orchestration Patch
@medusajs/query Patch
@medusajs/types Patch
@medusajs/utils Patch
@medusajs/workflows-sdk Patch
create-medusa-app Patch
@medusajs/http-types-generator Patch
@medusajs/cli Patch
@medusajs/deps Patch
@medusajs/eslint-plugin Patch
@medusajs/telemetry Patch
@medusajs/admin-sdk Patch
@medusajs/admin-shared Patch
@medusajs/admin-vite-plugin Patch
@medusajs/icons Patch
@medusajs/toolbox Patch
@medusajs/ui-preset Patch
@medusajs/ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@medusa-os-bot

medusa-os-bot Bot commented Sep 7, 2026

Copy link
Copy Markdown

Thanks for the contribution! Initial automated review looks good.

The PR adds a complete Finnish (fi) locale to the Admin dashboard. The translation file is correctly named (fi.json), and spot-checks across multiple sections confirm the values are legitimate Finnish — not copies of English text. The required wiring changes (languages.ts, translations/index.ts, plural-config.json) all follow the established pattern for other languages. Finnish plural forms (["one", "other"]) are correct. A changeset for @medusajs/dashboard at patch level is included. No security issues, performance issues, or bugs were found. PR template is fully filled out.

Triggered by: new PR opened

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant