Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ After editing content inputs, run `npm run port` to refresh the dev data.
- Run `bin/build-manual [path/to/omarchy/manual]` to refresh manual inputs and
images. The Astro site builds its table of contents and search index.

Social cards use the site's theme palettes and existing translations: 32 languages
Social cards use the site's theme palettes and existing translations: 33 languages
in all 22 themes. `npm run build:social` regenerates every 1200×630 PNG under
`public/brand/social/`; normal builds regenerate only the active language.
Each page selects a stable theme from its canonical path, and its locale selects
Expand Down
71 changes: 36 additions & 35 deletions docs/translations.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Translations

One site, shared components, separate static builds. English remains the source of truth. Each of the 32 languages has one primary address, either a registered domain or a language subdomain under omarchy.org. English uses omarchy.org. Manual links currently lead to the canonical English manual.
One site, shared components, separate static builds. English remains the source of truth. Each of the 33 languages has one primary address, either a registered domain or a language subdomain under omarchy.org. English uses omarchy.org. Manual links currently lead to the canonical English manual.

## Build and preview

Expand Down Expand Up @@ -57,40 +57,41 @@ The language menu shows colored country flags and preserves the current pathname

Cloudflare custom domains handle routing and TLS directly. Registered national domains use their assigned Cloudflare nameservers; language subdomains use the omarchy.org zone. Verify HTTPS and the page language before publishing a new primary address.

| Language | Primary address |
| ---------------- | ---------------------------------------- |
| English | [omarchy.org](https://omarchy.org) |
| Dansk | [omarchy.dk](https://omarchy.dk) |
| العربية | [omarchy.ae](https://omarchy.ae) |
| Suomi | [omarchy.fi](https://omarchy.fi) |
| Français | [omarchy.fr](https://omarchy.fr) |
| Ελληνικά | [omarchy.gr](https://omarchy.gr) |
| Magyar | [omarchy.hu](https://omarchy.hu) |
| हिन्दी | [omarchy.in](https://omarchy.in) |
| Íslenska | [omarchy.is](https://omarchy.is) |
| 日本語 | [omarchy.jp](https://omarchy.jp) |
| 한국어 | [omarchy.kr](https://omarchy.kr) |
| Español (México) | [omarchy.mx](https://omarchy.mx) |
| Filipino | [omarchy.ph](https://omarchy.ph) |
| Português | [omarchy.pt](https://omarchy.pt) |
| Svenska | [omarchy.se](https://omarchy.se) |
| Türkçe | [omarchy.tr](https://omarchy.tr) |
| Bosanski | [omarchy.ba](https://omarchy.ba) |
| Tiếng Việt | [vi.omarchy.org](https://vi.omarchy.org) |
| اردو | [ur.omarchy.org](https://ur.omarchy.org) |
| বাংলা | [bn.omarchy.org](https://bn.omarchy.org) |
| Català | [ca.omarchy.org](https://ca.omarchy.org) |
| සිංහල | [si.omarchy.org](https://si.omarchy.org) |
| தமிழ் | [ta.omarchy.org](https://ta.omarchy.org) |
| ไทย | [th.omarchy.org](https://th.omarchy.org) |
| Oʻzbekcha | [uz.omarchy.org](https://uz.omarchy.org) |
| Italiano | [it.omarchy.org](https://it.omarchy.org) |
| 简体中文 | [zh.omarchy.org](https://zh.omarchy.org) |
| Polski | [pl.omarchy.org](https://pl.omarchy.org) |
| Lietuvių | [lt.omarchy.org](https://lt.omarchy.org) |
| Gaeilge | [ga.omarchy.org](https://ga.omarchy.org) |
| Nederlands | [nl.omarchy.org](https://nl.omarchy.org) |
| Norsk | [omarchy.no](https://omarchy.no) |
| Language | Primary address |
| ------------------ | ---------------------------------------------- |
| English | [omarchy.org](https://omarchy.org) |
| Dansk | [omarchy.dk](https://omarchy.dk) |
| العربية | [omarchy.ae](https://omarchy.ae) |
| Suomi | [omarchy.fi](https://omarchy.fi) |
| Français | [omarchy.fr](https://omarchy.fr) |
| Ελληνικά | [omarchy.gr](https://omarchy.gr) |
| Magyar | [omarchy.hu](https://omarchy.hu) |
| हिन्दी | [omarchy.in](https://omarchy.in) |
| Íslenska | [omarchy.is](https://omarchy.is) |
| 日本語 | [omarchy.jp](https://omarchy.jp) |
| 한국어 | [omarchy.kr](https://omarchy.kr) |
| Español (México) | [omarchy.mx](https://omarchy.mx) |
| Filipino | [omarchy.ph](https://omarchy.ph) |
| Português | [omarchy.pt](https://omarchy.pt) |
| Português (Brasil) | [pt-br.omarchy.org](https://pt-br.omarchy.org) |
| Svenska | [omarchy.se](https://omarchy.se) |
| Türkçe | [omarchy.tr](https://omarchy.tr) |
| Bosanski | [omarchy.ba](https://omarchy.ba) |
| Tiếng Việt | [vi.omarchy.org](https://vi.omarchy.org) |
| اردو | [ur.omarchy.org](https://ur.omarchy.org) |
| বাংলা | [bn.omarchy.org](https://bn.omarchy.org) |
| Català | [ca.omarchy.org](https://ca.omarchy.org) |
| සිංහල | [si.omarchy.org](https://si.omarchy.org) |
| தமிழ் | [ta.omarchy.org](https://ta.omarchy.org) |
| ไทย | [th.omarchy.org](https://th.omarchy.org) |
| Oʻzbekcha | [uz.omarchy.org](https://uz.omarchy.org) |
| Italiano | [it.omarchy.org](https://it.omarchy.org) |
| 简体中文 | [zh.omarchy.org](https://zh.omarchy.org) |
| Polski | [pl.omarchy.org](https://pl.omarchy.org) |
| Lietuvių | [lt.omarchy.org](https://lt.omarchy.org) |
| Gaeilge | [ga.omarchy.org](https://ga.omarchy.org) |
| Nederlands | [nl.omarchy.org](https://nl.omarchy.org) |
| Norsk | [omarchy.no](https://omarchy.no) |

## Pointing a new domain to a language site

Expand Down
Binary file added public/brand/social/pt-BR/catppuccin-latte.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/catppuccin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/ethereal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/everforest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/flexoki-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/gruvbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/hackerman.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/kanagawa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/last-horizon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/lumon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/lupine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/matte-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/miasma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/nord.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/osaka-jade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/retro-82.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/ristretto.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/rose-pine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/solitude.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/tokyo-night.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/vantablack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/brand/social/pt-BR/white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions scripts/fonts/social/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"es-MX": "Latin",
"fil": "Latin",
"pt": "Latin",
"pt-BR": "Latin",
"sv": "Latin",
"tr": "Latin",
"vi": "Latin",
Expand Down
8 changes: 8 additions & 0 deletions src/i18n/locales.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@
"ogLocale": "pt_PT",
"manual": false
},
"pt-BR": {
"name": "Português (Brasil)",
"domain": "https://pt-br.omarchy.org",
"formatLocale": "pt-BR",
"ogLocale": "pt_BR",
"manual": false,
"flag": "BR"
},
"sv": {
"name": "Svenska",
"domain": "https://omarchy.se",
Expand Down
Loading
Loading