Compose Module
Tolgee Android SDK Compose module provides first-class support for Jetpack Compose and Compose Multiplatform, enabling dynamic translations in modern applications with reactive UI updates.
Why Choose Tolgee for Compose?
Transform your Jetpack Compose or Compose Multiplatform app with dynamic translations that update seamlessly without rebuilding or republishing.
Key Benefits
- ✅ Reactive Updates: Translations update automatically when language changes
- ✅ Compose-Native: Built specifically for Compose architecture patterns
- ✅ State Management: Integrates seamlessly with Compose state systems
- ✅ Performance: Optimized for Compose recomposition cycles
- ✅ Over-the-Air: Push translation updates without app store releases
- ✅ Multiplatform: Works with both Jetpack Compose and Compose Multiplatform
Getting Started
Key Features
Compose-Specific APIs
tolgeeStringResource()
- Compose-optimized string retrievaltolgeePluralStringResource()
- Plural handling for ComposeLocalTolgee
- CompositionLocal for dependency injection
Reactive Language Switching
@Composable
fun MyScreen() {
val text by tolgeeStringResource("welcome_message")
Text(text = text) // Automatically updates when language changes
}
State Integration
Tolgee integrates with Compose's state system to ensure UI updates happen automatically when:
- Language is changed at runtime
- New translations are downloaded
- Fallback resources are loaded
Demo Application
Explore our complete Jetpack Compose demo to see all features in action:
🚀 Jetpack Compose Demo
Complete example implementation with all Compose features
Integration Path
- Quickstart - Add Compose-specific dependencies
- Usage Patterns - Learn Compose integration patterns
- Production Setup - Configure for deployment
- Troubleshooting - Resolve integration issues
Need Help?
- Check our Troubleshooting Guide for Compose-specific issues
- Explore the Complete Demo for implementation examples
- Review Production Guide for deployment best practices