Skip to content

Add Brazilian Portuguese (pt-BR) interface language - #2

Merged
Buggo404 merged 2 commits into
Buggo404:mainfrom
stokeer:add-pt-br-translation
Nov 25, 2026
Merged

Buggo404 merged 2 commits into
Buggo404:mainfrom
stokeer:add-pt-br-translation

Conversation

@stokeer

@stokeer stokeer commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Adds a complete pt-BR translation of the interface.

  • All strings in i18n.ts translated (the Record<keyof typeof en, string> type guarantees none is missing; vue-tsc and vite build pass).
  • New "Português (Brasil)" entry in the View > Language menu and in Preferences; auto now picks pt for Portuguese Windows.
  • The page lang attribute and date formatting come from one locales table instead of repeated zh/en checks.
  • NSIS installer gets PortugueseBR.
  • Server: the Ask AI endpoint answers in Portuguese when the client sends lang: "pt" (falls back to English on an older server).

Windows terminology follows the Brazilian Windows UI (Restauração do Sistema, Agendador de Tarefas, etc.).

stokeer and others added 2 commits November 25, 2026 05:58
- Full pt-BR translation of every interface string
- Language picker entries (menu and preferences) and automatic detection of Portuguese Windows
- Page and date locale taken from one table instead of zh/en checks
- NSIS installer offers Portuguese (Brazil)
- Server: Ask AI answers in Portuguese when the client asks for pt
The list formatted its dates for Chinese or English only, so Portuguese showed English dates. The date column is a little wider by default: 'de out. de 2026' did not fit the old width.
@Buggo404
Buggo404 merged commit af2cb06 into Buggo404:main Nov 25, 2026
@Buggo404

Copy link
Copy Markdown
Owner

Merged, thank you — this is the first translation anyone has contributed, and it arrived complete, including the strings added in 0.1.5 the day before.

I checked it before merging: vue-tsc and vite build pass, all 336 keys are present with the same placeholders as the English text, and I ran the interface in Portuguese.

One commit was added on top of yours: the program list formatted its dates for Chinese or English only, so it now uses your locales table as well, and the date column is slightly wider by default so that "16 de out. de 2026" fits.

Three labels are cut off at the default sizes, in case you would like to shorten them in a follow-up: the "Rastreado" column heading, "Relatar um erro" in the sidebar, and the longer category names in the sidebar ("Aplicativos da Microsoft Store", "Gerenciadores de pacotes", "Instalados recentemente"). They are your call; you know which shorter wording reads naturally.

It will be in the next release.

@Buggo404

Copy link
Copy Markdown
Owner

0.1.6 is out with your translation: https://github.com/Buggo404/RID-Uninstaller/releases/tag/v0.1.6

Installed copies are offered the update on their next start. You are credited in the release notes and in the README.

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