Skip to content

feat: add Slovak (sk) locale translation#3762

Open
lukasbelak wants to merge 2 commits intodfinity:mainfrom
lukasbelak:feat/add-slovak-locale
Open

feat: add Slovak (sk) locale translation#3762
lukasbelak wants to merge 2 commits intodfinity:mainfrom
lukasbelak:feat/add-slovak-locale

Conversation

@lukasbelak
Copy link
Copy Markdown

Motivation

Internet Identity currently lacks Slovak language support. As discussed in the multi-language support forum thread, multilingual support is critical for broader adoption. Slovak is spoken by ~5 million native speakers.

Changes

  • Added sk.po with complete Slovak translation of all 398 UI strings
  • Slovak plural forms configured (nplurals=3)
  • Registered "sk" in both availableLocales and enabledLocales in locale.constants.ts

Tests

  • Translation file follows the same .po format as existing locales (de, es, fr, pl, etc.)
  • All placeholders ({0}, {name}, <0>...</0>) verified to match source strings
  • Slovak is LTR, no changes needed in rtlLocales

Add complete Slovak language support for Internet Identity UI.

- Full translation of all 398 UI strings
- Slovak plural forms configured (nplurals=3)
- Related discussion: https://forum.dfinity.org/t/intertnet-identity-multi-language-support/42013
feat: register Slovak (sk) in available and enabled locales
Copilot AI review requested due to automatic review settings April 6, 2026 14:59
@lukasbelak lukasbelak requested a review from a team as a code owner April 6, 2026 14:59
@cla-idx-bot
Copy link
Copy Markdown

cla-idx-bot bot commented Apr 6, 2026

Dear @lukasbelak,

In order to potentially merge your code in this open-source repository and therefore proceed with your contribution, we need to have your approval on DFINITY's CLA.

If you decide to agree with it, please visit this issue and read the instructions there. Once you have signed it, re-trigger the workflow on this PR to see if your code can be merged.

— The DFINITY Foundation

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds Slovak language support to Internet Identity by introducing a complete translation file and registering the new locale in the application configuration. The implementation follows the existing pattern used for other supported languages (German, Spanish, French, Polish, Russian, etc.) and includes proper pluralization rules for Slovak.

Changes:

  • Added src/frontend/src/lib/locales/sk.po with 398 translated UI strings for Slovak language
  • Registered "sk" locale in both availableLocales and enabledLocales arrays in locale.constants.ts

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/frontend/src/lib/locales/sk.po Complete Slovak translation with proper plural forms (nplurals=3) and all placeholders preserved
src/frontend/src/lib/constants/locale.constants.ts Added "sk" to both availableLocales and enabledLocales arrays in alphabetical order

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants