[haiku-i18n] Re: Quick question
- From: "Humdinger" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "humdingerb" for DMARC)
- To: haiku-i18n@xxxxxxxxxxxxx
- Date: Tue, 12 May 2020 08:47:14 +0200
Hi Victor!
On Mon, 11 May 2020 22:44:04 +0100 Victor Domingos wrote:
Its should be like this:
0 bytes,
1 byte,
2, 3, 4… bytes
How do I describe this in the string? Where can I find more
information about the string
format in use?
This should come from "StringForSize" which is translated at
https://i18n.haiku-os.org/pootle/pt/haiku/translate/kits/pt.catkeys#filter=all
(1st entry there).
It does look OK with: {0, plural, one{# byte} other{# bytes}}
As anything but "one" is translated with "bytes"...
But as Adrien wrote, you could try: {0, plural, zero{(# bytes)} one{(#
byte)} other{(# bytes)}}
Does the ICU backend play into this?
Another example on plural forms is at
https://dev.haiku-os.org/wiki/i18n/GUI-Localization
Regards,
Humdinger
--
Help translating 3rd party Haiku applications
Go to Polyglot at
https://i18n.kacperkasper.pl
Other related posts: