Skip to content

Add Finnish translation - #1313

Open
niilorm wants to merge 2 commits into
HiEventsDev:developfrom
niilorm:pr/finnish-translation
Open

Add Finnish translation#1313
niilorm wants to merge 2 commits into
HiEventsDev:developfrom
niilorm:pr/finnish-translation

Conversation

@niilorm

@niilorm niilorm commented Aug 12, 2026

Copy link
Copy Markdown

What's new

Finnish language support

Added complete Finnish translation across the entire platform following PR #1210:

  • Backend: backend/lang/fi.json โ€” fully translated
  • Frontend: frontend/src/locales/fi.po โ€” extracted and fully translated
  • Config: Added fi to Locale.php enum, lingui.config.ts, locales.ts, dateLocales.ts, and LanguageSwitcher
  • README: Added README.fi.md and linked it from all other translated READMEs

Filled in all resulting msgstr entries for Finnish for other languages.

After:

  • All locales โ€” 0 missing โœ… (except ru which was already untranslated)

Files changed

  • backend/app/Locale.php โ€” added FI enum case
  • backend/lang/fi.json โ€” new file
  • frontend/lingui.config.ts โ€” added "fi" locale
  • frontend/src/locales.ts โ€” added fi to type, array, flag map, name map
  • frontend/src/locales/fi.po โ€” new file
  • frontend/src/locales/fi.js โ€” compiled catalog
  • frontend/src/utilites/dateLocales.ts โ€” added fi dayjs import + format
  • frontend/src/components/common/LanguageSwitcher/index.tsx โ€” added case "fi"
  • frontend/src/locales/{sk,de,fr,nl,hu,pt,pt-br,vi,tr,se,zh-cn,zh-hk,es,it,pl}.po โ€” filled missing translations
  • frontend/src/locales/*.js โ€” recompiled catalogs
  • README.fi.md โ€” new file
  • README.md + all other README.*.md โ€” added Finnish link to language list

Testing

  • yarn messages:extract shows 0 missing for all locales (except ru)
  • yarn messages:compile completes successfully
  • Finnish locale selectable in language switcher with ๐Ÿ‡ซ๐Ÿ‡ฎ flag

Checklist

  • I have read the contributing guidelines.
  • My code follows the coding standards of the project.
  • I have tested my changes, and they work as expected.
  • I understand that this PR will be closed if I do not follow the contributor guidelines and if this PR template is left unedited.

@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA โœ๏ธ โœ…
Posted by the CLA Assistant Lite bot.

@daveearley

Copy link
Copy Markdown
Contributor

Thank you very much for this contribution!

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