Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init initializes the i18n bundle and localizer. It loads the specified locale and falls back to English if loading fails. Translation files are searched in the user config directory and downloaded from GitHub if missing.
If locale is empty, it will attempt to detect the system locale from environment variables (LC_ALL, LC_MESSAGES, LANG) following POSIX standards.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.