Releases: nicksnyder/go-i18n
Releases · nicksnyder/go-i18n
v2.0.0-beta.3
2.0.0-beta.2
- 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.
2.0.0-beta.1
See the changelog for a description of v2.
Please file any issues that you experience.
Although I don't currently anticipate making any more changes to v2 API at this point, breaking changes are possible until v2.0.0
is tagged.
1.10.0
1.9.0
1.8.1
Fix issue with leading comments on .yaml
files.
1.8.0
1.7.0
1.6.0
The count used to determine which plural form to use for a translation may now be provided in the template data (#53)
Thanks @mh-cbon and @benoittoulme!
1.5.0
A new command has been added to goi18n
.
goi18n constants
generates a file of constants for each translation id.
e.g.
package R
// MyHeightInMeters is the identifier for the following localizable string template(s):
// one: "I am {{.Count}} meter tall."
// other: "I am {{.Count}} meters tall."
const MyHeightInMeters = "my_height_in_meters"
Thanks @rodrigocorsi2!