Skip to content

merge#366

Closed
TrueBankai416 wants to merge 5 commits into
l10n_mainfrom
main
Closed

merge#366
TrueBankai416 wants to merge 5 commits into
l10n_mainfrom
main

Conversation

@TrueBankai416
Copy link
Copy Markdown
Owner

No description provided.

TrueBankai416 and others added 5 commits January 30, 2026 19:20
Added a localized badge to the README.
- Add mdx_v1_2 parser for compatibility with Docusaurus MDX syntax
- Separate MDX and MD file handling with ignore rules
- Add comments for clarity
- Use proper YAML boolean for preserve_hierarchy
- Map pt-BR (Portuguese, Brazilian) to preserve hyphenated locale code
- Map zh-CN (Chinese Simplified) to preserve region code
- Map zh-TW (Chinese Traditional) to preserve region code
- Apply languages_mapping to all file sources
Copilot AI review requested due to automatic review settings January 31, 2026 01:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request improves the Crowdin localization configuration and adds a localization status badge to the README.

Changes:

  • Secured Crowdin API token by replacing hardcoded value with environment variable reference
  • Enhanced Crowdin configuration with better formatting, comments, language mappings, and proper MDX file type handling
  • Added Crowdin localization status badge to README

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
crowdin.yml Comprehensive configuration improvements including security fix (environment variable for API token), proper file type handling for MDX files, language mappings for future translations, and extensive documentation comments
README.md Added Crowdin localization status badge to display translation progress

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crowdin.yml
- source: /docs/**/*.md
translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name%
languages_mapping: *languages_mapping
ignore: [/**/*.mdx]
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ignore pattern should use quoted strings to ensure proper YAML parsing. The pattern [/**/*.mdx] should be ['/**/*.mdx'] to explicitly indicate it's a string value, not a YAML structure.

Suggested change
ignore: [/**/*.mdx]
ignore: ['/**/*.mdx']

Copilot uses AI. Check for mistakes.
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