All Versions
11
Latest Version
Avg Release Cycle
117 days
Latest Release
200 days ago

Changelog History
Page 1

  • v0.17.0

    November 11, 2019

    What's new?

    • ⚡️ Updated to Go Modules
    • 🛠 Fixed Examples imports.
  • v0.16.0

    February 09, 2017

    What changed?

    ⚡️ Backing locales package updated to CLDR v30.0.3

    ⚡️ be sure to update you locales package with a go get -u github.com/go-playground/locales

  • v0.15.0

    February 08, 2017

    What's been added?

    • A file format for Import & Export has been created
    • Import & Export logic has been added.
      • Import recursively reads all files within a directory, so you may organise however you wish.
      • Export exports each locale to it's own file, with name of locale.
      • Currently only JSON is programmed in, but anyone who want to implement any other format is welcome and it's all setup to do so going forward.

    More?

    • 🌐 A full example with files and without files has been added showing how this would be integrated into a web application. NOTE: this is only how I would do it...but you could do it in any other way you wish.
    • File Format examples have also been added

    This is for #6 and #7

  • v0.14.1

    February 04, 2017

    🛠 What was fixed?

    • a typo in the example code was corrected, thanks @tmc for the pull request!
  • v0.14.0

    September 14, 2016

    What's New?

    • Just corrected some error type's text, no breaking changes.
  • v0.13.0

    September 11, 2016

    What was added/changed?

    • ⚡️ examples updated as underlying locales package now returns string instead of []byte for convenience and safety
  • v0.12.2

    September 08, 2016

    🛠 What was fixed?

    • there was no way to determine of a locale was found or just used the fallback so added a found return param to GetTranslator() and FindTranslator() functions.
      • Why is that important? because if an unsupported locale is detected some people may want to redirect to a locale selection page of supported languages, store that in cookie and use that going forward.
  • v0.12.1

    September 01, 2016

    🛠 What was fixed?

    • 🌐 corrected error with param index calculation when adding a normal translation.
  • v0.12.0

    September 01, 2016

    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.
  • v0.11.0

    August 29, 2016

    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.