All Versions
11
Latest Version
Avg Release Cycle
117 days
Latest Release
1859 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.17.0 Changes
November 11, 2019What's new?
- โก๏ธ Updated to Go Modules
- ๐ Fixed Examples imports.
-
v0.16.0 Changes
February 09, 2017What changed?
โก๏ธ Backing locales package updated to CLDR v30.0.3
- ๐ฆ Backing package https://github.com/go-playground/locales regenerated from CLDR v30.0.3 data, Fixes #13
- ๐ Updated documentation to reflect update.
โก๏ธ be sure to update you locales package with a
go get -u github.com/go-playground/locales
-
v0.15.0 Changes
February 08, 2017What'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
-
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, 2016What's New?
- Just corrected some error type's text, no breaking changes.
-
v0.13.0 Changes
September 11, 2016What was added/changed?
- โก๏ธ examples updated as underlying locales package now returns
string
instead of[]byte
for convenience and safety
- โก๏ธ examples updated as underlying locales package now returns
-
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()
andFindTranslator()
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.
- there was no way to determine of a locale was found or just used the fallback so added a found return param to
-
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, 2016What 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.
- ๐ new
-
v0.11.0 Changes
August 29, 2016What 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.