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
- Project Structure
- Layer Architecture
- Key Components
- Data Flow Diagram
- Configuration Management
- Instructions
- 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.