bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] [bug #56919] msgcat combines strings with singular and


From: Mikko Rantalainen
Subject: Re: [bug-gettext] [bug #56919] msgcat combines strings with singular and plural forms incorrectly
Date: Mon, 23 Sep 2019 11:12:17 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Bruno Haible (19/09/2019 13.35 Europe/Helsinki):
> Update of bug #56919 (project gettext):
>                   Status:                    None => Duplicate              
>              Open/Closed:                    Open => Closed                 
>     _______________________________________________________

>> $ msgcat f.pot b.pot 
>> #: pkg/playground/translate.html:95 pkg/dashboard/index.html:72
>> #: pkg/machines/components/aggregateStatusCards.jsx:72
>> #, fuzzy
>> msgid "Network"
>> msgstr ""
>> "#-#-#-#-#  f.pot  #-#-#-#-#\n"
>> "#-#-#-#-#  b.pot  #-#-#-#-#\n"
>> ```

> This is essentially the same issue as bug #56456 and bug #35027.
> 
> The workaround is simple: just change anything in the wording of the
> sentence.

I think the important difference here is that msgcat is often used to
combine data from multiple translators. As such, the developer that runs
the msgcat may not understand the language and may not notice that
msgcat is losing data.

If msgcat is about to combine plural forms with singular form it should
emit plural form as the output to avoid losing data no matter which file
was given first, or at least emit a warning about the issue.

-- 
Mikko



reply via email to

[Prev in Thread] Current Thread [Next in Thread]