Skip to content

Releases: solaluset/i18nice

Version 0.13.1

08 Feb 10:29
42a0106
Compare
Choose a tag to compare

What's Changed

  • Added dependabot
  • Updated links due to account renaming
  • Moved to trusted publishing

Full Changelog: v0.13.0...v0.13.1

Version 0.13.0

01 Feb 05:16
63a7326
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.12.0...v0.13.0

Version 0.12.0

08 Nov 19:25
fe66491
Compare
Choose a tag to compare

What's Changed

  • Added use_locale_dirs setting
  • Improved file search
  • Config reloading is now more consistent

Full Changelog: v0.11.1...v0.12.0

Version 0.11.1

01 Nov 10:09
7a8b4dc
Compare
Choose a tag to compare

What's Changed

  • Fixed #25
  • (potentially breaking) Invalid placeholders will always emit an error

Full Changelog: v0.11.0...v0.11.1

Version 0.11.0

17 Oct 09:34
89b69d6
Compare
Choose a tag to compare
  • Added py.typed
  • Added _list kwarg to t (only for type checkers)
  • (BREAKING) fallback is now None by default
  • (potentially breaking) Setting locale and fallback to the same value will now result in fallback being None
  • Error thrown on missing translation now mentions the locale
  • Missing translation is now reported with requested locale instead of fallback one
  • Minor optimizations

Version 0.10.0

24 Sep 09:32
4afe5b0
Compare
Choose a tag to compare

What's Changed

  • Simplified static refs pattern
  • Added support for braceless placeholders and escaped delimiters
  • (potentially breaking) If a function registered with i18n.add_function raises KeyError, it will be reraised instead of being treated as a missing placeholder

Full Changelog: v0.9.1...v0.10.0

Version 0.9.1

15 Aug 16:50
a4094b3
Compare
Choose a tag to compare

What's Changed

  • Fixed links on PyPI

Full Changelog: v0.9.0...v0.9.1

Version 0.9.0

15 Aug 16:35
16f0a9c
Compare
Choose a tag to compare

What's Changed

  • (BREAKING) Removed default= kwarg of i18n.t(). You can work around this change with a custom handler like this
  • Added docstrings to public API
  • Added __all__ to most files
  • Added support for None as fallback
  • (potentially breaking) Made memoization enabled by default
  • Added lock= kwarg to load_everything()

Full Changelog: v0.8.1...v0.9.0

Version 0.8.1

11 Aug 14:53
7579c9d
Compare
Choose a tag to compare

What's Changed

  • Added flake8 and mypy checks
  • Enabled and ensured branch coverage
  • Added __all__ to packages
  • Added more type hints
  • Fixed static references not expanding
  • Fixed strict pluralization with translation tuples
  • Created dev-helper.py for pre-commit and GA
  • Made PythonLoader throw more verbose error

Full Changelog: v0.8.0...v0.8.1

Version 0.8.0

06 Aug 18:06
c25d9e5
Compare
Choose a tag to compare

What's New

  • Potentially breaking: i18n.get("filename_format") will return FilenameFormat instead of string. You can access template attribute to get the original string. set will continue to work as usual.
  • More flexible filename formats
  • Type hints for public APIs
  • New functions load_everything and unload_everything
  • 100% coverage
  • Minor optimizations

Full Changelog: v0.7.0...v0.8.0