module documentation
_multilangmanager.py - ZMS Multi-Language Manager
This module implements the MultiLanguageManager class, which provides methods for managing content languages and custom language-dictionary entries in a ZMS instance. It includes functionality for retrieving available languages, resolving request languages, and handling ZMI language management actions such as saving, deleting, importing, and exporting language-dictionary entries. The MultiLanguageManager class interacts with the ZMS configuration and content objects to provide a unified interface for multi-language support.
License: GNU General Public License v2 or later, Organization: ZMS Publishing
| Class | langdict |
Load and provide access to the built-in ZMI language dictionary. |
| Class | |
Manage content languages and custom language-dictionary entries. |
| Class | |
Language selection helpers for content objects. |
| Function | export |
Export selected language-dictionary rows as XML payload. |
| Function | get |
Return (label, id) tuples for one language and all descendants. |
| Function | import |
Import one or many language-dictionary rows from XML or worksheet XML. |
| Function | normalize |
Normalize import/_language.yaml to strict YAML by quoting all values. |
| Function | _import |
Import one language-dictionary row into custom language configuration. |