Repository navigation
Add Brazilian Portuguese translation - #347
Closed
daniel-felipe wants to merge 6 commits into
Closed
daniel-felipe wants to merge 6 commits into
daniel-felipe wants to merge 6 commits into
Conversation
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.
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 |
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.
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.ptstays European Portuguese. This is a separate edition rather thancontentLocale: "pt"because the two vary in everyday vocabulary (arquivo/ficheiro,tela/ecrã,mouse/rato) and in address (vocêvstu), following the precedent set byes-MX. News keeps the original slugs, so switching languages lands on the same article.Patronage amounts use an explicit currency, matching
fr,itandes-MX.Verified with
npm run check:translations -- pt-BR --strict-site --strict-news,npm run lint,npm run typecheck,npm testandnpm run build:locale -- pt-BR.The domain still needs its Worker deployed on your side.