Skip to content

feat(i18n): add multi-language support (13 locales) and Simplified Chinese docs - #2

Open
akihofuyuka wants to merge 1 commit into
TEdit:mainfrom
akihofuyuka:feat/i18n-support
Open

akihofuyuka wants to merge 1 commit into
TEdit:mainfrom
akihofuyuka:feat/i18n-support

Conversation

@akihofuyuka

@akihofuyuka akihofuyuka commented Nov 8, 2026 •

Copy link
Copy Markdown

Description

Adds i18n infrastructure matching the 13 languages supported by TEdit 5, and provides complete Simplified Chinese (zh-Hans) documentation.

Changes

  • i18n Infrastructure:
    • Configured 13 locales in docusaurus.config.js (en, zh-Hans, zh-Hant, ar, de, es, fr, it, ja, ko, pl, pt-BR, ru) with fallback to English.
    • Added locale selector dropdown to the navbar.
    • Enabled bilingual search (en + zh) via @easyops-cn/docusaurus-search-local.
  • Simplified Chinese (zh-Hans) Documentation:
    • Fully translated all 38 documentation pages in i18n/zh-Hans/ covering all features, tools, panels, settings, and the full scripting API.
    • Aligned UI terms with TEdit's Language.zh-Hans.resx and official Terraria Chinese localization.
    • Localized UI component strings, navbar, and footer.

Verification

  • Tested with npm run build: all 13 locales build successfully with 0 errors and 0 broken links.
  • Verified site navigation and locale switching on local preview server.

@akihofuyuka
akihofuyuka force-pushed the feat/i18n-support branch 2 times, most recently from 1aab5fe to 50d8c7e Compare November 8, 2026 15:56
@akihofuyuka akihofuyuka changed the title feat: add i18n support matching TEdit's 13 languages with Simplified Chinese feat(i18n): add multi-language support (13 locales) and Simplified Chinese docs Nov 9, 2026
…inese documentation

- Configure i18n support in docusaurus.config.js matching TEdit 5's 13 locales: en, zh-Hans, zh-Hant, ar, de, es, fr, it, ja, ko, pl, pt-BR, ru.
- Add locale dropdown selector to navbar and enable bilingual local search.
- Translate all UI component strings and categories for Simplified Chinese.
- Provide complete, verified Simplified Chinese documentation (38 markdown pages) covering all TEdit 5 features, interface tools, sidebar panels, and full scripting API.
- Align terminology with TEdit's official Language.zh-Hans.resx and Terraria zh-Hans data.

This branch has not been deployed

No deployments
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.

1 participant