技能 编程开发 Lokalise 参考架构

Lokalise 参考架构

v20260311
lokalise-reference-architecture
提供面向生产的 Lokalise 分层架构方案,包括项目结构、缓存客户端、翻译服务以及配置管理,适合设计新集成、评审结构或制定标准流程。
获取技能
498 次下载
概览

Lokalise Reference Architecture

Overview

Production-ready architecture patterns for Lokalise integrations.

Prerequisites

  • Understanding of layered architecture
  • Lokalise SDK knowledge
  • TypeScript project setup
  • Testing framework configured

Instructions

  1. Project Structure
  2. Layer Architecture
  3. Key Components
  4. Data Flow Diagram
  5. Configuration Management
  6. Instructions
  7. Flagship Skills

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

Output

  • Structured project layout
  • Client wrapper with caching
  • Translation service facade
  • i18n library integration

Error Handling

Issue Cause Solution
Circular imports Wrong layering Separate by layer
Missing locale Not bundled Add fallback logic
Stale translations Cache not invalidated Use webhooks to invalidate
Type errors Missing types Generate from source locale

Examples

See references/implementation-guide.md for detailed examples.

Resources

信息
Category 编程开发
Name lokalise-reference-architecture
版本 v20260311
大小 3.98KB
更新时间 2026-03-12
语言