Multilingual Content Management
This guide explains how to manage and maintain multilingual content on our platform, ensuring all language versions remain synchronized and consistent.
Supported Languages
The platform currently supports the following languages:
- Simplified Chinese (zh) - Primary language
- Traditional Chinese (zh-Hant) - Traditional Chinese version
- English (en) - International language
- Japanese (ja) - For Japanese users
- Korean (ko) - For Korean users
- French (fr) - For French users
- German (de) - For German users
- Spanish (es) - For Spanish users
- Indonesian (id) - For Indonesian users
- Brazilian Portuguese (pt-BR) - For Brazilian users
- Russian (ru) - For Russian users
- Turkish (tr) - For Turkish users
Directory Structure
Multilingual content is organized in the following structure:
content/
โโโ zh/ # Simplified Chinese (primary language)
โ โโโ 01.docs/ # Documentation
โ โโโ 02.guides/ # Guides
โ โโโ 03.tools/ # Tools
โโโ en/ # English
โโโ ja/ # Japanese
โโโ ko/ # Korean
โโโ fr/ # French
โโโ de/ # German
โโโ es/ # Spanish
โโโ id/ # Indonesian
โโโ pt-BR/ # Brazilian Portuguese
โโโ ru/ # Russian
โโโ tr/ # Turkish
โโโ zh-Hant/ # Traditional Chinese
Content Synchronization Principles
1. Primary Language Priority
- Simplified Chinese (zh) is the primary language, all new content is first created in the Chinese version
- Other language versions are translated based on the Chinese version
2. File Structure Consistency
- All language versions must maintain the same directory structure
- File names and paths must be completely consistent
- Ensure each language version has corresponding files
3. Content Completeness
- Important documents must have corresponding versions in all languages
- Prioritize translation of core functionality and user guides
- Technical documentation can be prioritized for the primary language
Translation Workflow
1. Content Creation
- Create new content in the Chinese version
- Ensure content structure is clear and easy to translate
- Use standard Markdown format
2. Translation Priority
High Priority:
- User interface text
- Frequently asked questions
- Quick start guides
- Core functionality documentation
Medium Priority:
- Detailed technical documentation
- API reference documentation
- Configuration guides
Low Priority:
- Advanced feature documentation
- Developer tool documentation
- Example code comments
3. Translation Quality Check
- Ensure translation accuracy and completeness
- Maintain consistency of technical terms
- Check for grammar and spelling errors
- Verify links and references
Automation Tools
Multilingual Content Check Script
Use the built-in check script to verify content synchronization status:
# Check content synchronization status for all languages
node scripts/multilingual-content.js check
# Create missing file structure
node scripts/multilingual-content.js init
# Create welcome pages
node scripts/multilingual-content.js welcome
Content Synchronization Status
The script displays missing files for each language version, helping identify content that needs translation.
Translation Guidelines
1. Terminology Consistency
Establish a terminology glossary to ensure technical terms remain consistent across all languages:
- API - Keep in English
- HTTP - Keep in English
- JSON - Keep in English
- UUID - Keep in English
- Base64 - Keep in English
2. Format Standards
- Use standard Markdown syntax
- Maintain consistent heading levels
- Ensure code block formatting is correct
- Maintain consistency of links and image references
3. Cultural Adaptation
- Consider expression habits of different cultures
- Adapt examples and explanations for local users
- Pay attention to localization of dates, numbers, and other formats
Maintenance and Updates
1. Regular Checks
- Check content synchronization status weekly
- Identify missing or outdated translations
- Update terminology glossary and translation guidelines
2. Version Control
- Manage all translation changes through Git
- Use clear commit messages
- Create translation branches for collaboration
3. Quality Assurance
- Establish translation review process
- Collect user feedback
- Continuously improve translation quality
Contribution Guidelines
How to Contribute Translations
- Fork the project repository
- Create a translation branch
- Translate specified content
- Submit a Pull Request
- Wait for review and merge
Translation Requirements
- Familiar with target language and domain terminology
- Maintain accuracy and completeness of original text
- Follow project translation conventions
- Respond promptly to feedback and modification suggestions
Frequently Asked Questions
Q: How to handle translation for new features?
A: When releasing new features, handle translation as follows:
- Complete feature documentation in Chinese version
- Determine translation priority
- Assign translation tasks
- Gradually complete versions in each language
Q: How to handle translation of technical terms?
A: Principles for handling technical terms:
- Establish a unified terminology glossary
- Prioritize industry-standard translations
- Keep English original when necessary
- Provide term explanations in documentation
Q: How to ensure translation quality?
A: Quality assurance measures:
- Establish translation review process
- Use automated checking tools
- Collect user feedback
- Regularly update translation guidelines
Contact and Support
If you encounter problems during translation:
- Check Translation Guide
- Participate in Community Discussions
- Contact the translation team
Last Updated: December 2024 Document Version: 1.0.0