nicksnyder / go-i18n

Translate your Go program into multiple languages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zero value shows 's' in example program

opriz opened this issue · comments

commented

I run the example with unreadEmailCount=0 (http://localhost:8080/?unreadEmailCount=0),
the text is:

Hello Bob
I have 0 unread emails.

Bob has 0 unread emails.

Is it expected to show 's' by the end of 'email' when not further configured?

Yes, zero is plural in English.

“I have 0 unread email” would be wrong English