[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59005] Can't translate strings properly to Hebrew and Arabic
From: |
Bruno Haible |
Subject: |
[bug #59005] Can't translate strings properly to Hebrew and Arabic |
Date: |
Thu, 17 Oct 2024 12:18:22 -0400 (EDT) |
Update of bug #59005 (group gettext):
Status: None => Answer Provided
Assigned to: None => haible
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #3:
When a translation for "2 weeks" shall look different than a translation for
"3 weeks", "4 weeks", etc., the Plural-Forms formula needs to be adjusted, to
cover three cases: n == 1, n == 2, and otherwise.
Unfortunately this affects all plural messages in the PO file; you cannot do
it for a single message. But anyway.
Here is an example (also as an attachment):
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: Hebrew\n"
"Language: he\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n == 1 ? 0 : n == 2 ? 1 : 2);\n"
msgid "one week"
msgid_plural "%d weeks"
msgstr[0] "שבוע אחד"
msgstr[1] "שבועיים"
msgstr[2] "שבועות %d"
(file #56550)
_______________________________________________________
Additional Item Attachment:
File name: he.po Size: 431B
<https://file.savannah.gnu.org/file/he.po?file_id=56550>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-a0d195b6c3392c5f36ab8952df55e848831b569e.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59005>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #59005] Can't translate strings properly to Hebrew and Arabic,
Bruno Haible <=