Microbus Text Externalization
Externalizes and translates user-facing strings into resource bundles for localized microservice applications.
Simplifies the process of internationalizing microservices built with the Microbus framework by moving static text from code and templates into centralized YAML resource bundles. It provides a structured workflow for identifying user-facing strings, creating language-specific translations using ISO 639 codes, and integrating them back into Go services and HTML templates using standardized helper methods. This ensures that microservices can support multiple languages efficiently while maintaining a clean separation between application logic and localized content.
주요 기능
01Dynamic localized string injection for HTML templates
02168 GitHub stars
03Centralized YAML resource bundle management for localized text
04PascalCase string key mapping for consistent referencing
05Go-native string loading via svc.MustLoadResString integration
06Multi-language support with ISO 639 codes and default fallbacks
사용 사례
01Localizing a Microbus service into multiple languages for global users
02Refactoring hardcoded strings out of Go source code to improve maintainability
03Implementing dynamic multi-language support in HTML web templates