mirror of
https://github.com/openclaw/openclaw.ai.git
synced 2026-07-15 12:25:40 -04:00
[PR #22] [CLOSED] [WIP] I18n translations to EN and PT-BR #28
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/openclaw/openclaw.ai/pull/22
Author: @thiagobutignon
Created: 1/29/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
6c54f22chore: add paraglide for i18n translation📊 Changes
22 files changed (+14397 additions, -6369 deletions)
View changed files
📝
astro.config.mjs(+17 -0)➕
messages/en.json(+107 -0)➕
messages/pt-br.json(+107 -0)📝
package-lock.json(+6590 -2976)📝
package.json(+12 -3)📝
pnpm-lock.yaml(+2648 -17)➕
project.inlang/settings.json(+15 -0)➕
src/components/templates/IntegrationsPage.astro(+1208 -0)➕
src/components/templates/LandingPage.astro(+2574 -0)➕
src/components/templates/ShoutoutsPage.astro(+344 -0)➕
src/components/templates/ShowcasePage.astro(+551 -0)➕
src/data/chat-providers.json(+107 -0)📝
src/layouts/Layout.astro(+49 -1)➕
src/middleware.ts(+12 -0)➕
src/pages/[lang]/index.astro(+12 -0)➕
src/pages/[lang]/integrations.astro(+12 -0)➕
src/pages/[lang]/shoutouts.astro(+12 -0)➕
src/pages/[lang]/showcase.astro(+12 -0)📝
src/pages/index.astro(+2 -1996)📝
src/pages/integrations.astro(+2 -707)...and 2 more files
📄 Description
I refactor the frontend to accept English and Brazilian Portuguese.
The used Paraglide.JS to do the translations and create a component to choose from EN to PT-BR. It's possible to translate to another languages later.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.