Documentation
¶
Overview ¶
Package i18n provides internationalization support for YAP.
Package i18n provides internationalization support for YAP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedLanguages = []string{"en", "it"}
SupportedLanguages lists all supported language codes.
Functions ¶
func CheckIntegrity ¶
func CheckIntegrity() error
CheckIntegrity verifies the integrity of all locale files. It checks for: 1. Consistent message IDs across all locales 2. Proper YAML formatting 3. No duplicate message IDs 4. Required message IDs present
func GetMessageIDs ¶
GetMessageIDs returns all message IDs used in the application.
Types ¶
Click to show internal directories.
Click to hide internal directories.