[haiku-i18n] Re: Quick question

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku-i18n@xxxxxxxxxxxxx
  • Date: Tue, 12 May 2020 08:34:04 +0200

The string is in kits/tracker and looks like this: {0, plural, one{(#
byte)} other{(# bytes)}}

There is some information and examples for this here:
https://phrase.com/blog/posts/guide-to-the-icu-message-format/

You can check the rules available for each language here:
https://unicode-org.github.io/cldr-staging/charts/37/supplemental/language_plural_rules.html
(some are more complex than others).

You can try this, but I don't know if it will work, as it seems the
rules for Portuguese consider zero as singular:

{0, plural, zero{(# bytes)} one{(# byte)} other{(# bytes)}}

2020-05-11 23:44 UTC+02:00, Victor Domingos <editor.arcosonline@xxxxxxxxx>:

Hi!

I was reviewing the Portuguese translation in Tracker and I would like to
fix this:





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?

Best regards,
Victor Domingos





-- 
Adrien Destugues / PulkoMandy
http://pulkomandy.tk

Other related posts: