Skip to content

feat(i18n): add Estonian language support#2611

Open
Sym-jay wants to merge 1 commit intoseerr-team:developfrom
Sym-jay:feature-estonian-language
Open

feat(i18n): add Estonian language support#2611
Sym-jay wants to merge 1 commit intoseerr-team:developfrom
Sym-jay:feature-estonian-language

Conversation

@Sym-jay
Copy link

@Sym-jay Sym-jay commented Mar 1, 2026

Overview

Adds Estonian language support infrastructure to the application.

Changes

  • Updated language type definitions to include 'et' locale
  • Added Estonian to TVDB language mapping (est)
  • Translations to be added via Weblate at https://translate.seerr.dev

Note

This PR removes the translation file per maintainer feedback. Translations should be managed through Weblate to avoid breaking the translation workflow.

Summary by CodeRabbit

  • New Features
    • Added Estonian (Eesti) locale across the app: UI language, locale fallbacks, and translations are now available.
    • Updated language handling so Estonian preferences are recognized and mapped for external content lookups.

@Sym-jay Sym-jay requested a review from a team as a code owner March 1, 2026 13:51
@coderabbitai
Copy link

coderabbitai bot commented Mar 1, 2026

📝 Walkthrough

Walkthrough

Adds Estonian locale support: inserts et: 'est' into TMDB→TVDB mapping, includes 'et' in AvailableLocale type, registers et in frontend language context, and loads et translations in the app bootstrap.

Changes

Cohort / File(s) Summary
API mapping & types
server/api/tvdb/interfaces.ts, server/types/languages.d.ts
Added et: 'est' to TMDB_TO_TVDB_MAPPING and included 'et' in the AvailableLocale union type.
Frontend language registration
src/context/LanguageContext.tsx, src/pages/_app.tsx
Added et entry to availableLanguages and added locale import/fallback for et in the app loader to enable Estonian translations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related issues

Poem

🐰✨ A tiny hop, a new "et" to chart,
Maps and types now speak from the heart.
Frontend learns words, the app hums a tune,
Eesti joins morning beneath the moon.

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat(i18n): add Estonian language support' accurately summarizes the main objective of the changeset, which is to add infrastructure support for the Estonian language across multiple files and systems.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Member

@gauthier-th gauthier-th left a comment

Choose a reason for hiding this comment

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

You forgot to add the new language to src/context/LanguageContext.tsx and src/pages/_app.tsx

@Sym-jay Sym-jay force-pushed the feature-estonian-language branch from e0d7499 to 0ddf374 Compare March 2, 2026 04:45
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/pages/_app.tsx`:
- Around line 49-50: The switch in src/pages/_app.tsx includes a case 'et' that
dynamically imports '../i18n/locale/et.json', but that file is missing; either
add a new JSON file at src/i18n/locale/et.json containing the Estonian
translations (matching the shape of the other locale files) or remove the case
'et' from the switch in _app.tsx so the code does not attempt the failing
dynamic import; ensure whichever path you choose keeps the switch/default
behavior consistent with other locales.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e0d7499 and 0ddf374.

📒 Files selected for processing (4)
  • server/api/tvdb/interfaces.ts
  • server/types/languages.d.ts
  • src/context/LanguageContext.tsx
  • src/pages/_app.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • server/api/tvdb/interfaces.ts

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.

4 participants