Releases: nicksnyder/go-i18n
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!
1.4.0
1.3.0
Added plural support for all 200+ languages in the Unicode Common Locale Data Repository via code generation.
Added new APIs to inspect translations loaded into the default bundle
Thanks to those who contributed!
@dennisfaust @parkr @dalu