Releases: go-playground/universal-translator
Releases · go-playground/universal-translator
Release 0.12.0
What was added?
- new
GetFallback()function was added for direct access if needed
What was fixed?
- corrected a small bug where
locales.Translatorwas accidentally being double wrapped by universal translator'sTranslatorinterface.
Release 0.11.0
What Changed?
finalizing function names and params
- updated to accept translator interface instead of string, this allows for easier overriding + decreases compile time as not referencing ever locale is references anymore, but provided.
- remove
Overwritefunctions and add param to override or not. - add
AddTranslatorfunction.
Release 0.10.0
What New?
- Added the following functions for those embedding universal-translator within a library which allows overriding of translations:
OverwriteOverwriteCardinalOverwriteOrdinalOverwriteRange
Release 0.9.1
What was fixed?
- Change to use the new locales repo for locale information, rules and formatting and so plural rules should be corrected.