All Versions
Latest Version
Avg Release Cycle
117 days
Latest Release
1678 days ago

Changelog History
Page 1

  • v0.17.0 Changes

    November 11, 2019

    What's new?

    • โšก๏ธ Updated to Go Modules
    • ๐Ÿ›  Fixed Examples imports.
  • v0.16.0 Changes

    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

  • v0.15.0 Changes

    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.


    • ๐ŸŒ 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 Changes

    February 04, 2017

    ๐Ÿ›  What was fixed?

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

    September 14, 2016

    What's New?

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

    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 Changes

    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 Changes

    September 01, 2016

    ๐Ÿ›  What was fixed?

    • ๐ŸŒ corrected error with param index calculation when adding a normal translation.
  • v0.12.0 Changes

    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 Changes

    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.