i18nice
Translation library for Python
Decision gist · record as of 2026-08-14
Yes. i18nice is actively maintained, has no security vulnerabilities, installs with zero friction, and provides a complete i18n solution for Python projects. The MIT license poses no restrictions. Install it if you need multi-language support; the Rails-inspired API and file-based configuration make it straightforward to adopt.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with no runtime dependencies; the package is pure Python and installs as a wheel.
- Maintenance is active with recent commits and a stable release cycle.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions—only attribution is required.
last release 2025-05-29 (442 days) · last repo commit 2026-08-10 · 52 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 307,351 downloads/mo, #7,776 on PyPI
Alternatives
Verify before relying
pip install i18nice
import i18nice
i18nice.add_translation('greeting', 'Hello %{name}!')
print(i18nice.t('greeting', name='World')) # Hello World!- Whether the package supports Python 2 or only Python 3 (classifiers indicate Python 3 but requires_python is unspecified)
- Performance characteristics when handling large translation files or many locales simultaneously
- Compatibility with async/concurrent applications
What it is and what it does
i18nice is a translation library for Python that brings Rails-style i18n functionality to Python applications. It allows you to store translations in YAML or JSON files, organize them by locale and namespace, and retrieve translated strings at runtime with support for dynamic placeholders and pluralization rules.
The library handles common i18n patterns: you define translations either programmatically or via files, set a current locale, and call the translation function to fetch translated strings. It supports fallback locales when a translation is missing, lazy-loads translation files to avoid unnecessary I/O, and provides configuration options for different file structures and naming conventions. With no external runtime dependencies, it is lightweight and easy to integrate into existing Python projects.
Use it for
- Build a web application that serves content in multiple languages with locale-specific fallbacks
- Add pluralization rules to user-facing messages (e.g., 'You have 1 mail' vs. 'You have 5 mails')
- Manage translations for a CLI tool or desktop application using YAML or JSON files
- Organize translations hierarchically by feature or module using directory and file namespaces
- Store and retrieve translated strings with placeholder substitution for dynamic content
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
i18nice is actively maintained, has no security vulnerabilities, installs with zero friction, and provides a complete i18n solution for Python projects. The MIT license poses no restrictions. Install it if you need multi-language support; the Rails-inspired API and file-based configuration make it straightforward to adopt.
Install
i18nice on PyPI
Before you install
Installation is straightforward with no runtime dependencies; the package is pure Python and installs as a wheel. Maintenance is active with recent commits and a stable release cycle.
License in practice
MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions—only attribution is required.
Quickstart
pip install i18nice
import i18nice
i18nice.add_translation('greeting', 'Hello %{name}!')
print(i18nice.t('greeting', name='World')) # Hello World!
Verify before relying
- Whether the package supports Python 2 or only Python 3 (classifiers indicate Python 3 but requires_python is unspecified)
- Performance characteristics when handling large translation files or many locales simultaneously
- Compatibility with async/concurrent applications
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 442 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 307,351 / month, #7,776 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Other EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: InternationalizationTopic :: Software Development :: Libraries |
Evidence: i18nice-0.16.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 › “python i18n translation library”
- i18nicei18nice provides internationalization (i18n) functionality for Python…
- flufl.i18nflufl.i18n provides a high-level API for managing translation…
- zope.i18nmessageidProvides message factory objects that tag unicode strings with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also python-i18n · translationstring · oslo.i18n · babel · flask-babel · zope.i18n · flufl.i18n · quart_babel · django-statici18n · PyICU-binary