技能 编程开发 Lokalise 迁移深度解析

Lokalise 迁移深度解析

v20260313
lokalise-migration-deep-dive
指导团队从旧TMS平台迁移至Lokalise,涵盖数据导出导入、键名标准化、编码校验与失败回滚流程,确保翻译项目顺利切换。
获取技能
388 次下载
概览

Lokalise Migration Deep Dive

Overview

Comprehensive guide for migrating to Lokalise from other TMS platforms or legacy systems.

Prerequisites

  • Access to source system for export
  • Lokalise account with appropriate plan
  • Understanding of current translation workflow
  • Rollback strategy defined

Instructions

  1. Migration Types
  2. Instructions
  3. Flagship+ Skills

For full implementation details, load: Read(${CLAUDE_SKILL_DIR}/references/implementation-guide.md)

Output

  • Migration assessment complete
  • Data exported and transformed
  • Lokalise project created
  • Keys and translations imported
  • Migration validated

Error Handling

Issue Cause Solution
Key name conflicts Different naming conventions Normalize keys before import
Missing translations Export incomplete Re-export from source
Encoding issues Non-UTF8 files Convert to UTF-8
Rate limit during import Too fast Increase delays between batches
Variable syntax mismatch Different interpolation syntax between platforms Transform variable tokens to match Lokalise format

Examples

Migration Rollback

#!/bin/bash
# rollback-migration.sh

# If migration fails, delete the new project
lokalise2 --token "$LOKALISE_API_TOKEN" \
  project delete --project-id "$NEW_PROJECT_ID"

# Keep using old system
echo "Migration rolled back. Continue using source system."

Resources

信息
Category 编程开发
Name lokalise-migration-deep-dive
版本 v20260313
大小 5.15KB
更新时间 2026-03-14
语言