Skip to content

Releases: nicksnyder/go-i18n

v2.0.3

18 Nov 04:17
Compare
Choose a tag to compare

Changelog

26334ab minimum go version
275c8ec fix(goi18n): could not extract constant message id (#202)
3f2fe62 add benchmarks (#190)
48ecfc2 remove go.mod
0e318ba fix automatic release
de0ca95 remove comment
d69004e only deploy from latest

v2.0.2

11 Jun 17:26
0c6ce6a
Compare
Choose a tag to compare

Changelog

0c6ce6a Move code to v2 subfolder for greater compatibility (#187)
25e77af deploy when tag is pushed (#186)
1b244f7 Fix path in README (#185)

v2.0.1

05 Jun 20:26
e0f0d41
Compare
Choose a tag to compare

Changelog

e0f0d41 Fix data race and optimize performance (#183)
38f9eac Update README.md (#177)
be3966f v2 only (#176)

v2.0.0

19 May 16:33
Compare
Choose a tag to compare

Changelog

3c6ee90 update goreleaser
d1ef4ae update to CLDR v35.1 (2019-04-17) (#175)
b280125 Revert "change package"
b5ee509 change package

v2.0.0-beta.7

10 May 20:51
6d605d0
Compare
Choose a tag to compare

There is one small backwards incompatible change from beta.6, which is that you now need to call NewBundle to create a bundle (instead of using a struct literal). See https://github.com/nicksnyder/go-i18n/pull/163/files.

There are no more known issues filed on the repo that would prevent v2.0.0 from being tagged but I am going to let beta.7 bake for a bit before actually tagging v2.0.0.

Changelog

6d605d0 attempt fallback to "other" plural form (#174)
4cc2a0f fix build
a8a5c04 remove LocalizeMessageID until extract can extract it
20fdd68 add convenience functions (#173)
3b00441 improve readme
245a313 support artificial languages (#171)
8ad1b00 update x/text
1c44ce2 export message (#170)
14847a9 enable gofmt
70cf5c1 cleanup
a3498dc extract messages from slices and maps (#169)
4878883 update readme to reflect changes made in #163
030e502 handle null in json (#166)
b2843f1 escape extracted strings correctly (#165)
45eb7b3 don't extract strings from _test.go files (#164)
5a9fdb7 add NewBundle and remove init (#163)
7e9faa0 go 1.12
7e1988a remove sudo:false (#162)
8b3465d Nested translation support (#157)
7a73c96 Fix deserialization of leftDelim and rightDelim
d698e2f Provide nice output of plural form not found error (#147)
cc0ca3b add .golangci.yml (#144)

v2.0.0-beta.6

24 Nov 04:59
Compare
Choose a tag to compare

Changelog

178b9fc extract concatenated strings (#143)
0ebaecb Better extract/merge workflow documentation (#140)
ad28c68 Add LocalizeWithTag (#139)
c52be5d update to CLDR 34
fc57a7d Export MessageNotFoundErr (#124)
f406bb2 error if message ids mismatch (#132)
04f547c Fixed localizer example (#122)
e786c88 add func to list Language tags from bundle (#120)

v2.0.0-beta.5

03 Aug 04:16
Compare
Choose a tag to compare

Fix v2 go.mod

v2.0.0-beta.4

28 Jul 21:26
461e8b9
Compare
Choose a tag to compare
  • Handle zh correctly (#109)
  • Improvements to goi18n extract (#108)
  • Fix go.mod (#117)

v2.0.0-beta.3

11 May 18:44
8c6996e
Compare
Choose a tag to compare
  • i18n.NewBundle(language.English) -> &i18n.Bundle{DefaultLanguage: language.English}
  • Define custom funcs in message templates #100
  • goi18n extract walks current directory by default dfe004a
  • Better example #102
  • Proper semver tag for beta releases #104

2.0.0-beta.2

11 May 18:49
072fa6e
Compare
Choose a tag to compare
  • Update CLDR data to v33.
  • Fix issue that caused extract to always output toml, even if -format parameter was provided.
  • Fix panic when translation is empty.