Skip to content

Add Brazilian Portuguese translation - #347

Closed
daniel-felipe wants to merge 6 commits into
omacom:masterfrom
daniel-felipe:add-pt-br-locale
Closed

daniel-felipe wants to merge 6 commits into
omacom:masterfrom
daniel-felipe:add-pt-br-locale

Conversation

@daniel-felipe

Copy link
Copy Markdown

Registers the Brazilian Portuguese (pt-BR) edition on https://pt-br.omarchy.org and translates the UI message catalogue, main-page prose blocks and all 26 news articles into Brazilian usage. Dates and numbers format with pt-BR. Generates the social cards and maps the language to the bundled Latin font subset.

pt stays European Portuguese. This is a separate edition rather than contentLocale: "pt" because the two vary in everyday vocabulary (arquivo/ficheiro, tela/ecrã, mouse/rato) and in address (você vs tu), following the precedent set by es-MX. News keeps the original slugs, so switching languages lands on the same article.

Patronage amounts use an explicit currency, matching fr, it and es-MX.

Verified with npm run check:translations -- pt-BR --strict-site --strict-news, npm run lint, npm run typecheck, npm test and npm run build:locale -- pt-BR.

The domain still needs its Worker deployed on your side.

Brazilian Portuguese joins as its own edition at pt-br.omarchy.org,
following the regional-variant pattern already used by es-MX.

All 341 UI messages are translated in Brazilian usage (arquivo, tela,
mouse, notebook, você) rather than reusing the European Portuguese
catalogue. Patronage amounts use an explicit currency, matching fr, it
and es-MX rather than the bare dollar sign left in pt.
All 130 prose blocks, with links, IDs, inline markup and HTML entities
preserved. Patronage tiers use an explicit currency, as in the message
catalogue.
All 26 articles are translated from the English source with their
original slugs, link and image references, and source hashes. Register
pt-BR in the social-card font manifest so its Latin cards render, and
add the 22 generated theme cards.

Verified with: npm run check:translations -- pt-BR --strict-site
--strict-news, npm run lint, npm run typecheck, npm test, and
npm run build:locale -- pt-BR.
Bump the social-card and primary-address counts from 31 to 32 and add
the Português (Brasil) row, as the Norwegian edition did when it landed.
Prettier re-pads the address table because the new name is the widest
cell.

Also align the DigitalOcean headline in the message catalogue with the
one in news.json: both render on the pt-BR homepage, so the banner and
the news teaser disagreed on gender for the same sentence.
Resolve the address table conflict in docs/translations.md: keep the
Bosanski row master added and the Português (Brasil) row from this
branch. Both sides bumped the language count to 32, so it is 33 now in
README.md and docs/translations.md.
Ten news articles published while the PR was open (Greptile, Namespace,
SpaceXSI, OrcaRouter, Alibaba Cloud, Brian Cartmell and American Cloud,
the HackerOne bug bounty, ThePrimeagen, 0xSero and Omarchy Dragon), the
new UI messages and page prose (security reporting, patron tiers, the
0xSero sponsorship), and updates to six articles whose English changed:
revised totals, the Omarchy M driver team, Emir's start date, and the
patron lists and updates in the launch post.

npm run check:translations -- pt-BR --strict-site --strict-news passes.
@omarchybot

Copy link
Copy Markdown
Collaborator

Closing in favour of #377, which brings Brazilian Portuguese to omarchy.org as one of 50 language editions alongside the rest of the site's language work, so merging this as well would add the edition twice. Thank you for translating it — if you read Brazilian Portuguese, the most useful next step is a look at the Brazilian Portuguese edition in #377, or a pull request with corrections once it is live.

Checked by Claude Opus 5.5 against the language registry on master and on #377; no second model reviewed this.

@omarchybot omarchybot closed this Oct 22, 2026
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