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.Translator
was accidentally being double wrapped by universal translator'sTranslator
interface.
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
Overwrite
functions and add param to override or not. - add
AddTranslator
function.
Release 0.10.0
What New?
- Added the following functions for those embedding universal-translator within a library which allows overriding of translations:
Overwrite
OverwriteCardinal
OverwriteOrdinal
OverwriteRange
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.