ResourceBundle is an i18n module for managing string resources in Python, supporting .properties, JSON, and YAML formats. Current version is 2.2.0, requiring Python >=3.5. It follows Java ResourceBundle patterns with locale fallback.
pip install resourcebundleVerified import paths — ran on the pinned version, not inferred.
Create a ResourceBundle with base name 'messages', locale 'en', and get a string 'greeting'.
Check the changelog and update your code to use the new API (e.g., ResourceBundle constructor arguments changed).
Use JSON or YAML format instead of XML.
Upgrade to v2.0.1 or later, or ensure the base name exists.
Upgrade to v2.0.5+ if you use multi-line property values.
No dependency data recorded yet.