Skip to content

feat(i18n): introduce native locale catalogs and Brazilian Portuguese - #1058

Closed
alvarolordelo wants to merge 1 commit into
FlashML-org:mainfrom
alvarolordelo:feat/native-i18n
Closed

alvarolordelo wants to merge 1 commit into
FlashML-org:mainfrom
alvarolordelo:feat/native-i18n

Conversation

@alvarolordelo

Copy link
Copy Markdown

Change / 改动

Related to #1056. This draft is for scope discussion under CONTRIBUTING.md.

  • Add English, Simplified Chinese, and Brazilian Portuguese JSON catalogs with 143 keys per locale.
  • Generate a synchronous locale module with locale resolution and English fallback, preserving compatibility with existing English/Chinese inline strings during incremental migration.
  • Integrate Brazilian Portuguese into native Appearance/Settings and migrate initial navigation and generation labels.

This is an incremental native locale foundation; specialized screens and strings still need translation. It is separate from the Task Manager extension in #1054 and PR #1057.

Validation / 验证

  • 18 Node tests passed for this native i18n branch.
  • Visual acceptance for this branch remains incomplete. The pt-BR/en-US/zh-CN first-launch Chrome smoke tests belong to the separate Task Manager extension, not this branch.
  • Other platforms and destructive actions have not been validated.

AI assistance

AI tools assisted with implementation and documentation. Please agree on the scope in #1056 before this draft is marked ready for review.

Centralize locale negotiation and introduce stable translation keys with English fallback. Keep existing English/Chinese inline calls compatible during an incremental migration.

Add Portuguese to the native appearance selector, migrate navigation and video generation labels, bundle three JSON catalogs without runtime dependencies, and add regression tests and contributor documentation.

Developed with AI assistance. Initial localization coverage; browser acceptance and remaining specialized strings require follow-up.
@KBRASK

KBRASK commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Thank you for the pull request. Rather than merging it as it is, we are building language support across the whole FreeVideo interface and drawing on its approach; our full reply is in #1056.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants