oslo.i18n
Oslo i18n library
Decision gist · record as of 2026-08-14
Yes, if you are building an OpenStack service or need a lightweight, actively maintained i18n utility for a Python application. The low install friction, permissive license, and modern Python support make it a straightforward choice. If you need advanced translation features (pluralization rules, context-aware translations, or backend flexibility), verify that oslo.i18n provides them before committing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later.
- Low install friction with a single lightweight runtime dependency (pbr).
- Active maintenance status with a recent release 35 days ago.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without significant restrictions, including commercial and proprietary applications.
last release 2026-07-10 (35 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,719,883 downloads/mo, #3,619 on PyPI
Alternatives
Verify before relying
pip install oslo.i18n
from oslo_i18n import _
translated_text = _("Hello, world!")- Specific translation backend support (gettext, Babel integration, or other frameworks) not detailed in the fact sheet.
- Whether the package provides locale negotiation, pluralization, or context-aware translation features.
- Performance characteristics when handling large translation catalogs or many concurrent translations.
What it is and what it does
oslo.i18n is a library from the OpenStack project that simplifies internationalization (i18n) work in Python applications. It wraps and extends standard translation utilities to make it easier to mark strings for translation and manage multiple languages in a codebase. The library is designed for applications that need to support users in different locales and languages, providing a consistent interface for marking translatable strings and accessing translations at runtime.
The package is part of the OpenStack infrastructure and is actively maintained. It has minimal dependencies—only pbr—and supports modern Python versions from 3.11 onward. It's typed, making it suitable for projects that use static type checking. The library is permissively licensed under Apache-2.0, so it can be used freely in both open-source and proprietary projects.
Use it for
- Mark user-facing strings in a web application for translation into multiple languages.
- Build OpenStack-compatible services that need consistent i18n handling across components.
- Add multi-language support to a library or framework without heavy translation infrastructure.
- Integrate translation workflows into an existing Python project using standard gettext conventions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building an OpenStack service or need a lightweight, actively maintained i18n utility for a Python application.
The low install friction, permissive license, and modern Python support make it a straightforward choice. If you need advanced translation features (pluralization rules, context-aware translations, or backend flexibility), verify that oslo.i18n provides them before committing.
Install
oslo-i18n on PyPI
Before you install
Low install friction with a single lightweight runtime dependency (pbr). Active maintenance status with a recent release 35 days ago. Supports current Python versions (3.11–3.14) and is typed.
Requires Python 3.11 or later.
License in practice
Apache-2.0 permissive license allows use in most projects without significant restrictions, including commercial and proprietary applications.
Quickstart
pip install oslo.i18n
from oslo_i18n import _
translated_text = _("Hello, world!")
Verify before relying
- Specific translation backend support (gettext, Babel integration, or other frameworks) not detailed in the fact sheet.
- Whether the package provides locale negotiation, pluralization, or context-aware translation features.
- Performance characteristics when handling large translation catalogs or many concurrent translations.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepbr |
| Maintenance | Actively maintained 35 days since the last release |
| First released | |
| Downloads | 1,719,883 / month, #3,619 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTyping :: Typed |
Evidence: oslo_i18n-6.9.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “i18n translation utilities”
- oslo.i18noslo.i18n provides utilities for handling internationalization and…
- translationstringProvides translation string objects and factories for marking and…
- babelBabel provides internationalization (i18n) and localization (l10n)…
Give your agent the search over MCP, or paste the wish link into any chat.
More Linguistic packages
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.
Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.
Detects character encoding and language in byte sequences with high accuracy, supporting 99 encodings and returning confidence scores, language tags, and MIME types.
Install it if you need to detect character encoding or language in byte data; the rewrite makes it substantially faster and more accurate than its predecessors.
Converts Unicode text to ASCII by transliterating non-ASCII characters into their closest ASCII equivalents, with no runtime dependencies.
However, if transliteration quality or ongoing maintenance matters, consider unidecode instead despite its GPL-only license.
Lark is a parsing library that builds abstract syntax trees from context-free grammars, supporting multiple parsing algorithms (Earley, LALR(1), CYK) with automatic line and column tracking.
Python bindings to the tree-sitter parsing library, enabling incremental parsing and syntax tree analysis for source code.
See also babel · django-statici18n · flufl.i18n · i18nice · python-i18n · edx-i18n-tools · zope.i18n · oslo.config · oslo.utils · oslo.context