[WIP] Add initial Portuguese (pt) i18n setup (UI strings only)#915
[WIP] Add initial Portuguese (pt) i18n setup (UI strings only)#915oliverigor27 wants to merge 3 commits into
Conversation
Adds initial Portuguese (pt) internationalization setup focused on UI strings. This change introduces the pt locale and provides translations via code.json, enabling localized interface text without affecting routing or documentation content. Content translation and localized routes will be addressed in a follow-up change.
|
hey 👋 recently we switched from docusaurus to the Astro framework with Starlight, so the content and translation workflow are a bit different: https://starlight.astro.build/guides/i18n/ |
|
Thank you, @Solant I'm going to update. |
|
Hi! 👋 I've updated this PR to follow the recent migration from Docusaurus to Astro/Starlight. The original implementation was based on the previous i18n structure, so I rebased the work onto the new architecture and adapted it to the current localization workflow. I was quite busy with my day job over the last few months and wasn't able to continue the contribution as planned. Now that I have some time available again, I'll resume the Portuguese translation effort starting this week. At this stage, the goal is to establish Portuguese as a supported locale and provide the necessary documentation structure. I'll continue translating the content incrementally in follow-up contributions. |
|
Thanks so much! If there’s anything you need help with, please feel free to let me know. |
Adds initial Portuguese (
pt) localization supportThis PR introduces the initial Portuguese (
pt) locale for the new Astro + Starlight documentation site.The migration from Docusaurus to Astro/Starlight happened while this work was in progress, so the implementation was updated to follow the new internationalization structure.
🚧 Work in progress: this PR establishes the Portuguese locale and documentation structure. Content translation will be completed incrementally in follow-up contributions.
Scope
Included:
pt) locale to the Starlight configurationsrc/content/docs/ptNot included:
Background
The project recently migrated from Docusaurus to Astro/Starlight.
This contribution adapts the original Portuguese localization work to the new architecture and establishes the foundation for future translation efforts.
The goal is to make Portuguese available as a supported locale while allowing documentation pages to be translated progressively over time.
Changelog
ptlocale configuration inastro.config.mjssrc/content/docs/ptsrc/content/docs/pt/index.mdx)Progress
ptlocaleNotes for reviewers
By contributing to this project, I agree to abide by the Code of Conduct:
https://github.com/feature-sliced/documentation/blob/main/CODE_OF_CONDUCT.md