Locales Versions Save

:earth_americas: a set of locales generated from the CLDR Project which can be used independently or within an i18n package; these were built for use with, but not exclusive to https://github.com/go-playground/universal-translator

v0.14.1

1 year ago

What was fixed?

Updated golang.org/x/text dependency used ONLY as a dev dependency when generating the locale files. Thanks @YoheiKonno for the PR

v0.14.0

2 years ago

What's new?

  • Updated to CLDR v36.0.1

v0.13.0

4 years ago

Converted to using go modules.

v0.12.1

6 years ago

What was fixed

a leftover debug caused ru_test.go test to fail, it was removed and all is passing again.

v0.12.0

6 years ago

What's new?

Updating to CLDR 32.0.1 thanks @vvohra for the PR #20

v0.11.2

6 years ago

What was fixed?

Updated CLDR to 31.0.1; Added test for russian; Added methods Decimal, Group, Minus; Refactoring: replaced l := len(s) + 0 + 0len(s[:len(s)-int(v)-1])/3 => l := len(s) + 0; t.Year()-1 => -t.Year()

Thanks @nicola-spb for the PR!

v0.11.1

7 years ago

What was fixed?

Corrected English inheritance

  • old logic fell back to base locale when data could not be found; now it attempts to find via inheritance cross reference and then fallback if necessary.

Thanks @martin-css for reporting issue #7

v0.11.0

7 years ago

What was changed?

  • Regenerated locale data from v30.0.3 CLDR data
  • Added negative year check for FmtDataXXX functions with 4 digit years
  • update ru_RU test to handle change of short date format from v29 dd.MM.yy to v30 dd.MM.y

v0.10.3

7 years ago

What was fixed

locale generation code was updated to try and use DefaultNumberingSystem if it exists, fixed #5

Thanks @dvorakluk

v0.10.2

7 years ago

What was fixed?

  • corrected handling of single quote in date formats, index was off causing quotes to appear in date text
  • corrected bug in plurals rules mod != rules were generating mod10 < 12 && mod10 > 14, when it should be (mod10 < 12 || mod10 > 14)
  • added code to sort plural rules, no real issue just now print in order
  • override Russian percent format CLDR contains space between # and % but should be no space.

What was added?

Tests for ru_RU(Russian) were added by @nikolay-turpitko thanks again!