merge#366
Closed
TrueBankai416 wants to merge 5 commits into
Closed
Conversation
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
Contributor
There was a problem hiding this comment.
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.
| - source: /docs/**/*.md | ||
| translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name% | ||
| languages_mapping: *languages_mapping | ||
| ignore: [/**/*.mdx] |
There was a problem hiding this comment.
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'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.