Namespaces
Localizations
ovok.localizations manages the project's localized strings by language and key, either one
- Stable unknown
- Release candidate since 0.1.0-rc.3
- Development since 0.1.0-dev.21+c43ebba
ovok.localizations manages the project's localized strings by language and key, either one
entry at a time or as a whole i18next document.
Manage single entries
from ovok_sdk import Ovok
ovok = Ovok("https://api.sandbox.ovok.com", "your-tenant")
entries = ovok.localizations.list("en")
entry = ovok.localizations.retrieve("en", "welcome.title")
ovok.localizations.update("en", "welcome.title", {"value": "Welcome"})
ovok.localizations.delete("en", "welcome.title")Load or save an i18next document
i18next reads and writes a language's strings in i18next's JSON shape, ready for an i18next
frontend.
document = ovok.localizations.i18next.retrieve("de")
ovok.localizations.i18next.update("de", {"welcome": {"title": "Willkommen"}})The project's enabled languages live in ovok.locales.
API reference
See ovok_sdk.resources.platform for every method, parameter and error.
Last updated on