Werk #7087: Extension packages can now provide individual localizations
Komponente | User interface |
Titel | Extension packages can now provide individual localizations |
Datum | 15.02.2019 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.6.0b1 |
Level | Kleine Änderung |
Klasse | Neues Feature |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
Extension packages (MKPs) can now ship their own localization files in addition to the standard localization file. With this change it is possible to split different localization parts into separate files.
The GUI now recognizes the following localization file paths:
share/check_mk/locale/[LANG]/LC_MESSAGES/multisite.mo - Builtin, shipped with Check_MK.
local/share/check_mk/locale/[LANG]/LC_MESSAGES/multisite.mo - Site specific override, extension of builtin localization
local/share/check_mk/locale/packages/[PKG_NAME]/[LANG]/LC_MESSAGES/multisite.mo - Extension localization
The GUI searches these localization files from bottom to top when it searches for a text to be localized.