X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Makefile.gen;h=54aeb5f407926782156192c858692ce6adfd922f;hb=3ec4ca8caae982aef5b644190d6972f36f71ebb2;hp=98aabe479aa869ab153756b8fc107060593df714;hpb=caf2dc6edc24b3afcf742e108180b16115882ead;p=enc.git diff --git a/Makefile.gen b/Makefile.gen index 98aabe47..54aeb5f4 100644 --- a/Makefile.gen +++ b/Makefile.gen @@ -1,6 +1,6 @@ # This source code is released in public domain. -# Author Tomas Stary (2016) +# Author Tomas Stary (2016) # Thanks for helpfull discussion to Thérèse Godefroy # this Makefile.gen is used to generate the translated html files from the @@ -11,10 +11,23 @@ # usage: make -f Makefile.gen +# IMPORTANT +# 1. Make sure your esd-LANG.po is encoded in unix format (end +# of line \n, not DOS \n\r), otherwise po4a-translate complains +# about strange lines. +# 2. Before generating a page for publication, make sure the PO has no +# untranslated or fuzzy strings, otherwise the translation will be +# interspersed with English strings. + + +# In LANG add the code(s) of the language(s) you intend to translate +LANG=de + # flags for the po4a-getextize PO4A_FLAGS=-M utf-8 -f xhtml --keep 30 -o porefs=none \ -o 'untranslated=