From c17b1df8a2fdc9484a237280809276efde308b9f Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 7 Jul 2021 20:34:14 -0300 Subject: Put pofiles under po/, use one folder for each translated file. This is an improvement over 67f7c956239a7bc811a1d655d389666048e45fc3, and a final step for #task-7c5cd2aa-6d92-0423-bfa7-81f2e8436586. Now instead of trying to convince po4a and mdpo to work together, each tools gets it own folder and a pofile for each language. This means that if I want to translate files FOO.md and a-dir/BAR.txt to pt and fr, the directory structure of po/ will be: po/ FOO.md/ pt.po fr.po a-dir/ BAR.txt/ pt.po fr.po The po/ folder mirrors the directory structure of the input files, also nesting down directories. This way mdpo can do extration and update on its own way, and po4a can do extraction and update on its on way. The downside is that some translations will be duplicated, because they can appear on more than one file. --- aux/guix/manifest.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'aux/guix') diff --git a/aux/guix/manifest.scm b/aux/guix/manifest.scm index b6075f4..58dbc6e 100644 --- a/aux/guix/manifest.scm +++ b/aux/guix/manifest.scm @@ -14,6 +14,7 @@ pandoc gettext po4a-text + mdpo-patched hunspell hunspell-dict-en-utf8 hunspell-dict-pt-utf8 -- cgit v1.2.3