Open nuoyan opened 3 years ago
I have run into this issue too, I think your [NewMsg] description = "A new message" one = "This is a new message"
Missing "other" key, this "other" will be used in , = io.WriteString(h, t.PluralTemplates[plural.Other].Src)
On Mac. Installed goi18n command following the README. go version go1.14.6 darwin/amd64
Steps to reproduce:
follow the steps in README to extract messages, translate, and load new langauge's file into bundle. Verify the new language worked. I could reproduce this using the code from the example for this exercise.
Add a new message. In my case, I added:
Follow Translating new messages.
After
go extract
, I verified the EN message file had the new message. At this moment, my EN and ES message files look like the following:active.en.toml:
active.es.toml:
Now run
goi18n merge active.*.toml
.Got: