feat(i18n): add Portuguese (Portugal) translation (PT-pt)#177
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a complete Portuguese (pt) localization to the app’s i18n resources, expanding the set of auto-discovered locales under src/i18n/ without requiring runtime code changes.
Changes:
- Added
pttranslations for all existing UI namespaces:common,navigation,media,player,profiles,setup, andsettings. - Ensured translations preserve existing keys and interpolation tokens (e.g.,
{{name}},{{count}},{{minutes}}) consistent with theen/source.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/i18n/pt/common.json | Portuguese translations for shared/common UI labels. |
| src/i18n/pt/navigation.json | Portuguese translations for tab/screen navigation labels. |
| src/i18n/pt/media.json | Portuguese translations for browsing/search/library media UI. |
| src/i18n/pt/player.json | Portuguese translations for player controls and playback errors. |
| src/i18n/pt/profiles.json | Portuguese translations for profile management UI. |
| src/i18n/pt/setup.json | Portuguese translations for onboarding/setup wizard steps. |
| src/i18n/pt/settings.json | Portuguese translations across all settings sections (UI, playback, addons, Simkl, data, about, developer, remote control). |
Contributor
|
Awesome, thank you! I'm curious about the |
Kombustor
approved these changes
Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Added Portuguese (Portugal) (
pt) UI translation across all 7 namespaces:common.json— generic labels (cancel, loading, retry…)navigation.json— tab and screen namesmedia.json— media browsing, search, library UIplayer.json— playback controls and error messagesprofiles.json— profile management UIsetup.json— onboarding/setup wizardsettings.json— all settings screens (playback, subtitles, addons, Simkl, data, UI, about, remote control, developer)Why
Portuguese (Portugal) is not yet available as a UI language. As a native European Portuguese speaker I wanted to contribute a complete, accurate translation using European Portuguese (not Brazilian).
Notes
CONTRIBUTING.mden/source of truth — only values were translatedrequire.contextscan insrc/i18n/index.ts, so no config changes were neededHow I tested
pnpm lint— passespnpm test— 5 suites were already failing onmainbefore any changes(264/264 tests pass, the suite failures are pre-existing and unrelated to this PR)
is identical to the existing
en/andde/locales which already workissues during review