Skip to content

Releases: go-playground/universal-translator

Release 0.12.0

01 Sep 16:17
Compare
Choose a tag to compare

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's Translator interface.

Release 0.11.0

29 Aug 16:13
Compare
Choose a tag to compare

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

29 Aug 13:19
Compare
Choose a tag to compare

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

23 Aug 18:36
Compare
Choose a tag to compare

What was fixed?

  • Change to use the new locales repo for locale information, rules and formatting and so plural rules should be corrected.