freeports_analysis.i18n
Internationalization module for locale detection and message translation.
This module handles locale detection and provides translation functionality for the application. It supports both POSIX and Windows systems and falls back to English if no suitable locale is found.
- freeports_analysis.i18n.LOC
Detected locale identifier
- Type:
Optional[str]
- freeports_analysis.i18n.lang
Language code extracted from locale
- Type:
str
- freeports_analysis.i18n.TRANSLATION
Translation object for the detected locale
- Type:
Optional[gettext.NullTranslations]
- freeports_analysis.i18n._
Translation function for message strings
- Type:
Callable[[str], str]