Releases: nicksnyder/go-i18n
v2.1.1
v2.1.0
v2.0.4
This release fixes a few bugs with goi18n extract and goi18n merge, and it greatly increases the performance of the i18n package when localizing messages.
Changelog
9926328 Add build step (#226)
d17510c Update goreleaser.yml
9c75f7e goreleaser workflow (#225)
e15e8df fixed panic: runtime error: index out of range [0] with length 0 (#212)
8f09be8 fixes nil reference exception if localization text is empty, fixes #207 (#208)
354b2fc Pull request event
66dee75 simpler fallback behavior (#189)
663c088 tweak codecov
51d732d Build with GitHub actions (#224)
949485d Add a nil pointer check before dereferencing an identifier's Obj (#211)
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v2.0.0-beta.7
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
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
Fix v2 go.mod