Migrating to Weblate¶
Are you using a different localization platform and considering switching to Weblate? This guide provides a quick, step-by-step process to help you migrate your translation project from platforms like Transifex, Crowdin, Lokalise, or similar services.
Weblate is designed around continuous localization with Git integration at its core, making it ideal for teams that want to keep translations close to their development workflow.
参见
从国际化开始 for choosing the right internationalization framework
与 Weblate 集成 for detailed integration options
持续本地化 for setting up automated workflows
前提¶
Before starting your migration, ensure you have:
On your localization platform:
Access to export your translation files
List of translators and their roles/permissions
Understanding of your current workflow (review process, automation, etc.)
For Weblate:
A Weblate instance (either Hosted Weblate or self-hosted)
Admin or project creation permissions on your Weblate instance
Prepare your translation files¶
Export translations from your current platform¶
Most localization platforms allow you to export all translations at once:
Transifex: Use their CLI tool or download translations from the web interface
Crowdin: Export all translations as a ZIP file from project settings
Lokalise: Use the bulk export feature
Phrase: Download all locales from the project dashboard
提示
Keep your translation files in the format native to your internationalization framework (PO, XLIFF, JSON, etc.) rather than converting them. Weblate supports many formats.
Commit translations to your Git repository¶
提示
If you would rather not store translations in an external Git repository, you can skip this step and use the Upload translation files option when creating a component.
If your translations aren't already in Git:
Create a Git repository or use your existing project repository
Organize translation files following your project structure
Commit and push the files to your Git hosting service (GitHub, GitLab, Bitbucket, etc.)
git add locales/
git commit -m "Add translation files for Weblate migration"
git push origin main
Import your project into Weblate¶
Create a new project¶
Navigate to your Weblate instance.
Click Add new translation project in the + menu.
Fill in your project details:
Project name: Your application or project name
URL slug: Short identifier (e.g.,
myapp)Project website: Your project homepage (optional)
参见
添加翻译项目和部件 for detailed project creation instructions
Add a component from your Git repository¶
After creating the project, click Add new translation component
Select From version control
Configure your component:
Component name: e.g., "Application strings", "Website", "Documentation"
Repository URL: Your Git repository URL (HTTPS or SSH)
Repository branch: Optional: Specify repository branch (Weblate automatically detects the default branch if not specified)
Weblate will automatically detect:
Translation file format
Available languages
源语言
Review and confirm the detected settings
提示
For repositories with multiple translation components (e.g., separate files for backend, frontend, documentation), create a separate Weblate component for each.
You can speed this up using From existing component for shared repositories or 部件发现 to automatically create them.
Configure your workflow¶
Set up access control¶
Choose your project's visibility and access level:
Go to your project settings: Operations → Settings → Access tab
Select the appropriate access control:
Public: Open-source projects, anyone can contribute
Protected: Visible to all, but only invited users can translate
Private: Only invited users can view and translate
参见
管理每个项目的访问控制 for detailed access control configuration
Set up continuous localization¶
Enable automatic updates and commits:
Configure repository integration:
Pull changes: Set up a webhook so Weblate updates when your source code changes
Push changes: Configure 推送 Weblate 的更改 so translations are committed back to your repository
Enable automatic actions in component settings:
Push on commit: Automatically push translations to your repository
Commit interval: Set how often pending translations are committed (e.g., every 24 hours)
参见
持续本地化 for complete workflow automation
Configure quality checks and workflows¶
Customize translation quality controls:
Optional: Enable add-ons¶
Weblate offers 附加组件 to automate common tasks:
更新 PO 文件以匹配 POT 文件 (msgmerge): Automatically update PO files from POT templates
清理翻译文件: Remove unused translation strings
挤压 Git 提交: Squash commits before pushing to your repository
部件发现: Automatically discover new translation files
参见
附加组件 for all available add-ons
Test and verify¶
Before announcing the migration to your translators:
Test the workflow:
Make a test translation
Verify it appears in your Git repository
Test pulling changes from your repository into Weblate
Import any existing translation memory (optional):
Use 翻译记忆库 to import previous translations
This helps with consistency and speeds up translation
Configure notifications:
参见
翻译记忆库 for translation memory management
Invite and manage users¶
Invite translators¶
For Protected and Private projects:
Navigate to Operations → Users in your project
Use Add user to invite translators
Assign them to appropriate teams:
Translators: Can translate strings
Reviewers: Can review and approve translations
Managers: Can manage project settings
For Public projects, users can start contributing immediately after signing up.
小技巧
Send your translators a welcome message with:
Link to your project on Weblate
Overview of any project-specific terminology or style guides
Information about your review process
参见
管理每个项目的访问控制 for team management
访问控制 for advanced permission configuration
Next steps¶
After completing the migration:
Announce to translators: Let your translation team know about the migration with clear instructions
Monitor initial usage: Watch for any issues during the first few days
Gather feedback: Ask translators about their experience compared to the previous platform
Optimize workflow: Adjust settings based on your team's needs
Remove previous platform: Once the migration is completed, remember to revoke access granted to the previous platform.
小技巧
During migration, you can run both platforms in parallel for a transition period to ensure everything works as expected before fully switching over.
Additional resources¶
与 Weblate 集成 - Detailed integration patterns
翻译工作流 - Different workflow configurations
持续本地化 - Automated continuous localization
Weblate 的 REST API - API for automation and integrations
翻译进度报告 - Setting up translation progress reports
常见问题 - Frequently asked questions
提示
Join the Weblate community if you need help during your migration. The community is active and helpful!