nextlevelbuilder / nextlevelbuilder/goclaw
[Localization] Add Portuguese (Brazil) - pt-BR support
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3.6k
- Forks
- 1.1k
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 24
Description
Edit: I noticed the i18n infrastructure is already implemented. I've finished the full translation to pt-BR and I'm providing the files below.
Hello @nextlevelbuilder,
I have completed the full localization of GoClaw to Portuguese (Brazil) - pt-BR.
This contribution includes:
- 39 translation modules in
ui/web/src/i18n/locales/pt-BR/. - Updated
ui/web/src/i18n/index.tsto register the new locale and handle auto-detection. - Updated
ui/web/src/lib/constants.tsanden/topbar.jsonto include the language option in the UI selector.
The build has been tested and is working perfectly. I'm attaching a ZIP file with all the modified/new files to facilitate the integration.
Files included in the ZIP:
ui/web/src/i18n/locales/pt-BR/(New directory)ui/web/src/i18n/index.ts(Modified)ui/web/src/lib/constants.ts(Modified)ui/web/src/i18n/locales/en/topbar.json(Modified)
I hope this helps the community! Fixes #1112.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the attached files under ui/web/src/i18n/locales/pt-BR/ and compare the updates to ui/web/src/i18n/index.ts, ui/web/src/lib/constants.ts, and ui/web/src/i18n/locales/en/topbar.json. Run the UI build and verify that pt-BR is registered, auto-detection works, and the language appears in the selector with all 39 modules available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, localization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100