git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/3] po/README: document "core translation"

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
Mar 11, 2021, 12:55 UTC
Message-ID
<20210311125511.51152-3-bagasdotme@gmail.com>
In-Reply-To
<20210311125511.51152-1-bagasdotme@gmail.com>

We now expect new language translations to have core subset of 5000+ messages translated for these to be merged. If it hasn't been done yet, do so by first generate core PO, then do translation work there, merge it back to main PO (XX.po), and fix any "fuzzy" errors.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 po/README | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
diff --git a/po/README b/po/README
index 9beffc2954..eda7edf4e6 100644
--- a/po/README
+++ b/po/README
@@ -39,6 +39,42 @@ coordinate among yourselves and nominate the team leader for your
 language, so that the l10n coordinator only needs to interact with one
 person per language.
 
+Because there are now over 5000 messages that needs to be translated,
+we expect to complete translation for core subset of messages before
+a new language translation can be merged. See "Core translation"
+below.
+
+
+Core translation
+----------------
+The core translation file, core-XX.po, covers some of commonly used
+commands:
+
+  - wt-status.c
+  - builtin/clone.c
+  - builtin/checkout.c
+  - builtin/index-pack.c
+  - builtin/push.c
+  - builtin/reset.c
+
+To generate core-XX.po, install the helper script (see "PO Helper")
+and check the main PO file:
+
+    cd po/
+    po-helper.sh check id.po
+
+This will generate po/core-XX.po and corresponding po/core-XX.pot
+template. Now complete the translation in po/core-XX.po.
+
+When it is completed, merge core translation back to main PO file:
+
+    msgcat core-XX.po XX.po -s -o /tmp/XX.po
+    mv /tmp/XX.po XX.po
+    msgmerge --add-location --backup=off -U XX.po git.pot
+
+Fix any "fuzzy" errors that occurs, such as misplaced translated
+messages and duplicate messages.
+
 
 Translation Process Flow
 ------------------------
-- 
2.25.1
Previous: Jiang XinNext: Jiang Xin
Message 12 of 13 in “po/README: document miscellaneous topics mentioned by l10n coordinator”
  1. 0/3 po/README: document miscellaneous topics mentioned by l10n coordinatorBagas Sanjaya, Mar 11, 2021
  2. 3/3 po/README: document l10n conventionsBagas Sanjaya, Mar 11, 2021
  3. Bagas SanjayaMar 11, 2021
  4. Jiang XinMar 12, 2021
  5. Bagas SanjayaMar 12, 2021
  6. 1/3 po/README: document PO helperBagas Sanjaya, Mar 11, 2021
  7. Jiang XinMar 12, 2021
  8. Junio C HamanoMar 12, 2021
  9. Bagas SanjayaMar 12, 2021
  10. Jiang XinMay 13, 2021
  11. Jiang XinMay 27, 2021
  12. 2/3 po/README: document "core translation"Bagas Sanjaya, Mar 11, 2021
  13. Jiang XinMar 12, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.