Skip to contentSkip to conversation

po/hi.po: Add Hindi Translation

PATCH In review Ramkumar Ramachandra 4 participants 8 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 po/hi.po: Add Hindi Translation

Translate a few Git messages to Standard Hindi. It uses a phonetic script called Devanagari. Focus especially on transforming grammar and tense in a sane manner to serve as a guideline for future translators.

Note that Devanagari rendering is broken on many applications by default at this time- the latest Emacs, Vim and Chrome render it incorrectly.

---
Thanks to Antriksh's reviews, we have some more improvements/ corrections. I've also squashed in a few more of my own. I haven't addressed the issue of using "complex or imprecise Hindi words" versus "transliteration" fully because I've received several conflicting opinions from existing Indian translators on this issue. The central issue is that Hindi is seldom used in the field of science. I think the best solution is to commit this revision and let hi.po evolve naturally as future translators contribute more translations.

 po/hi.po |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 67 insertions(+), 0 deletions(-)
 create mode 100644 po/hi.po
po/hi.po new file +67 -0
new file mode 100644
index 0000000..46fd544
@@ -0,0 +1,67 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Git\n"
+"Report-Msgid-Bugs-To: Git Mailing List <[email protected]>\n"
+"Language-Team: Git Mailing List <[email protected]>\n"
+"Last-Translator: Ramkumar Ramachandra <[email protected]>\n"
+"POT-Creation-Date: 2010-09-05 16:05+0530\n"
+"Language: hi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#, c-format
+msgid "Could not make %s writable by group"
+msgstr "%s को समूह द्वारा लिखने की इजाज़त नही दे सके"
+
+#, c-format
+msgid "insanely long template name %s"
+msgstr "टेम्पलेट %s का नाम अत्यंत लंबा"
+
+#, c-format
+msgid "cannot stat '%s'"
+msgstr "'%s' को [stat] नहीं कर सके"
+
+#, c-format
+msgid "cannot stat template '%s'"
+msgstr "टेम्पलेट '%s' को [stat] नहीं कर सके"
+
+#, c-format
+msgid "cannot opendir '%s'"
+msgstr "निर्देशिका '%s' नहीं खोल सके"
+
+#, c-format
+msgid "cannot readlink '%s'"
+msgstr "लिंक '%s' नहीं पढ़ सके"
+
+#, c-format
+msgid "insanely long symlink %s"
+msgstr "प्रतीकात्मक लिंक %s अत्यंत लंबा"
+
+#, c-format
+msgid "cannot symlink '%s' '%s'"
+msgstr "'%s' का प्रतीकात्मक लिंक '%s' में नहीं बना सके"
+
+#, c-format
+msgid "cannot copy '%s' to '%s'"
+msgstr "'%s' की अनुकृति '%s' में नहीं कर सके"
+
+#, c-format
+msgid "ignoring template %s"
+msgstr "टेम्पलेट %s की उपेक्षा कर रहे हैं"
+
+#, c-format
+msgid "insanely long template path %s"
+msgstr "टेम्पलेट %s की [path] अत्यंत लंबा"
+
+#, c-format
+msgid "templates not found %s"
+msgstr "टेम्पलेट %s नहीं मिला"
+
+#, c-format
+msgid "not copying templates of a wrong format version %d from '%s'"
+msgstr "'%s' से गलत स्वरूप संस्करण %d के टेम्पलेट्स की नकल नहीं कर रहे हैं"
+
+#, c-format
+msgid "insane git directory %s"
+msgstr "खराब गिट निर्देशिका %s"
Signature · 1 line
1.7.2.2.409.gdbb11.dirty
Acked-by on v2 1/1
#1 lore raw

Dude

Sorry about a couple of picks again. Hindi's insane gender usage for objects can be
daunting!

Quoted 78 lines · Ramkumar Ramachandra

Translate a few Git messages to Standard Hindi. It uses a phonetic script called Devanagari. Focus especially on transforming grammar and tense in a sane manner to serve as a guideline for future translators.

Note that Devanagari rendering is broken on many applications by default at this time- the latest Emacs, Vim and Chrome render it incorrectly.

---
 Thanks to Antriksh's reviews, we have some more improvements/ corrections. I've also squashed in a few more of my own. I haven't addressed the issue of using "complex or imprecise Hindi words" versus "transliteration" fully because I've received several conflicting opinions from existing Indian translators on this issue. The central issue is that Hindi is seldom used in the field of science. I think the best solution is to commit this revision and let hi.po evolve naturally as future translators contribute more translations.

 po/hi.po |   67
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 1 files changed, 67 insertions(+), 0 deletions(-)

 create mode 100644 po/hi.po

po/hi.po new file +45 -0
new file mode 100644
index 0000000..46fd544
@@ -0,0 +1,67 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Git\n"
+"Report-Msgid-Bugs-To: Git Mailing List <[email protected]>\n"
+"Language-Team: Git Mailing List <[email protected]>\n"
+"Last-Translator: Ramkumar Ramachandra <[email protected]>\n"
+"POT-Creation-Date: 2010-09-05 16:05+0530\n"
+"Language: hi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#, c-format
+msgid "Could not make %s writable by group"
+msgstr "%s को समूह द्वारा लिखने की इजाज़त नही दे सके"
+
+#, c-format
+msgid "insanely long template name %s"
+msgstr "टेम्पलेट %s का नाम अत्यंत लंबा"
+
+#, c-format
+msgid "cannot stat '%s'"
+msgstr "'%s' को [stat] नहीं कर सके"
+
+#, c-format
+msgid "cannot stat template '%s'"
+msgstr "टेम्पलेट '%s' को [stat] नहीं कर सके"
+
+#, c-format
+msgid "cannot opendir '%s'"
+msgstr "निर्देशिका '%s' नहीं खोल सके"
+
+#, c-format
+msgid "cannot readlink '%s'"
+msgstr "लिंक '%s' नहीं पढ़ सके"
+
+#, c-format
+msgid "insanely long symlink %s"
+msgstr "प्रतीकात्मक लिंक %s अत्यंत लंबा"
+
+#, c-format
+msgid "cannot symlink '%s' '%s'"
+msgstr "'%s' का प्रतीकात्मक लिंक '%s' में नहीं बना सके"
+
+#, c-format

po/hi.po line 55

Quoted 10 lines
po/hi.po new file +10 -0
+msgid "cannot copy '%s' to '%s'"
+msgstr "'%s' की अनुकृति '%s' में नहीं कर सके"
+
+#, c-format
+msgid "ignoring template %s"
+msgstr "टेम्पलेट %s की उपेक्षा कर रहे हैं"
+
+#, c-format
+msgid "insanely long template path %s"
+msgstr "टेम्पलेट %s की [path] अत्यंत लंबा"

Now this would become 'ka', 'path' being masculine :)

po/hi.po line 59

Quoted 4 lines
po/hi.po new file +4 -0
+
+#, c-format
+msgid "templates not found %s"
+msgstr "टेम्पलेट %s नहीं मिला"

This can instead be "टेम्पलेट्स %s नहीं मिले" to keep the plural form. Also, the '%s' here indicates a template directory, so in the Hindi version also you may want to stick it at the end.

Quoted 9 lines
po/hi.po new file +8 -1
+
+#, c-format
+msgid "not copying templates of a wrong format version %d from '%s'"
+msgstr "'%s' से गलत स्वरूप संस्करण %d के टेम्पलेट्स की नकल नहीं कर रहे हैं"
+
+#, c-format
+msgid "insane git directory %s"
+msgstr "खराब गिट निर्देशिका %s"
--
Quoted 3 lines

1.7.2.2.409.gdbb11.dirty

If this patch is being taken in, looks good for a first draft. And if I may,

author Acked-by Antriksh Pany
#2 lore raw

Hi,

Quoted 5 lines · Antriksh Pany

Review

Quoted 3 lines
(quoted diff) +3 -0
+#, c-format
+msgid "insanely long template path %s"
+msgstr "टेम्पलेट %s की [path] अत्यंत लंबा"

Now this would become 'ka', 'path' being masculine :)

Fixed, thanks.

Quoted 8 lines

Review

Quoted 4 lines
(quoted diff) +4 -0
+
+#, c-format
+msgid "templates not found %s"
+msgstr "टेम्पलेट %s नहीं मिला"

This can instead be "टेम्पलेट्स %s नहीं मिले" to keep the plural form. Also, the '%s' here indicates a template directory, so in the Hindi version also you may want to stick it at the end.

Fixed, thanks.

Quoted 2 lines

If this patch is being taken in, looks good for a first draft. And if I may,

Thanks. Here's a new version.

-- 8< --
From: Ramkumar Ramachandra <[email protected]>
Date: Sun, 5 Sep 2010 23:49:38 +0530
Subject: [PATCH] po/hi.po: Add Hindi Translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Translate a few Git messages to Standard Hindi. It uses a phonetic script called Devanagari. Focus especially on transforming grammar and tense in a sane manner to serve as a guideline for future translators.

Note that Devanagari rendering is broken on many applications by default at this time- the latest Emacs, Vim and Chrome render it incorrectly.

Cc Sitaram Chamarty <[email protected]>
Cc Ævar Arnfjörð Bjarmason <[email protected]>
---
 po/hi.po |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 67 insertions(+), 0 deletions(-)
 create mode 100644 po/hi.po
po/hi.po new file +67 -0
new file mode 100644
index 0000000..85890fa
@@ -0,0 +1,67 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Git\n"
+"Report-Msgid-Bugs-To: Git Mailing List <[email protected]>\n"
+"Language-Team: Git Mailing List <[email protected]>\n"
+"Last-Translator: Ramkumar Ramachandra <[email protected]>\n"
+"POT-Creation-Date: 2010-09-05 16:05+0530\n"
+"Language: hi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#, c-format
+msgid "Could not make %s writable by group"
+msgstr "%s को समूह द्वारा लिखने की इजाज़त नही दे सके"
+
+#, c-format
+msgid "insanely long template name %s"
+msgstr "टेम्पलेट %s का नाम अत्यंत लंबा"
+
+#, c-format
+msgid "cannot stat '%s'"
+msgstr "'%s' को [stat] नहीं कर सके"
+
+#, c-format
+msgid "cannot stat template '%s'"
+msgstr "टेम्पलेट '%s' को [stat] नहीं कर सके"
+
+#, c-format
+msgid "cannot opendir '%s'"
+msgstr "निर्देशिका '%s' नहीं खोल सके"
+
+#, c-format
+msgid "cannot readlink '%s'"
+msgstr "लिंक '%s' नहीं पढ़ सके"
+
+#, c-format
+msgid "insanely long symlink %s"
+msgstr "प्रतीकात्मक लिंक %s अत्यंत लंबा"
+
+#, c-format
+msgid "cannot symlink '%s' '%s'"
+msgstr "'%s' का प्रतीकात्मक लिंक '%s' में नहीं बना सके"
+
+#, c-format
+msgid "cannot copy '%s' to '%s'"
+msgstr "'%s' की अनुकृति '%s' में नहीं कर सके"
+
+#, c-format
+msgid "ignoring template %s"
+msgstr "टेम्पलेट %s की उपेक्षा कर रहे हैं"
+
+#, c-format
+msgid "insanely long template path %s"
+msgstr "टेम्पलेट %s का [path] अत्यंत लंबा"
+
+#, c-format
+msgid "templates not found %s"
+msgstr "टेम्पलेट्स नहीं मिले: %s"
+
+#, c-format
+msgid "not copying templates of a wrong format version %d from '%s'"
+msgstr "'%s' से गलत स्वरूप संस्करण %d के टेम्पलेट्स की नकल नहीं कर रहे हैं"
+
+#, c-format
+msgid "insane git directory %s"
+msgstr "खराब गिट निर्देशिका %s"
Signature · 1 line
1.7.2.2.409.gdbb11.dirty
#3 lore raw

Hi,

Quoted 11 lines · Ramkumar Ramachandra

From: Ramkumar Ramachandra <[email protected]>
Date: Sun, 5 Sep 2010 23:49:38 +0530
Subject: [PATCH] po/hi.po: Add Hindi Translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Translate a few Git messages to Standard Hindi. It uses a phonetic script called Devanagari. Focus especially on transforming grammar and tense in a sane manner to serve as a guideline for future translators.

Quoted 8 lines

Note that Devanagari rendering is broken on many applications by default at this time- the latest Emacs, Vim and Chrome render it incorrectly.

Cc Sitaram Chamarty <[email protected]>
Cc Ævar Arnfjörð Bjarmason <[email protected]>

Couple of silly mistakes that were breaking the build spotted by Ævar. Here's the diff.

-- 8< --

po/hi.po +2 -1
index 85890fa..8f25f02 100644
@@ -2,6 +2,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Git\n"
 "Report-Msgid-Bugs-To: Git Mailing List <[email protected]>\n"
+"PO-Revision-Date: 2010-09-09 20:55+0530\n"
 "Language-Team: Git Mailing List <[email protected]>\n"
 "Last-Translator: Ramkumar Ramachandra <[email protected]>\n"
 "POT-Creation-Date: 2010-09-05 16:05+0530\n"
@@ -60,7 +61,7 @@ msgstr "टेम्पलेट्स नहीं मिले: %s"
 
 #, c-format
 msgid "not copying templates of a wrong format version %d from '%s'"
-msgstr "'%s' से गलत स्वरूप संस्करण %d के टेम्पलेट्स की नकल नहीं कर रहे हैं"
+msgstr "'%2$s' से गलत स्वरूप संस्करण %1$d के टेम्पलेट्स की नकल नहीं कर रहे हैं"
 
 #, c-format
 msgid "insane git directory %s"
#4 lore raw
Quoted 16 lines · Ramkumar Ramachandra

Couple of silly mistakes that were breaking the build spotted by Ævar. Here's the diff.

po/hi.po +0 -0
@@ -2,6 +2,7 @@ msgid ""

 msgstr ""
 "Project-Id-Version: Git\n"
 "Report-Msgid-Bugs-To: Git Mailing List <[email protected]>\n" +"PO-Revision-Date: 2010-09-09 20:55+0530\n" "Language-Team: Git Mailing List <[email protected]>\n" "Last-Translator: Ramkumar Ramachandra <[email protected]>\n" "POT-Creation-Date: 2010-09-05 16:05+0530\n"

po/hi.po +0 -0
@@ -60,7 +61,7 @@ msgstr "टेम्पलेट्स नहीं मिले: %s"
 
  #, c-format

 msgid "not copying templates of a wrong format version %d from '%s'"

po/hi.po msgstr "टेम्पलेट्स नहीं मिले: %s" · line 64

Quoted 2 lines
po/hi.po +1 -1
-msgstr "'%s' से गलत स्वरूप संस्करण %d के टेम्पलेट्स की नकल नहीं कर रहे हैं"
+msgstr "'%2$s' से गलत स्वरूप संस्करण %1$d के टेम्पलेट्स की नकल नहीं कर रहे हैं"

Both look good to me, thanks.

In the future I'll add a bit to po/README about how you need to run msgfmt --check (or just make at the top-level) when submitting *.po files.

We might also want to drop --check and use --check-format (i.e. not --check-header) and maybe --check-domain too. But that's something to fix another day.

#5 lore raw
In reply to Ramkumar Ramachandra
Quoted 3 lines · Ramkumar Ramachandra

Note that Devanagari rendering is broken on many applications by default at this time- the latest Emacs, Vim and Chrome render it incorrectly.

Is this still the case in emacs 23.2? If so, can you send bug reports about it (I thought devanagari rendering was more or less supposed to have been all fixed up by now)?

Thanks,

-Miles

Signature · 1 line
Year, n. A period of three hundred and sixty-five disappointments.
#6 lore raw

Hi Miles,

Quoted 8 lines · Miles Bader
Quoted 3 lines · Ramkumar Ramachandra

Note that Devanagari rendering is broken on many applications by default at this time- the latest Emacs, Vim and Chrome render it incorrectly.

Is this still the case in emacs 23.2? If so, can you send bug reports about it (I thought devanagari rendering was more or less supposed to have been all fixed up by now)?

I'm using the latest Bzr HEAD, and this doesn't seem to be fixed. If you can email me off-list with some basic information on what to look for, I can probably write a useful bug-report and probably even a patch.

Thanks.

-- Ram

#7 lore raw
In reply to Miles Bader
Quoted 8 lines · Miles Bader
Quoted 3 lines · Ramkumar Ramachandra

Note that Devanagari rendering is broken on many applications by default at this time- the latest Emacs, Vim and Chrome render it incorrectly.

Is this still the case in emacs 23.2?  If so, can you send bug reports about it (I thought devanagari rendering was more or less supposed to have been all fixed up by now)?

It works for me if I follow the instructions at
http://www.emacswiki.org/emacs/SupportHindi

On 23.1.1, and only if I launch Emacs in X, not in the Gnome Terminal, but there fonts are GNOME's problem presumably.