Skip to content

feat(i18n): add Portuguese (Portugal) locale - #9

Merged
vladjerca merged 3 commits into
trakt:mainfrom
salvadord18:main
Jul 16, 2026
Merged

feat(i18n): add Portuguese (Portugal) locale#9
vladjerca merged 3 commits into
trakt:mainfrom
salvadord18:main

Conversation

@salvadord18

@salvadord18 salvadord18 commented Jul 14, 2026

Copy link
Copy Markdown

Adds Portuguese (Portugal) localization support using the existing PT-PT
translations where available, with the remaining strings translated
consistently.

Changes

  • Add pt-PT translations
  • Register the new locale in the application settings
  • Expose Portuguese (Portugal) in the locale picker
  • Update the locale map
  • Preserve translation placeholders and inline markup from the English source

Testing

  • Validated the JSON structure
  • Confirmed that all translation placeholders match the English source
  • Confirmed that inline markup matches the English source
  • Started the application locally using the development server
  • Manually verified that the pt-PT locale loads successfully
  • Manually verified the Portuguese (Portugal) translations on the unauthenticated profile page

The authenticated interface and locale picker could not be verified because
local Trakt API credentials were not configured.

Screenshots

Before — Portuguese (Portugal) unavailable

Portuguese (Portugal) is not currently available in the language selector on
the deployed website.

tvtime_trakt_language_selection_pt_br

Current deployment — Portuguese (Brazil)

The deployed website currently displays the unauthenticated profile page using
Portuguese (Brazil), as Portuguese (Portugal) is not available.

tvtime_trakt_profile_pt_br

After — Portuguese (Portugal) local implementation

The pt-PT locale loads successfully and the Portuguese (Portugal)
translations are displayed on the unauthenticated profile page in the local
development build.

tvtime_trakt_profile_pt_local

Documentation

No documentation changes are required for this localization update. The new
locale follows the same structure and conventions as the existing supported
locales.

Pull Request Checklist

Before you dim the lights and raise the curtain on your cinematic masterpiece,
make sure your pull request has passed these critical checks:

  • Clear and Concise Title: Does your title shine a spotlight on the
    essence of your changes?
  • Detailed Description: Have you set the stage with a compelling
    narrative that explains the "why" and "how" of your changes?
  • Screenshots/Videos: Have you captured the magic with visual evidence
    that showcases your changes in action?
  • Tests: Has your code undergone a rigorous dress rehearsal with unit
    tests to ensure it performs flawlessly under pressure?
  • Coding Standards: Does your code adhere to the project's style guide,
    ensuring it's as elegant as a film score?
  • Commit Messages: Are your commit messages clear and concise, guiding
    the audience through the evolution of your code?
  • Documentation: If your changes impact the script, have you updated the
    documentation accordingly?
  • Code Review: Are you prepared to embrace feedback from the discerning
    eyes of the project maintainers and fellow contributors?

Adds Portuguese (Portugal) localization support using the existing
PT-PT translations where available, with the remaining strings
translated consistently.

- Add pt-PT translations
- Register the new locale in the application settings
- Expose Portuguese (Portugal) in the locale picker
- Update the locale map
@vladjerca
vladjerca merged commit bfcf745 into trakt:main Jul 16, 2026
2 of 4 checks passed
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