summaryrefslogtreecommitdiffstats
path: root/t/cfg
diff options
context:
space:
mode:
Diffstat (limited to 't/cfg')
-rw-r--r--t/cfg/args-alias-redef/_man.de.112
-rw-r--r--t/cfg/args-alias-redef/_man.es.112
-rw-r--r--t/cfg/args-alias-redef/_man.fr.112
-rw-r--r--t/cfg/args-alias-redef/_man.it.112
-rw-r--r--t/cfg/args-alias-redef/_output6
-rw-r--r--t/cfg/args-alias-redef/args.de.po43
-rw-r--r--t/cfg/args-alias-redef/args.es.po43
-rw-r--r--t/cfg/args-alias-redef/args.fr.po43
-rw-r--r--t/cfg/args-alias-redef/args.it.po43
-rw-r--r--t/cfg/args-alias-redef/man.17
-rw-r--r--t/cfg/args-alias-redef/po4a.conf11
-rw-r--r--t/cfg/args-alias/_man.de.112
-rw-r--r--t/cfg/args-alias/_man.es.112
-rw-r--r--t/cfg/args-alias/_man.fr.112
-rw-r--r--t/cfg/args-alias/_man.fr.212
-rw-r--r--t/cfg/args-alias/_man.it.112
-rw-r--r--t/cfg/args-alias/_man.it.212
-rw-r--r--t/cfg/args-alias/_output10
-rw-r--r--t/cfg/args-alias/_output-keep10010
-rw-r--r--t/cfg/args-alias/args.de.po43
-rw-r--r--t/cfg/args-alias/args.es.po43
-rw-r--r--t/cfg/args-alias/args.fr.po43
-rw-r--r--t/cfg/args-alias/args.it.po43
-rw-r--r--t/cfg/args-alias/man.17
-rw-r--r--t/cfg/args-alias/man.27
-rw-r--r--t/cfg/args-alias/po4a.conf7
-rw-r--r--t/cfg/args-global/_man.de.112
-rw-r--r--t/cfg/args-global/_man.es.112
-rw-r--r--t/cfg/args-global/_man.fr.112
-rw-r--r--t/cfg/args-global/_man.it.112
-rw-r--r--t/cfg/args-global/_output6
-rw-r--r--t/cfg/args-global/_output-keep1006
-rw-r--r--t/cfg/args-global/args.de.po43
-rw-r--r--t/cfg/args-global/args.es.po43
-rw-r--r--t/cfg/args-global/args.fr.po43
-rw-r--r--t/cfg/args-global/args.it.po43
-rw-r--r--t/cfg/args-global/man.17
-rw-r--r--t/cfg/args-global/po4a.conf6
-rw-r--r--t/cfg/args-master/_man.de.112
-rw-r--r--t/cfg/args-master/_man.es.112
-rw-r--r--t/cfg/args-master/_man.fr.112
-rw-r--r--t/cfg/args-master/_man.fr.212
-rw-r--r--t/cfg/args-master/_man.it.112
-rw-r--r--t/cfg/args-master/_man.it.212
-rw-r--r--t/cfg/args-master/_output6
-rw-r--r--t/cfg/args-master/_output-keep1006
-rw-r--r--t/cfg/args-master/args.de.po43
-rw-r--r--t/cfg/args-master/args.es.po43
-rw-r--r--t/cfg/args-master/args.fr.po43
-rw-r--r--t/cfg/args-master/args.it.po43
-rw-r--r--t/cfg/args-master/man.17
-rw-r--r--t/cfg/args-master/man.27
-rw-r--r--t/cfg/args-master/po4a.conf5
-rw-r--r--t/cfg/multiple-fuzzied-noup/_multiple.de.po41
-rw-r--r--t/cfg/multiple-fuzzied-noup/_multiple.es.po40
-rw-r--r--t/cfg/multiple-fuzzied-noup/_multiple.fr.po41
-rw-r--r--t/cfg/multiple-fuzzied-noup/_multiple.it.po40
-rw-r--r--t/cfg/multiple-fuzzied-noup/_output6
-rw-r--r--t/cfg/multiple-fuzzied-noup/multiple.de.po39
-rw-r--r--t/cfg/multiple-fuzzied-noup/multiple.es.po39
-rw-r--r--t/cfg/multiple-fuzzied-noup/multiple.fr.po39
-rw-r--r--t/cfg/multiple-fuzzied-noup/multiple.it.po39
-rw-r--r--t/cfg/multiple-fuzzied-noup/multiple.man.15
-rw-r--r--t/cfg/multiple-fuzzied-noup/multiple.man.de.110
-rw-r--r--t/cfg/multiple-fuzzied-noup/multiple.man.es.110
-rw-r--r--t/cfg/multiple-fuzzied-noup/multiple.man.fr.110
-rw-r--r--t/cfg/multiple-fuzzied-noup/multiple.man.it.110
-rw-r--r--t/cfg/multiple-fuzzied-noup/multiple.pot39
-rw-r--r--t/cfg/multiple-fuzzied-noup/po4a.conf5
-rw-r--r--t/cfg/multiple-fuzzied/_multiple.de.po41
-rw-r--r--t/cfg/multiple-fuzzied/_multiple.es.po40
-rw-r--r--t/cfg/multiple-fuzzied/_multiple.fr.po41
-rw-r--r--t/cfg/multiple-fuzzied/_multiple.it.po40
-rw-r--r--t/cfg/multiple-fuzzied/_output9
-rw-r--r--t/cfg/multiple-fuzzied/multiple.de.po39
-rw-r--r--t/cfg/multiple-fuzzied/multiple.es.po39
-rw-r--r--t/cfg/multiple-fuzzied/multiple.fr.po39
-rw-r--r--t/cfg/multiple-fuzzied/multiple.it.po39
-rw-r--r--t/cfg/multiple-fuzzied/multiple.man.15
-rw-r--r--t/cfg/multiple-fuzzied/multiple.man.de.110
-rw-r--r--t/cfg/multiple-fuzzied/multiple.man.es.110
-rw-r--r--t/cfg/multiple-fuzzied/multiple.man.fr.110
-rw-r--r--t/cfg/multiple-fuzzied/multiple.man.it.110
-rw-r--r--t/cfg/multiple-fuzzied/multiple.pot39
-rw-r--r--t/cfg/multiple-fuzzied/po4a.conf5
-rw-r--r--t/cfg/multiple-fuzzy/_output9
-rw-r--r--t/cfg/multiple-fuzzy/multiple.de.po40
-rw-r--r--t/cfg/multiple-fuzzy/multiple.es.po39
-rw-r--r--t/cfg/multiple-fuzzy/multiple.fr.po40
-rw-r--r--t/cfg/multiple-fuzzy/multiple.it.po39
-rw-r--r--t/cfg/multiple-fuzzy/multiple.man.15
-rw-r--r--t/cfg/multiple-fuzzy/multiple.man.de.110
-rw-r--r--t/cfg/multiple-fuzzy/multiple.man.es.110
-rw-r--r--t/cfg/multiple-fuzzy/multiple.man.fr.110
-rw-r--r--t/cfg/multiple-fuzzy/multiple.man.it.110
-rw-r--r--t/cfg/multiple-fuzzy/multiple.pot39
-rw-r--r--t/cfg/multiple-fuzzy/po4a.conf5
-rw-r--r--t/cfg/multiple-newstr/_multiple.de.po45
-rw-r--r--t/cfg/multiple-newstr/_multiple.es.po45
-rw-r--r--t/cfg/multiple-newstr/_multiple.fr.po45
-rw-r--r--t/cfg/multiple-newstr/_multiple.it.po45
-rw-r--r--t/cfg/multiple-newstr/_output9
-rw-r--r--t/cfg/multiple-newstr/multiple.de.po39
-rw-r--r--t/cfg/multiple-newstr/multiple.es.po39
-rw-r--r--t/cfg/multiple-newstr/multiple.fr.po39
-rw-r--r--t/cfg/multiple-newstr/multiple.it.po39
-rw-r--r--t/cfg/multiple-newstr/multiple.man.17
-rw-r--r--t/cfg/multiple-newstr/multiple.man.de.112
-rw-r--r--t/cfg/multiple-newstr/multiple.man.es.112
-rw-r--r--t/cfg/multiple-newstr/multiple.man.fr.112
-rw-r--r--t/cfg/multiple-newstr/multiple.man.it.112
-rw-r--r--t/cfg/multiple-newstr/multiple.pot45
-rw-r--r--t/cfg/multiple-newstr/po4a.conf5
-rw-r--r--t/cfg/multiple-nopo/_multiple.de.po39
-rw-r--r--t/cfg/multiple-nopo/_multiple.es.po39
-rw-r--r--t/cfg/multiple-nopo/_multiple.fr.po39
-rw-r--r--t/cfg/multiple-nopo/_multiple.it.po39
-rw-r--r--t/cfg/multiple-nopo/_output9
-rw-r--r--t/cfg/multiple-nopo/_output-noupdate6
-rw-r--r--t/cfg/multiple-nopo/multiple.man.15
-rw-r--r--t/cfg/multiple-nopo/multiple.pot39
-rw-r--r--t/cfg/multiple-nopo/po4a.conf5
-rw-r--r--t/cfg/multiple-nopotpo/_multiple.de.po39
-rw-r--r--t/cfg/multiple-nopotpo/_multiple.es.po39
-rw-r--r--t/cfg/multiple-nopotpo/_multiple.fr.po39
-rw-r--r--t/cfg/multiple-nopotpo/_multiple.it.po39
-rw-r--r--t/cfg/multiple-nopotpo/_multiple.pot39
-rw-r--r--t/cfg/multiple-nopotpo/_output9
-rw-r--r--t/cfg/multiple-nopotpo/multiple.man.15
-rw-r--r--t/cfg/multiple-nopotpo/po4a.conf5
-rw-r--r--t/cfg/multiple-potin/_multiple.man.de.114
-rw-r--r--t/cfg/multiple-potin/_multiple.man.es.114
-rw-r--r--t/cfg/multiple-potin/_multiple.man.fr.114
-rw-r--r--t/cfg/multiple-potin/_multiple.man.it.114
-rw-r--r--t/cfg/multiple-potin/_output9
-rw-r--r--t/cfg/multiple-potin/multiple-filtered.man.15
-rw-r--r--t/cfg/multiple-potin/multiple.de.po39
-rw-r--r--t/cfg/multiple-potin/multiple.es.po39
-rw-r--r--t/cfg/multiple-potin/multiple.fr.po39
-rw-r--r--t/cfg/multiple-potin/multiple.it.po39
-rw-r--r--t/cfg/multiple-potin/multiple.man.19
-rw-r--r--t/cfg/multiple-potin/multiple.pot39
-rw-r--r--t/cfg/multiple-potin/po4a.conf5
-rw-r--r--t/cfg/multiple-uptodate/_output9
-rw-r--r--t/cfg/multiple-uptodate/_output-only-one4
-rw-r--r--t/cfg/multiple-uptodate/_output-only-two5
-rw-r--r--t/cfg/multiple-uptodate/multiple.de.po39
-rw-r--r--t/cfg/multiple-uptodate/multiple.es.po39
-rw-r--r--t/cfg/multiple-uptodate/multiple.fr.po39
-rw-r--r--t/cfg/multiple-uptodate/multiple.it.po39
-rw-r--r--t/cfg/multiple-uptodate/multiple.man.15
-rw-r--r--t/cfg/multiple-uptodate/multiple.man.de.110
-rw-r--r--t/cfg/multiple-uptodate/multiple.man.es.110
-rw-r--r--t/cfg/multiple-uptodate/multiple.man.fr.110
-rw-r--r--t/cfg/multiple-uptodate/multiple.man.it.110
-rw-r--r--t/cfg/multiple-uptodate/multiple.pot39
-rw-r--r--t/cfg/multiple-uptodate/po4a.conf5
-rw-r--r--t/cfg/multiple/_multiple.man.de.110
-rw-r--r--t/cfg/multiple/_multiple.man.es.110
-rw-r--r--t/cfg/multiple/_multiple.man.fr.110
-rw-r--r--t/cfg/multiple/_multiple.man.it.110
-rw-r--r--t/cfg/multiple/_output9
-rw-r--r--t/cfg/multiple/multiple.de.po39
-rw-r--r--t/cfg/multiple/multiple.es.po39
-rw-r--r--t/cfg/multiple/multiple.fr.po39
-rw-r--r--t/cfg/multiple/multiple.it.po39
-rw-r--r--t/cfg/multiple/multiple.man.15
-rw-r--r--t/cfg/multiple/multiple.pot39
-rw-r--r--t/cfg/multiple/po4a.conf5
-rw-r--r--t/cfg/single-emptypo/_fr.po39
-rw-r--r--t/cfg/single-emptypo/_output3
-rw-r--r--t/cfg/single-emptypo/_single.man.fr.110
-rw-r--r--t/cfg/single-emptypo/fr.po0
-rw-r--r--t/cfg/single-emptypo/po4a.conf5
-rw-r--r--t/cfg/single-emptypo/single.man.15
-rw-r--r--t/cfg/single-emptypo/single.pot39
-rw-r--r--t/cfg/single-fuzzied-noup/_output3
-rw-r--r--t/cfg/single-fuzzied-noup/_single-fuzzied.fr.po40
-rw-r--r--t/cfg/single-fuzzied-noup/po4a.conf5
-rw-r--r--t/cfg/single-fuzzied-noup/single-fuzzied-noup.fr.po39
-rw-r--r--t/cfg/single-fuzzied-noup/single-fuzzied-noup.man.15
-rw-r--r--t/cfg/single-fuzzied-noup/single-fuzzied-noup.pot39
-rw-r--r--t/cfg/single-fuzzied/_output3
-rw-r--r--t/cfg/single-fuzzied/_single-fuzzied.fr.po40
-rw-r--r--t/cfg/single-fuzzied/po4a.conf5
-rw-r--r--t/cfg/single-fuzzied/single-fuzzied.fr.po39
-rw-r--r--t/cfg/single-fuzzied/single-fuzzied.man.15
-rw-r--r--t/cfg/single-fuzzied/single-fuzzied.pot39
-rw-r--r--t/cfg/single-fuzzy/_output3
-rw-r--r--t/cfg/single-fuzzy/po4a.conf5
-rw-r--r--t/cfg/single-fuzzy/single-fuzzy.fr.po39
-rw-r--r--t/cfg/single-fuzzy/single-fuzzy.man.15
-rw-r--r--t/cfg/single-fuzzy/single-fuzzy.pot39
-rw-r--r--t/cfg/single-invalid/_output8
-rw-r--r--t/cfg/single-invalid/po4a.conf5
-rw-r--r--t/cfg/single-invalid/single.fr.po39
-rw-r--r--t/cfg/single-invalid/single.man.15
-rw-r--r--t/cfg/single-invalid/single.man.fr.110
-rw-r--r--t/cfg/single-invalid/single.pot39
-rw-r--r--t/cfg/single-newstr/_output3
-rw-r--r--t/cfg/single-newstr/_single-newstr.fr.po45
-rw-r--r--t/cfg/single-newstr/_single-newstr.man.fr.112
-rw-r--r--t/cfg/single-newstr/_single-newstr.pot45
-rw-r--r--t/cfg/single-newstr/po4a.conf6
-rw-r--r--t/cfg/single-newstr/single-newstr.fr.po39
-rw-r--r--t/cfg/single-newstr/single-newstr.man.17
-rw-r--r--t/cfg/single-newstr/single-newstr.pot39
-rw-r--r--t/cfg/single-nopo/_output3
-rw-r--r--t/cfg/single-nopo/_output-noupdate3
-rw-r--r--t/cfg/single-nopo/_single.fr.po39
-rw-r--r--t/cfg/single-nopo/po4a.conf5
-rw-r--r--t/cfg/single-nopo/single.man.15
-rw-r--r--t/cfg/single-nopo/single.pot39
-rw-r--r--t/cfg/single-nopotpo/_output3
-rw-r--r--t/cfg/single-nopotpo/_single.fr.po39
-rw-r--r--t/cfg/single-nopotpo/_single.pot39
-rw-r--r--t/cfg/single-nopotpo/po4a.conf5
-rw-r--r--t/cfg/single-nopotpo/single.man.15
-rw-r--r--t/cfg/single-podirectory-emptypot-emptypo/_fr.po.expected39
-rw-r--r--t/cfg/single-podirectory-emptypot-emptypo/_output6
-rw-r--r--t/cfg/single-podirectory-emptypot-emptypo/_single.pot.expected39
-rw-r--r--t/cfg/single-podirectory-emptypot-emptypo/fr.po0
-rw-r--r--t/cfg/single-podirectory-emptypot-emptypo/po4a.conf5
-rw-r--r--t/cfg/single-podirectory-emptypot-emptypo/single.man.15
-rw-r--r--t/cfg/single-podirectory-emptypot-emptypo/single.pot0
-rw-r--r--t/cfg/single-podirectory-emptypot/_output6
-rw-r--r--t/cfg/single-podirectory-emptypot/_single.man.fr.110
-rw-r--r--t/cfg/single-podirectory-emptypot/_single.pot39
-rw-r--r--t/cfg/single-podirectory-emptypot/po/fr.po39
-rw-r--r--t/cfg/single-podirectory-emptypot/po/single.pot0
-rw-r--r--t/cfg/single-podirectory-emptypot/po4a.conf5
-rw-r--r--t/cfg/single-podirectory-emptypot/single.man.15
-rw-r--r--t/cfg/single-podirectory/_output6
-rw-r--r--t/cfg/single-podirectory/_single.man.fr.110
-rw-r--r--t/cfg/single-podirectory/po/fr.po39
-rw-r--r--t/cfg/single-podirectory/po/single.pot39
-rw-r--r--t/cfg/single-podirectory/po4a.conf5
-rw-r--r--t/cfg/single-podirectory/single.man.15
-rw-r--r--t/cfg/single-potin/_output3
-rw-r--r--t/cfg/single-potin/_single.man.fr.115
-rw-r--r--t/cfg/single-potin/po4a.conf5
-rw-r--r--t/cfg/single-potin/single-filtered.man.15
-rw-r--r--t/cfg/single-potin/single.fr.po39
-rw-r--r--t/cfg/single-potin/single.man.110
-rw-r--r--t/cfg/single-potin/single.pot39
-rw-r--r--t/cfg/single-uptodate/_output3
-rw-r--r--t/cfg/single-uptodate/single-uptodate.conf5
-rw-r--r--t/cfg/single-uptodate/single-uptodate.fr.po39
-rw-r--r--t/cfg/single-uptodate/single-uptodate.man.15
-rw-r--r--t/cfg/single-uptodate/single-uptodate.man.fr.110
-rw-r--r--t/cfg/single-uptodate/single-uptodate.pot39
-rw-r--r--t/cfg/single/_output3
-rw-r--r--t/cfg/single/_single.man.fr.110
-rw-r--r--t/cfg/single/single-noupdate.output2
-rw-r--r--t/cfg/single/single.conf5
-rw-r--r--t/cfg/single/single.fr.po39
-rw-r--r--t/cfg/single/single.man.15
-rw-r--r--t/cfg/single/single.pot39
-rw-r--r--t/cfg/space-in-option-value/_man.ja.16
-rw-r--r--t/cfg/space-in-option-value/_output3
-rw-r--r--t/cfg/space-in-option-value/man.11
-rw-r--r--t/cfg/space-in-option-value/man.ja.po23
-rw-r--r--t/cfg/space-in-option-value/man.pot23
-rw-r--r--t/cfg/space-in-option-value/po4a.conf7
-rw-r--r--t/cfg/space_in_name/_output3
-rw-r--r--t/cfg/space_in_name/_single.man.fr.110
-rw-r--r--t/cfg/space_in_name/po4a.conf5
-rw-r--r--t/cfg/space_in_name/some directory/some file.man.15
-rw-r--r--t/cfg/space_in_name/space in name.fr.po39
-rw-r--r--t/cfg/space_in_name/space in name.pot39
-rw-r--r--t/cfg/split-fuzzied-noup/_first.man.de.po45
-rw-r--r--t/cfg/split-fuzzied-noup/_first.man.fr.po45
-rw-r--r--t/cfg/split-fuzzied-noup/_output5
-rw-r--r--t/cfg/split-fuzzied-noup/_second.man.de.po45
-rw-r--r--t/cfg/split-fuzzied-noup/_second.man.fr.po45
-rw-r--r--t/cfg/split-fuzzied-noup/diff_output11
-rw-r--r--t/cfg/split-fuzzied-noup/first.man7
-rw-r--r--t/cfg/split-fuzzied-noup/first.man.de12
-rw-r--r--t/cfg/split-fuzzied-noup/first.man.de.po44
-rw-r--r--t/cfg/split-fuzzied-noup/first.man.fr12
-rw-r--r--t/cfg/split-fuzzied-noup/first.man.fr.po44
-rw-r--r--t/cfg/split-fuzzied-noup/first.man.pot44
-rw-r--r--t/cfg/split-fuzzied-noup/po4a.conf6
-rw-r--r--t/cfg/split-fuzzied-noup/second.man8
-rw-r--r--t/cfg/split-fuzzied-noup/second.man.de12
-rw-r--r--t/cfg/split-fuzzied-noup/second.man.de.po44
-rw-r--r--t/cfg/split-fuzzied-noup/second.man.fr12
-rw-r--r--t/cfg/split-fuzzied-noup/second.man.fr.po44
-rw-r--r--t/cfg/split-fuzzied-noup/second.man.pot44
-rw-r--r--t/cfg/split-fuzzied/_first.man.de.po45
-rw-r--r--t/cfg/split-fuzzied/_first.man.fr.po45
-rw-r--r--t/cfg/split-fuzzied/_output7
-rw-r--r--t/cfg/split-fuzzied/_second.man.de.po45
-rw-r--r--t/cfg/split-fuzzied/_second.man.fr.po45
-rw-r--r--t/cfg/split-fuzzied/diff_output11
-rw-r--r--t/cfg/split-fuzzied/first.man7
-rw-r--r--t/cfg/split-fuzzied/first.man.de12
-rw-r--r--t/cfg/split-fuzzied/first.man.de.po44
-rw-r--r--t/cfg/split-fuzzied/first.man.fr12
-rw-r--r--t/cfg/split-fuzzied/first.man.fr.po44
-rw-r--r--t/cfg/split-fuzzied/first.man.pot44
-rw-r--r--t/cfg/split-fuzzied/po4a.conf6
-rw-r--r--t/cfg/split-fuzzied/second.man8
-rw-r--r--t/cfg/split-fuzzied/second.man.de12
-rw-r--r--t/cfg/split-fuzzied/second.man.de.po44
-rw-r--r--t/cfg/split-fuzzied/second.man.fr12
-rw-r--r--t/cfg/split-fuzzied/second.man.fr.po44
-rw-r--r--t/cfg/split-fuzzied/second.man.pot44
-rw-r--r--t/cfg/split-fuzzy/_output7
-rw-r--r--t/cfg/split-fuzzy/diff_output11
-rw-r--r--t/cfg/split-fuzzy/first.man7
-rw-r--r--t/cfg/split-fuzzy/first.man.de12
-rw-r--r--t/cfg/split-fuzzy/first.man.de.po44
-rw-r--r--t/cfg/split-fuzzy/first.man.fr12
-rw-r--r--t/cfg/split-fuzzy/first.man.fr.po44
-rw-r--r--t/cfg/split-fuzzy/first.man.pot44
-rw-r--r--t/cfg/split-fuzzy/po4a.conf6
-rw-r--r--t/cfg/split-fuzzy/second.man8
-rw-r--r--t/cfg/split-fuzzy/second.man.de12
-rw-r--r--t/cfg/split-fuzzy/second.man.de.po44
-rw-r--r--t/cfg/split-fuzzy/second.man.fr12
-rw-r--r--t/cfg/split-fuzzy/second.man.fr.po44
-rw-r--r--t/cfg/split-fuzzy/second.man.pot44
-rw-r--r--t/cfg/split-multimaster/Documentation.de.po64
-rw-r--r--t/cfg/split-multimaster/Documentation.fr.po63
-rw-r--r--t/cfg/split-multimaster/Documentation.pot62
-rw-r--r--t/cfg/split-multimaster/_output9
-rw-r--r--t/cfg/split-multimaster/first.man7
-rw-r--r--t/cfg/split-multimaster/first.man.de12
-rw-r--r--t/cfg/split-multimaster/first.man.fr12
-rw-r--r--t/cfg/split-multimaster/po4a.conf7
-rw-r--r--t/cfg/split-multimaster/second.man8
-rw-r--r--t/cfg/split-multimaster/second.man.de12
-rw-r--r--t/cfg/split-multimaster/second.man.de.po44
-rw-r--r--t/cfg/split-multimaster/second.man.fr12
-rw-r--r--t/cfg/split-multimaster/second.man.fr.po44
-rw-r--r--t/cfg/split-multimaster/second.man.pot44
-rw-r--r--t/cfg/split-multimaster/third.man8
-rw-r--r--t/cfg/split-multimaster/third.man.de13
-rw-r--r--t/cfg/split-multimaster/third.man.fr12
-rw-r--r--t/cfg/split-newstr/_first.man.de14
-rw-r--r--t/cfg/split-newstr/_first.man.de.po49
-rw-r--r--t/cfg/split-newstr/_first.man.fr14
-rw-r--r--t/cfg/split-newstr/_first.man.fr.po49
-rw-r--r--t/cfg/split-newstr/_first.man.pot49
-rw-r--r--t/cfg/split-newstr/_output7
-rw-r--r--t/cfg/split-newstr/_second.man.de14
-rw-r--r--t/cfg/split-newstr/_second.man.de.po49
-rw-r--r--t/cfg/split-newstr/_second.man.fr14
-rw-r--r--t/cfg/split-newstr/_second.man.fr.po49
-rw-r--r--t/cfg/split-newstr/_second.man.pot49
-rw-r--r--t/cfg/split-newstr/diff_output11
-rw-r--r--t/cfg/split-newstr/first.man9
-rw-r--r--t/cfg/split-newstr/first.man.de.po44
-rw-r--r--t/cfg/split-newstr/first.man.fr.po44
-rw-r--r--t/cfg/split-newstr/first.man.pot44
-rw-r--r--t/cfg/split-newstr/po4a.conf6
-rw-r--r--t/cfg/split-newstr/second.man10
-rw-r--r--t/cfg/split-newstr/second.man.de.po44
-rw-r--r--t/cfg/split-newstr/second.man.fr.po44
-rw-r--r--t/cfg/split-newstr/second.man.pot44
-rw-r--r--t/cfg/split-nopo/_first.man.de.po44
-rw-r--r--t/cfg/split-nopo/_first.man.fr.po44
-rw-r--r--t/cfg/split-nopo/_output11
-rw-r--r--t/cfg/split-nopo/_output-noupdate7
-rw-r--r--t/cfg/split-nopo/_second.man.de.po44
-rw-r--r--t/cfg/split-nopo/_second.man.fr.po44
-rw-r--r--t/cfg/split-nopo/diff_output11
-rw-r--r--t/cfg/split-nopo/first.man7
-rw-r--r--t/cfg/split-nopo/first.man.pot44
-rw-r--r--t/cfg/split-nopo/po4a.conf6
-rw-r--r--t/cfg/split-nopo/second.man8
-rw-r--r--t/cfg/split-nopo/second.man.pot44
-rw-r--r--t/cfg/split-nopotpo/_first.man.de.po44
-rw-r--r--t/cfg/split-nopotpo/_first.man.fr.po44
-rw-r--r--t/cfg/split-nopotpo/_first.man.pot44
-rw-r--r--t/cfg/split-nopotpo/_output11
-rw-r--r--t/cfg/split-nopotpo/_second.man.de.po44
-rw-r--r--t/cfg/split-nopotpo/_second.man.fr.po44
-rw-r--r--t/cfg/split-nopotpo/_second.man.pot44
-rw-r--r--t/cfg/split-nopotpo/first.man7
-rw-r--r--t/cfg/split-nopotpo/po4a.conf6
-rw-r--r--t/cfg/split-nopotpo/second.man8
-rw-r--r--t/cfg/split-potin/_first.man.de16
-rw-r--r--t/cfg/split-potin/_first.man.fr16
-rw-r--r--t/cfg/split-potin/_output7
-rw-r--r--t/cfg/split-potin/_second.man.de16
-rw-r--r--t/cfg/split-potin/_second.man.fr16
-rw-r--r--t/cfg/split-potin/diff_output11
-rw-r--r--t/cfg/split-potin/first-filtered.man7
-rw-r--r--t/cfg/split-potin/first.man11
-rw-r--r--t/cfg/split-potin/first.man.de.po44
-rw-r--r--t/cfg/split-potin/first.man.fr.po44
-rw-r--r--t/cfg/split-potin/first.man.pot44
-rw-r--r--t/cfg/split-potin/po4a.conf6
-rw-r--r--t/cfg/split-potin/second-filtered.man8
-rw-r--r--t/cfg/split-potin/second.man12
-rw-r--r--t/cfg/split-potin/second.man.de.po44
-rw-r--r--t/cfg/split-potin/second.man.fr.po44
-rw-r--r--t/cfg/split-potin/second.man.pot44
-rw-r--r--t/cfg/split-uptodate/_output7
-rw-r--r--t/cfg/split-uptodate/diff_output11
-rw-r--r--t/cfg/split-uptodate/first.man7
-rw-r--r--t/cfg/split-uptodate/first.man.de12
-rw-r--r--t/cfg/split-uptodate/first.man.de.po44
-rw-r--r--t/cfg/split-uptodate/first.man.fr12
-rw-r--r--t/cfg/split-uptodate/first.man.fr.po44
-rw-r--r--t/cfg/split-uptodate/first.man.pot44
-rw-r--r--t/cfg/split-uptodate/po4a.conf6
-rw-r--r--t/cfg/split-uptodate/second.man8
-rw-r--r--t/cfg/split-uptodate/second.man.de12
-rw-r--r--t/cfg/split-uptodate/second.man.de.po44
-rw-r--r--t/cfg/split-uptodate/second.man.fr12
-rw-r--r--t/cfg/split-uptodate/second.man.fr.po44
-rw-r--r--t/cfg/split-uptodate/second.man.pot44
-rw-r--r--t/cfg/split-yaml/_index.md3
-rw-r--r--t/cfg/split-yaml/_index.vi.md3
-rw-r--r--t/cfg/split-yaml/_output4
-rw-r--r--t/cfg/split-yaml/content.pot27
-rw-r--r--t/cfg/split-yaml/content.vi.po27
-rw-r--r--t/cfg/split-yaml/en.yaml6
-rw-r--r--t/cfg/split-yaml/i18n.pot35
-rw-r--r--t/cfg/split-yaml/i18n.vi.po35
-rw-r--r--t/cfg/split-yaml/po4a.cfg5
-rw-r--r--t/cfg/split-yaml/vi.yaml7
-rw-r--r--t/cfg/split/_first.man.de12
-rw-r--r--t/cfg/split/_first.man.fr12
-rw-r--r--t/cfg/split/_output7
-rw-r--r--t/cfg/split/_second.man.de12
-rw-r--r--t/cfg/split/_second.man.fr12
-rw-r--r--t/cfg/split/diff_output11
-rw-r--r--t/cfg/split/first.man7
-rw-r--r--t/cfg/split/first.man.de.po44
-rw-r--r--t/cfg/split/first.man.fr.po44
-rw-r--r--t/cfg/split/first.man.pot44
-rw-r--r--t/cfg/split/po4a.conf6
-rw-r--r--t/cfg/split/second.man8
-rw-r--r--t/cfg/split/second.man.de.po44
-rw-r--r--t/cfg/split/second.man.fr.po44
-rw-r--r--t/cfg/split/second.man.pot44
-rw-r--r--t/cfg/windows-CRLF/_output3
-rw-r--r--t/cfg/windows-CRLF/single-uptodate.fr.po39
-rw-r--r--t/cfg/windows-CRLF/single-uptodate.man.15
-rw-r--r--t/cfg/windows-CRLF/single-uptodate.man.fr.110
-rw-r--r--t/cfg/windows-CRLF/single-uptodate.pot39
-rw-r--r--t/cfg/windows-CRLF/windows-CRLF.conf5
446 files changed, 9997 insertions, 0 deletions
diff --git a/t/cfg/args-alias-redef/_man.de.1 b/t/cfg/args-alias-redef/_man.de.1
new file mode 100644
index 0000000..f7abf19
--- /dev/null
+++ b/t/cfg/args-alias-redef/_man.de.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hallo
+
+World
diff --git a/t/cfg/args-alias-redef/_man.es.1 b/t/cfg/args-alias-redef/_man.es.1
new file mode 100644
index 0000000..658c6f6
--- /dev/null
+++ b/t/cfg/args-alias-redef/_man.es.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- apenas una prueba
+
+Hola
+
+Mundo
diff --git a/t/cfg/args-alias-redef/_man.fr.1 b/t/cfg/args-alias-redef/_man.fr.1
new file mode 100644
index 0000000..7c16cd5
--- /dev/null
+++ b/t/cfg/args-alias-redef/_man.fr.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- juste un test
+
+Bonjour
+
+Monde
diff --git a/t/cfg/args-alias-redef/_man.it.1 b/t/cfg/args-alias-redef/_man.it.1
new file mode 100644
index 0000000..1845fd7
--- /dev/null
+++ b/t/cfg/args-alias-redef/_man.it.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- appena una prova
+
+Ciao
+
+Mondo
diff --git a/t/cfg/args-alias-redef/_output b/t/cfg/args-alias-redef/_output
new file mode 100644
index 0000000..b6bfe99
--- /dev/null
+++ b/t/cfg/args-alias-redef/_output
@@ -0,0 +1,6 @@
+NOT creating args.pot as requested (--no-update).
+NOT updating the POT file args.pot as requested (--no-update).
+man.de.1 is 20% translated (1 of 5 strings).
+Discard man.es.1 (3 of 5 strings; only 60% translated; need 70%).
+man.fr.1 is 80% translated (4 of 5 strings).
+man.it.1 is 100% translated (5 strings).
diff --git a/t/cfg/args-alias-redef/args.de.po b/t/cfg/args-alias-redef/args.de.po
new file mode 100644
index 0000000..f9e9a1b
--- /dev/null
+++ b/t/cfg/args-alias-redef/args.de.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Hallo"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr ""
diff --git a/t/cfg/args-alias-redef/args.es.po b/t/cfg/args-alias-redef/args.es.po
new file mode 100644
index 0000000..8a75616
--- /dev/null
+++ b/t/cfg/args-alias-redef/args.es.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: ENCODING\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr "test - apenas una prueba"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Hola"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr "Mundo"
diff --git a/t/cfg/args-alias-redef/args.fr.po b/t/cfg/args-alias-redef/args.fr.po
new file mode 100644
index 0000000..d690c75
--- /dev/null
+++ b/t/cfg/args-alias-redef/args.fr.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Bonjour"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr "Monde"
diff --git a/t/cfg/args-alias-redef/args.it.po b/t/cfg/args-alias-redef/args.it.po
new file mode 100644
index 0000000..e046d74
--- /dev/null
+++ b/t/cfg/args-alias-redef/args.it.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOME"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr "test - appena una prova"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Ciao"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr "Mondo"
diff --git a/t/cfg/args-alias-redef/man.1 b/t/cfg/args-alias-redef/man.1
new file mode 100644
index 0000000..a1394ba
--- /dev/null
+++ b/t/cfg/args-alias-redef/man.1
@@ -0,0 +1,7 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
+
+World
diff --git a/t/cfg/args-alias-redef/po4a.conf b/t/cfg/args-alias-redef/po4a.conf
new file mode 100644
index 0000000..fc40940
--- /dev/null
+++ b/t/cfg/args-alias-redef/po4a.conf
@@ -0,0 +1,11 @@
+# This file redefines aliases to 'man' to enrich its definition.
+# This was initially not thought as possible, but debhelper relies on it, so make it work.
+
+[po4a_langs] fr es it de
+[po4a_paths] args.pot $lang:args.$lang.po
+
+[po4a_alias:man] man opt:"--keep 0"
+[po4a_alias:man] man opt_es:"--keep 70"
+[po4a_alias:man] man opt_ja:"--keep 100"
+
+[type:man] man.1 $lang:man.$lang.1
diff --git a/t/cfg/args-alias/_man.de.1 b/t/cfg/args-alias/_man.de.1
new file mode 100644
index 0000000..f7abf19
--- /dev/null
+++ b/t/cfg/args-alias/_man.de.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hallo
+
+World
diff --git a/t/cfg/args-alias/_man.es.1 b/t/cfg/args-alias/_man.es.1
new file mode 100644
index 0000000..658c6f6
--- /dev/null
+++ b/t/cfg/args-alias/_man.es.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- apenas una prueba
+
+Hola
+
+Mundo
diff --git a/t/cfg/args-alias/_man.fr.1 b/t/cfg/args-alias/_man.fr.1
new file mode 100644
index 0000000..7c16cd5
--- /dev/null
+++ b/t/cfg/args-alias/_man.fr.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- juste un test
+
+Bonjour
+
+Monde
diff --git a/t/cfg/args-alias/_man.fr.2 b/t/cfg/args-alias/_man.fr.2
new file mode 100644
index 0000000..7c16cd5
--- /dev/null
+++ b/t/cfg/args-alias/_man.fr.2
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- juste un test
+
+Bonjour
+
+Monde
diff --git a/t/cfg/args-alias/_man.it.1 b/t/cfg/args-alias/_man.it.1
new file mode 100644
index 0000000..1845fd7
--- /dev/null
+++ b/t/cfg/args-alias/_man.it.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- appena una prova
+
+Ciao
+
+Mondo
diff --git a/t/cfg/args-alias/_man.it.2 b/t/cfg/args-alias/_man.it.2
new file mode 100644
index 0000000..1845fd7
--- /dev/null
+++ b/t/cfg/args-alias/_man.it.2
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- appena una prova
+
+Ciao
+
+Mondo
diff --git a/t/cfg/args-alias/_output b/t/cfg/args-alias/_output
new file mode 100644
index 0000000..da4af66
--- /dev/null
+++ b/t/cfg/args-alias/_output
@@ -0,0 +1,10 @@
+NOT creating args.pot as requested (--no-update).
+NOT updating the POT file args.pot as requested (--no-update).
+man.de.1 is 20% translated (1 of 5 strings).
+Discard man.de.2 (1 of 5 strings; only 20% translated; need 80%).
+Discard man.es.1 (3 of 5 strings; only 60% translated; need 70%).
+Discard man.es.2 (3 of 5 strings; only 60% translated; need 80%).
+man.fr.1 is 80% translated (4 of 5 strings).
+man.fr.2 is 80% translated (4 of 5 strings).
+man.it.1 is 100% translated (5 strings).
+man.it.2 is 100% translated (5 strings).
diff --git a/t/cfg/args-alias/_output-keep100 b/t/cfg/args-alias/_output-keep100
new file mode 100644
index 0000000..cacbc50
--- /dev/null
+++ b/t/cfg/args-alias/_output-keep100
@@ -0,0 +1,10 @@
+NOT creating args.pot as requested (--no-update).
+NOT updating the POT file args.pot as requested (--no-update).
+Discard man.de.1 (1 of 5 strings; only 20% translated; need 100%).
+Discard man.de.2 (1 of 5 strings; only 20% translated; need 100%).
+Discard man.es.1 (3 of 5 strings; only 60% translated; need 100%).
+Discard man.es.2 (3 of 5 strings; only 60% translated; need 100%).
+Discard man.fr.1 (4 of 5 strings; only 80% translated; need 100%).
+Discard man.fr.2 (4 of 5 strings; only 80% translated; need 100%).
+man.it.1 is 100% translated (5 strings).
+man.it.2 is 100% translated (5 strings).
diff --git a/t/cfg/args-alias/args.de.po b/t/cfg/args-alias/args.de.po
new file mode 100644
index 0000000..f9e9a1b
--- /dev/null
+++ b/t/cfg/args-alias/args.de.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Hallo"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr ""
diff --git a/t/cfg/args-alias/args.es.po b/t/cfg/args-alias/args.es.po
new file mode 100644
index 0000000..8a75616
--- /dev/null
+++ b/t/cfg/args-alias/args.es.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: ENCODING\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr "test - apenas una prueba"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Hola"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr "Mundo"
diff --git a/t/cfg/args-alias/args.fr.po b/t/cfg/args-alias/args.fr.po
new file mode 100644
index 0000000..d690c75
--- /dev/null
+++ b/t/cfg/args-alias/args.fr.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Bonjour"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr "Monde"
diff --git a/t/cfg/args-alias/args.it.po b/t/cfg/args-alias/args.it.po
new file mode 100644
index 0000000..e046d74
--- /dev/null
+++ b/t/cfg/args-alias/args.it.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOME"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr "test - appena una prova"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Ciao"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr "Mondo"
diff --git a/t/cfg/args-alias/man.1 b/t/cfg/args-alias/man.1
new file mode 100644
index 0000000..a1394ba
--- /dev/null
+++ b/t/cfg/args-alias/man.1
@@ -0,0 +1,7 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
+
+World
diff --git a/t/cfg/args-alias/man.2 b/t/cfg/args-alias/man.2
new file mode 100644
index 0000000..a1394ba
--- /dev/null
+++ b/t/cfg/args-alias/man.2
@@ -0,0 +1,7 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
+
+World
diff --git a/t/cfg/args-alias/po4a.conf b/t/cfg/args-alias/po4a.conf
new file mode 100644
index 0000000..1a1a40e
--- /dev/null
+++ b/t/cfg/args-alias/po4a.conf
@@ -0,0 +1,7 @@
+[po4a_langs] fr es it de
+[po4a_paths] args.pot $lang:args.$lang.po
+
+[po4a_alias:man-all] man opt:"--keep 0" opt_es:"--keep 70"
+
+[type:man-all] man.1 $lang:man.$lang.1
+[type:man] man.2 $lang:man.$lang.2
diff --git a/t/cfg/args-global/_man.de.1 b/t/cfg/args-global/_man.de.1
new file mode 100644
index 0000000..f7abf19
--- /dev/null
+++ b/t/cfg/args-global/_man.de.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hallo
+
+World
diff --git a/t/cfg/args-global/_man.es.1 b/t/cfg/args-global/_man.es.1
new file mode 100644
index 0000000..658c6f6
--- /dev/null
+++ b/t/cfg/args-global/_man.es.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- apenas una prueba
+
+Hola
+
+Mundo
diff --git a/t/cfg/args-global/_man.fr.1 b/t/cfg/args-global/_man.fr.1
new file mode 100644
index 0000000..7c16cd5
--- /dev/null
+++ b/t/cfg/args-global/_man.fr.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- juste un test
+
+Bonjour
+
+Monde
diff --git a/t/cfg/args-global/_man.it.1 b/t/cfg/args-global/_man.it.1
new file mode 100644
index 0000000..1845fd7
--- /dev/null
+++ b/t/cfg/args-global/_man.it.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- appena una prova
+
+Ciao
+
+Mondo
diff --git a/t/cfg/args-global/_output b/t/cfg/args-global/_output
new file mode 100644
index 0000000..b649c44
--- /dev/null
+++ b/t/cfg/args-global/_output
@@ -0,0 +1,6 @@
+NOT creating args.pot as requested (--no-update).
+NOT updating the POT file args.pot as requested (--no-update).
+man.de.1 is 20% translated (1 of 5 strings).
+man.es.1 is 60% translated (3 of 5 strings).
+man.fr.1 is 80% translated (4 of 5 strings).
+man.it.1 is 100% translated (5 strings).
diff --git a/t/cfg/args-global/_output-keep100 b/t/cfg/args-global/_output-keep100
new file mode 100644
index 0000000..2b9d1e4
--- /dev/null
+++ b/t/cfg/args-global/_output-keep100
@@ -0,0 +1,6 @@
+NOT creating args.pot as requested (--no-update).
+NOT updating the POT file args.pot as requested (--no-update).
+Discard man.de.1 (1 of 5 strings; only 20% translated; need 100%).
+Discard man.es.1 (3 of 5 strings; only 60% translated; need 100%).
+Discard man.fr.1 (4 of 5 strings; only 80% translated; need 100%).
+man.it.1 is 100% translated (5 strings).
diff --git a/t/cfg/args-global/args.de.po b/t/cfg/args-global/args.de.po
new file mode 100644
index 0000000..f9e9a1b
--- /dev/null
+++ b/t/cfg/args-global/args.de.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Hallo"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr ""
diff --git a/t/cfg/args-global/args.es.po b/t/cfg/args-global/args.es.po
new file mode 100644
index 0000000..8a75616
--- /dev/null
+++ b/t/cfg/args-global/args.es.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: ENCODING\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr "test - apenas una prueba"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Hola"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr "Mundo"
diff --git a/t/cfg/args-global/args.fr.po b/t/cfg/args-global/args.fr.po
new file mode 100644
index 0000000..d690c75
--- /dev/null
+++ b/t/cfg/args-global/args.fr.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Bonjour"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr "Monde"
diff --git a/t/cfg/args-global/args.it.po b/t/cfg/args-global/args.it.po
new file mode 100644
index 0000000..e046d74
--- /dev/null
+++ b/t/cfg/args-global/args.it.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOME"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr "test - appena una prova"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Ciao"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr "Mondo"
diff --git a/t/cfg/args-global/man.1 b/t/cfg/args-global/man.1
new file mode 100644
index 0000000..a1394ba
--- /dev/null
+++ b/t/cfg/args-global/man.1
@@ -0,0 +1,7 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
+
+World
diff --git a/t/cfg/args-global/po4a.conf b/t/cfg/args-global/po4a.conf
new file mode 100644
index 0000000..214a748
--- /dev/null
+++ b/t/cfg/args-global/po4a.conf
@@ -0,0 +1,6 @@
+[po4a_langs] fr es it de
+[po4a_paths] args.pot $lang:args.$lang.po
+
+[options] --keep 20
+
+[type:man] man.1 $lang:man.$lang.1
diff --git a/t/cfg/args-master/_man.de.1 b/t/cfg/args-master/_man.de.1
new file mode 100644
index 0000000..f7abf19
--- /dev/null
+++ b/t/cfg/args-master/_man.de.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hallo
+
+World
diff --git a/t/cfg/args-master/_man.es.1 b/t/cfg/args-master/_man.es.1
new file mode 100644
index 0000000..658c6f6
--- /dev/null
+++ b/t/cfg/args-master/_man.es.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- apenas una prueba
+
+Hola
+
+Mundo
diff --git a/t/cfg/args-master/_man.fr.1 b/t/cfg/args-master/_man.fr.1
new file mode 100644
index 0000000..7c16cd5
--- /dev/null
+++ b/t/cfg/args-master/_man.fr.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- juste un test
+
+Bonjour
+
+Monde
diff --git a/t/cfg/args-master/_man.fr.2 b/t/cfg/args-master/_man.fr.2
new file mode 100644
index 0000000..7c16cd5
--- /dev/null
+++ b/t/cfg/args-master/_man.fr.2
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- juste un test
+
+Bonjour
+
+Monde
diff --git a/t/cfg/args-master/_man.it.1 b/t/cfg/args-master/_man.it.1
new file mode 100644
index 0000000..1845fd7
--- /dev/null
+++ b/t/cfg/args-master/_man.it.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- appena una prova
+
+Ciao
+
+Mondo
diff --git a/t/cfg/args-master/_man.it.2 b/t/cfg/args-master/_man.it.2
new file mode 100644
index 0000000..1845fd7
--- /dev/null
+++ b/t/cfg/args-master/_man.it.2
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- appena una prova
+
+Ciao
+
+Mondo
diff --git a/t/cfg/args-master/_output b/t/cfg/args-master/_output
new file mode 100644
index 0000000..db00cb6
--- /dev/null
+++ b/t/cfg/args-master/_output
@@ -0,0 +1,6 @@
+NOT creating args.pot as requested (--no-update).
+NOT updating the POT file args.pot as requested (--no-update).
+Discard man.de.1 (1 of 5 strings; only 20% translated; need 22%).
+Discard man.es.1 (3 of 5 strings; only 60% translated; need 66%).
+man.fr.1 is 80% translated (4 of 5 strings).
+man.it.1 is 100% translated (5 strings).
diff --git a/t/cfg/args-master/_output-keep100 b/t/cfg/args-master/_output-keep100
new file mode 100644
index 0000000..2b9d1e4
--- /dev/null
+++ b/t/cfg/args-master/_output-keep100
@@ -0,0 +1,6 @@
+NOT creating args.pot as requested (--no-update).
+NOT updating the POT file args.pot as requested (--no-update).
+Discard man.de.1 (1 of 5 strings; only 20% translated; need 100%).
+Discard man.es.1 (3 of 5 strings; only 60% translated; need 100%).
+Discard man.fr.1 (4 of 5 strings; only 80% translated; need 100%).
+man.it.1 is 100% translated (5 strings).
diff --git a/t/cfg/args-master/args.de.po b/t/cfg/args-master/args.de.po
new file mode 100644
index 0000000..f9e9a1b
--- /dev/null
+++ b/t/cfg/args-master/args.de.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Hallo"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr ""
diff --git a/t/cfg/args-master/args.es.po b/t/cfg/args-master/args.es.po
new file mode 100644
index 0000000..8a75616
--- /dev/null
+++ b/t/cfg/args-master/args.es.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: ENCODING\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr "test - apenas una prueba"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Hola"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr "Mundo"
diff --git a/t/cfg/args-master/args.fr.po b/t/cfg/args-master/args.fr.po
new file mode 100644
index 0000000..d690c75
--- /dev/null
+++ b/t/cfg/args-master/args.fr.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Bonjour"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr "Monde"
diff --git a/t/cfg/args-master/args.it.po b/t/cfg/args-master/args.it.po
new file mode 100644
index 0000000..e046d74
--- /dev/null
+++ b/t/cfg/args-master/args.it.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 0:48+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test2_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test2_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOME"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:4
+msgid "test - just a test"
+msgstr "test - appena una prova"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:6
+msgid "Hello"
+msgstr "Ciao"
+
+#. type: Plain text
+#: t-05-config/test2_man.1:7
+msgid "World"
+msgstr "Mondo"
diff --git a/t/cfg/args-master/man.1 b/t/cfg/args-master/man.1
new file mode 100644
index 0000000..a1394ba
--- /dev/null
+++ b/t/cfg/args-master/man.1
@@ -0,0 +1,7 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
+
+World
diff --git a/t/cfg/args-master/man.2 b/t/cfg/args-master/man.2
new file mode 100644
index 0000000..a1394ba
--- /dev/null
+++ b/t/cfg/args-master/man.2
@@ -0,0 +1,7 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
+
+World
diff --git a/t/cfg/args-master/po4a.conf b/t/cfg/args-master/po4a.conf
new file mode 100644
index 0000000..aa6ec9a
--- /dev/null
+++ b/t/cfg/args-master/po4a.conf
@@ -0,0 +1,5 @@
+[po4a_langs] fr es it de
+[po4a_paths] args.pot $lang:args.$lang.po
+
+[type:man] man.1 $lang:man.$lang.1 opt:"--keep 66" opt_de:"--keep 22"
+
diff --git a/t/cfg/multiple-fuzzied-noup/_multiple.de.po b/t/cfg/multiple-fuzzied-noup/_multiple.de.po
new file mode 100644
index 0000000..b7a6cee
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/_multiple.de.po
@@ -0,0 +1,41 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:07+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prüfung1"
+
+#. type: SH
+#: multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: multiple.man.1:4
+msgid "test - just a test"
+msgstr "prüfung - nur ein Prüfung"
+
+#. type: Plain text
+#: multiple.man.1:5
+#, fuzzy
+#| msgid "-Hello"
+msgid "Hello"
+msgstr "Hallo"
diff --git a/t/cfg/multiple-fuzzied-noup/_multiple.es.po b/t/cfg/multiple-fuzzied-noup/_multiple.es.po
new file mode 100644
index 0000000..c9dca6a
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/_multiple.es.po
@@ -0,0 +1,40 @@
+# Spanish translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, fuzzy, no-wrap
+#| msgid "-test1"
+msgid "test1"
+msgstr "prueba1"
+
+#. type: SH
+#: multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOMBRE"
+
+#. type: Plain text
+#: multiple.man.1:4
+msgid "test - just a test"
+msgstr "prueba - solo una prueba"
+
+#. type: Plain text
+#: multiple.man.1:5
+msgid "Hello"
+msgstr "Hola"
diff --git a/t/cfg/multiple-fuzzied-noup/_multiple.fr.po b/t/cfg/multiple-fuzzied-noup/_multiple.fr.po
new file mode 100644
index 0000000..82449b6
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/_multiple.fr.po
@@ -0,0 +1,41 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: multiple.man.1:4
+#, fuzzy
+#| msgid "-test - just a test"
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: multiple.man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/multiple-fuzzied-noup/_multiple.it.po b/t/cfg/multiple-fuzzied-noup/_multiple.it.po
new file mode 100644
index 0000000..2e0c964
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/_multiple.it.po
@@ -0,0 +1,40 @@
+# Italian translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: multiple.man.1:2
+#, fuzzy, no-wrap
+#| msgid "NAME-"
+msgid "NAME"
+msgstr "NOME"
+
+#. type: Plain text
+#: multiple.man.1:4
+msgid "test - just a test"
+msgstr "test - solo un test"
+
+#. type: Plain text
+#: multiple.man.1:5
+msgid "Hello"
+msgstr "Ciao"
diff --git a/t/cfg/multiple-fuzzied-noup/_output b/t/cfg/multiple-fuzzied-noup/_output
new file mode 100644
index 0000000..a33da77
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/_output
@@ -0,0 +1,6 @@
+NOT updating multiple.pot as requested (--no-update).
+NOT updating the POT file multiple.pot as requested (--no-update).
+Discard multiple.man.de.1 (3 of 4 strings; only 75% translated; need 80%).
+Discard multiple.man.es.1 (3 of 4 strings; only 75% translated; need 80%).
+Discard multiple.man.fr.1 (3 of 4 strings; only 75% translated; need 80%).
+Discard multiple.man.it.1 (3 of 4 strings; only 75% translated; need 80%).
diff --git a/t/cfg/multiple-fuzzied-noup/multiple.de.po b/t/cfg/multiple-fuzzied-noup/multiple.de.po
new file mode 100644
index 0000000..bb4a7d1
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/multiple.de.po
@@ -0,0 +1,39 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:07+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prüfung1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prüfung - nur ein Prüfung"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "-Hello"
+msgstr "Hallo"
diff --git a/t/cfg/multiple-fuzzied-noup/multiple.es.po b/t/cfg/multiple-fuzzied-noup/multiple.es.po
new file mode 100644
index 0000000..efa4116
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/multiple.es.po
@@ -0,0 +1,39 @@
+# Spanish translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "-test1"
+msgstr "prueba1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOMBRE"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prueba - solo una prueba"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Hola"
diff --git a/t/cfg/multiple-fuzzied-noup/multiple.fr.po b/t/cfg/multiple-fuzzied-noup/multiple.fr.po
new file mode 100644
index 0000000..7f6725b
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/multiple.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "-test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/multiple-fuzzied-noup/multiple.it.po b/t/cfg/multiple-fuzzied-noup/multiple.it.po
new file mode 100644
index 0000000..93b4e3b
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/multiple.it.po
@@ -0,0 +1,39 @@
+# Italian translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME-"
+msgstr "NOME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "test - solo un test"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Ciao"
diff --git a/t/cfg/multiple-fuzzied-noup/multiple.man.1 b/t/cfg/multiple-fuzzied-noup/multiple.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/multiple.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/multiple-fuzzied-noup/multiple.man.de.1 b/t/cfg/multiple-fuzzied-noup/multiple.man.de.1
new file mode 100644
index 0000000..870b037
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/multiple.man.de.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prüfung1 1
+.SH NAME
+prüfung \- nur ein Prüfung
+
+Hallo
diff --git a/t/cfg/multiple-fuzzied-noup/multiple.man.es.1 b/t/cfg/multiple-fuzzied-noup/multiple.man.es.1
new file mode 100644
index 0000000..091ad34
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/multiple.man.es.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prueba1 1
+.SH NOMBRE
+prueba \- solo una prueba
+
+Hola
diff --git a/t/cfg/multiple-fuzzied-noup/multiple.man.fr.1 b/t/cfg/multiple-fuzzied-noup/multiple.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/multiple.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/multiple-fuzzied-noup/multiple.man.it.1 b/t/cfg/multiple-fuzzied-noup/multiple.man.it.1
new file mode 100644
index 0000000..b2cbe40
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/multiple.man.it.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- solo un test
+
+Ciao
diff --git a/t/cfg/multiple-fuzzied-noup/multiple.pot b/t/cfg/multiple-fuzzied-noup/multiple.pot
new file mode 100644
index 0000000..430a879
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/multiple.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-06 02:01+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-nopotpo/single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-nopotpo/single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-fuzzied-noup/po4a.conf b/t/cfg/multiple-fuzzied-noup/po4a.conf
new file mode 100644
index 0000000..1edb0aa
--- /dev/null
+++ b/t/cfg/multiple-fuzzied-noup/po4a.conf
@@ -0,0 +1,5 @@
+[po4a_langs] fr de es it
+[po4a_paths] multiple.pot $lang:multiple.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] multiple.man.1 $lang:multiple.man.$lang.1
diff --git a/t/cfg/multiple-fuzzied/_multiple.de.po b/t/cfg/multiple-fuzzied/_multiple.de.po
new file mode 100644
index 0000000..b7a6cee
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/_multiple.de.po
@@ -0,0 +1,41 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:07+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prüfung1"
+
+#. type: SH
+#: multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: multiple.man.1:4
+msgid "test - just a test"
+msgstr "prüfung - nur ein Prüfung"
+
+#. type: Plain text
+#: multiple.man.1:5
+#, fuzzy
+#| msgid "-Hello"
+msgid "Hello"
+msgstr "Hallo"
diff --git a/t/cfg/multiple-fuzzied/_multiple.es.po b/t/cfg/multiple-fuzzied/_multiple.es.po
new file mode 100644
index 0000000..c9dca6a
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/_multiple.es.po
@@ -0,0 +1,40 @@
+# Spanish translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, fuzzy, no-wrap
+#| msgid "-test1"
+msgid "test1"
+msgstr "prueba1"
+
+#. type: SH
+#: multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOMBRE"
+
+#. type: Plain text
+#: multiple.man.1:4
+msgid "test - just a test"
+msgstr "prueba - solo una prueba"
+
+#. type: Plain text
+#: multiple.man.1:5
+msgid "Hello"
+msgstr "Hola"
diff --git a/t/cfg/multiple-fuzzied/_multiple.fr.po b/t/cfg/multiple-fuzzied/_multiple.fr.po
new file mode 100644
index 0000000..82449b6
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/_multiple.fr.po
@@ -0,0 +1,41 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: multiple.man.1:4
+#, fuzzy
+#| msgid "-test - just a test"
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: multiple.man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/multiple-fuzzied/_multiple.it.po b/t/cfg/multiple-fuzzied/_multiple.it.po
new file mode 100644
index 0000000..2e0c964
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/_multiple.it.po
@@ -0,0 +1,40 @@
+# Italian translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: multiple.man.1:2
+#, fuzzy, no-wrap
+#| msgid "NAME-"
+msgid "NAME"
+msgstr "NOME"
+
+#. type: Plain text
+#: multiple.man.1:4
+msgid "test - just a test"
+msgstr "test - solo un test"
+
+#. type: Plain text
+#: multiple.man.1:5
+msgid "Hello"
+msgstr "Ciao"
diff --git a/t/cfg/multiple-fuzzied/_output b/t/cfg/multiple-fuzzied/_output
new file mode 100644
index 0000000..f3f6f7c
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/_output
@@ -0,0 +1,9 @@
+Updating multiple.pot: (4 entries)
+Updating multiple.de.po: 3 translated messages, 1 fuzzy translation.
+Updating multiple.es.po: 3 translated messages, 1 fuzzy translation.
+Updating multiple.fr.po: 3 translated messages, 1 fuzzy translation.
+Updating multiple.it.po: 3 translated messages, 1 fuzzy translation.
+Discard multiple.man.de.1 (3 of 4 strings; only 75% translated; need 80%).
+Discard multiple.man.es.1 (3 of 4 strings; only 75% translated; need 80%).
+Discard multiple.man.fr.1 (3 of 4 strings; only 75% translated; need 80%).
+Discard multiple.man.it.1 (3 of 4 strings; only 75% translated; need 80%).
diff --git a/t/cfg/multiple-fuzzied/multiple.de.po b/t/cfg/multiple-fuzzied/multiple.de.po
new file mode 100644
index 0000000..bb4a7d1
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/multiple.de.po
@@ -0,0 +1,39 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:07+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prüfung1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prüfung - nur ein Prüfung"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "-Hello"
+msgstr "Hallo"
diff --git a/t/cfg/multiple-fuzzied/multiple.es.po b/t/cfg/multiple-fuzzied/multiple.es.po
new file mode 100644
index 0000000..efa4116
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/multiple.es.po
@@ -0,0 +1,39 @@
+# Spanish translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "-test1"
+msgstr "prueba1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOMBRE"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prueba - solo una prueba"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Hola"
diff --git a/t/cfg/multiple-fuzzied/multiple.fr.po b/t/cfg/multiple-fuzzied/multiple.fr.po
new file mode 100644
index 0000000..7f6725b
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/multiple.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "-test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/multiple-fuzzied/multiple.it.po b/t/cfg/multiple-fuzzied/multiple.it.po
new file mode 100644
index 0000000..93b4e3b
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/multiple.it.po
@@ -0,0 +1,39 @@
+# Italian translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME-"
+msgstr "NOME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "test - solo un test"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Ciao"
diff --git a/t/cfg/multiple-fuzzied/multiple.man.1 b/t/cfg/multiple-fuzzied/multiple.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/multiple.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/multiple-fuzzied/multiple.man.de.1 b/t/cfg/multiple-fuzzied/multiple.man.de.1
new file mode 100644
index 0000000..870b037
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/multiple.man.de.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prüfung1 1
+.SH NAME
+prüfung \- nur ein Prüfung
+
+Hallo
diff --git a/t/cfg/multiple-fuzzied/multiple.man.es.1 b/t/cfg/multiple-fuzzied/multiple.man.es.1
new file mode 100644
index 0000000..091ad34
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/multiple.man.es.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prueba1 1
+.SH NOMBRE
+prueba \- solo una prueba
+
+Hola
diff --git a/t/cfg/multiple-fuzzied/multiple.man.fr.1 b/t/cfg/multiple-fuzzied/multiple.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/multiple.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/multiple-fuzzied/multiple.man.it.1 b/t/cfg/multiple-fuzzied/multiple.man.it.1
new file mode 100644
index 0000000..b2cbe40
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/multiple.man.it.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- solo un test
+
+Ciao
diff --git a/t/cfg/multiple-fuzzied/multiple.pot b/t/cfg/multiple-fuzzied/multiple.pot
new file mode 100644
index 0000000..430a879
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/multiple.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-06 02:01+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-nopotpo/single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-nopotpo/single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-fuzzied/po4a.conf b/t/cfg/multiple-fuzzied/po4a.conf
new file mode 100644
index 0000000..1edb0aa
--- /dev/null
+++ b/t/cfg/multiple-fuzzied/po4a.conf
@@ -0,0 +1,5 @@
+[po4a_langs] fr de es it
+[po4a_paths] multiple.pot $lang:multiple.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] multiple.man.1 $lang:multiple.man.$lang.1
diff --git a/t/cfg/multiple-fuzzy/_output b/t/cfg/multiple-fuzzy/_output
new file mode 100644
index 0000000..f3f6f7c
--- /dev/null
+++ b/t/cfg/multiple-fuzzy/_output
@@ -0,0 +1,9 @@
+Updating multiple.pot: (4 entries)
+Updating multiple.de.po: 3 translated messages, 1 fuzzy translation.
+Updating multiple.es.po: 3 translated messages, 1 fuzzy translation.
+Updating multiple.fr.po: 3 translated messages, 1 fuzzy translation.
+Updating multiple.it.po: 3 translated messages, 1 fuzzy translation.
+Discard multiple.man.de.1 (3 of 4 strings; only 75% translated; need 80%).
+Discard multiple.man.es.1 (3 of 4 strings; only 75% translated; need 80%).
+Discard multiple.man.fr.1 (3 of 4 strings; only 75% translated; need 80%).
+Discard multiple.man.it.1 (3 of 4 strings; only 75% translated; need 80%).
diff --git a/t/cfg/multiple-fuzzy/multiple.de.po b/t/cfg/multiple-fuzzy/multiple.de.po
new file mode 100644
index 0000000..007c33d
--- /dev/null
+++ b/t/cfg/multiple-fuzzy/multiple.de.po
@@ -0,0 +1,40 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:07+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prüfung1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prüfung - nur ein Prüfung"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+#, fuzzy
+msgid "Hello"
+msgstr "Hallo"
diff --git a/t/cfg/multiple-fuzzy/multiple.es.po b/t/cfg/multiple-fuzzy/multiple.es.po
new file mode 100644
index 0000000..85415cc
--- /dev/null
+++ b/t/cfg/multiple-fuzzy/multiple.es.po
@@ -0,0 +1,39 @@
+# Spanish translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, fuzzy, no-wrap
+msgid "test1"
+msgstr "prueba1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOMBRE"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prueba - solo una prueba"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Hola"
diff --git a/t/cfg/multiple-fuzzy/multiple.fr.po b/t/cfg/multiple-fuzzy/multiple.fr.po
new file mode 100644
index 0000000..08e8005
--- /dev/null
+++ b/t/cfg/multiple-fuzzy/multiple.fr.po
@@ -0,0 +1,40 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+#, fuzzy
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/multiple-fuzzy/multiple.it.po b/t/cfg/multiple-fuzzy/multiple.it.po
new file mode 100644
index 0000000..055dacc
--- /dev/null
+++ b/t/cfg/multiple-fuzzy/multiple.it.po
@@ -0,0 +1,39 @@
+# Italian translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, fuzzy, no-wrap
+msgid "NAME"
+msgstr "NOME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "test - solo un test"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Ciao"
diff --git a/t/cfg/multiple-fuzzy/multiple.man.1 b/t/cfg/multiple-fuzzy/multiple.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/multiple-fuzzy/multiple.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/multiple-fuzzy/multiple.man.de.1 b/t/cfg/multiple-fuzzy/multiple.man.de.1
new file mode 100644
index 0000000..870b037
--- /dev/null
+++ b/t/cfg/multiple-fuzzy/multiple.man.de.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prüfung1 1
+.SH NAME
+prüfung \- nur ein Prüfung
+
+Hallo
diff --git a/t/cfg/multiple-fuzzy/multiple.man.es.1 b/t/cfg/multiple-fuzzy/multiple.man.es.1
new file mode 100644
index 0000000..091ad34
--- /dev/null
+++ b/t/cfg/multiple-fuzzy/multiple.man.es.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prueba1 1
+.SH NOMBRE
+prueba \- solo una prueba
+
+Hola
diff --git a/t/cfg/multiple-fuzzy/multiple.man.fr.1 b/t/cfg/multiple-fuzzy/multiple.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/multiple-fuzzy/multiple.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/multiple-fuzzy/multiple.man.it.1 b/t/cfg/multiple-fuzzy/multiple.man.it.1
new file mode 100644
index 0000000..b2cbe40
--- /dev/null
+++ b/t/cfg/multiple-fuzzy/multiple.man.it.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- solo un test
+
+Ciao
diff --git a/t/cfg/multiple-fuzzy/multiple.pot b/t/cfg/multiple-fuzzy/multiple.pot
new file mode 100644
index 0000000..430a879
--- /dev/null
+++ b/t/cfg/multiple-fuzzy/multiple.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-06 02:01+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-nopotpo/single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-nopotpo/single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-fuzzy/po4a.conf b/t/cfg/multiple-fuzzy/po4a.conf
new file mode 100644
index 0000000..1edb0aa
--- /dev/null
+++ b/t/cfg/multiple-fuzzy/po4a.conf
@@ -0,0 +1,5 @@
+[po4a_langs] fr de es it
+[po4a_paths] multiple.pot $lang:multiple.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] multiple.man.1 $lang:multiple.man.$lang.1
diff --git a/t/cfg/multiple-newstr/_multiple.de.po b/t/cfg/multiple-newstr/_multiple.de.po
new file mode 100644
index 0000000..bbc9e13
--- /dev/null
+++ b/t/cfg/multiple-newstr/_multiple.de.po
@@ -0,0 +1,45 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 00:46+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prüfung1"
+
+#. type: SH
+#: multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: multiple.man.1:4
+msgid "test - just a test"
+msgstr "prüfung - nur ein Prüfung"
+
+#. type: Plain text
+#: multiple.man.1:6
+msgid "Hello"
+msgstr "Hallo"
+
+#. type: SH
+#: multiple.man.1:7
+#, no-wrap
+msgid "MORE CONTENT"
+msgstr ""
diff --git a/t/cfg/multiple-newstr/_multiple.es.po b/t/cfg/multiple-newstr/_multiple.es.po
new file mode 100644
index 0000000..e1d5d61
--- /dev/null
+++ b/t/cfg/multiple-newstr/_multiple.es.po
@@ -0,0 +1,45 @@
+# Spanish translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 00:46+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prueba1"
+
+#. type: SH
+#: multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOMBRE"
+
+#. type: Plain text
+#: multiple.man.1:4
+msgid "test - just a test"
+msgstr "prueba - solo una prueba"
+
+#. type: Plain text
+#: multiple.man.1:6
+msgid "Hello"
+msgstr "Hola"
+
+#. type: SH
+#: multiple.man.1:7
+#, no-wrap
+msgid "MORE CONTENT"
+msgstr ""
diff --git a/t/cfg/multiple-newstr/_multiple.fr.po b/t/cfg/multiple-newstr/_multiple.fr.po
new file mode 100644
index 0000000..a1085f7
--- /dev/null
+++ b/t/cfg/multiple-newstr/_multiple.fr.po
@@ -0,0 +1,45 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 00:48+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: multiple.man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: multiple.man.1:6
+msgid "Hello"
+msgstr "Bonjour"
+
+#. type: SH
+#: multiple.man.1:7
+#, no-wrap
+msgid "MORE CONTENT"
+msgstr ""
diff --git a/t/cfg/multiple-newstr/_multiple.it.po b/t/cfg/multiple-newstr/_multiple.it.po
new file mode 100644
index 0000000..69f981f
--- /dev/null
+++ b/t/cfg/multiple-newstr/_multiple.it.po
@@ -0,0 +1,45 @@
+# Italian translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 00:48+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOME"
+
+#. type: Plain text
+#: multiple.man.1:4
+msgid "test - just a test"
+msgstr "test - solo un test"
+
+#. type: Plain text
+#: multiple.man.1:6
+msgid "Hello"
+msgstr "Ciao"
+
+#. type: SH
+#: multiple.man.1:7
+#, no-wrap
+msgid "MORE CONTENT"
+msgstr ""
diff --git a/t/cfg/multiple-newstr/_output b/t/cfg/multiple-newstr/_output
new file mode 100644
index 0000000..12899f9
--- /dev/null
+++ b/t/cfg/multiple-newstr/_output
@@ -0,0 +1,9 @@
+Updating multiple.pot: (5 entries)
+Updating multiple.de.po: 4 translated messages, 1 untranslated message.
+Updating multiple.es.po: 4 translated messages, 1 untranslated message.
+Updating multiple.fr.po: 4 translated messages, 1 untranslated message.
+Updating multiple.it.po: 4 translated messages, 1 untranslated message.
+multiple.man.de.1 is 80% translated (4 of 5 strings).
+multiple.man.es.1 is 80% translated (4 of 5 strings).
+multiple.man.fr.1 is 80% translated (4 of 5 strings).
+multiple.man.it.1 is 80% translated (4 of 5 strings).
diff --git a/t/cfg/multiple-newstr/multiple.de.po b/t/cfg/multiple-newstr/multiple.de.po
new file mode 100644
index 0000000..bbc2baa
--- /dev/null
+++ b/t/cfg/multiple-newstr/multiple.de.po
@@ -0,0 +1,39 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 00:45+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prüfung1"
+
+#. type: SH
+#: multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: multiple.man.1:4
+msgid "test - just a test"
+msgstr "prüfung - nur ein Prüfung"
+
+#. type: Plain text
+#: multiple.man.1:6
+msgid "Hello"
+msgstr "Hallo"
diff --git a/t/cfg/multiple-newstr/multiple.es.po b/t/cfg/multiple-newstr/multiple.es.po
new file mode 100644
index 0000000..19a3bcc
--- /dev/null
+++ b/t/cfg/multiple-newstr/multiple.es.po
@@ -0,0 +1,39 @@
+# Spanish translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prueba1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOMBRE"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prueba - solo una prueba"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Hola"
diff --git a/t/cfg/multiple-newstr/multiple.fr.po b/t/cfg/multiple-newstr/multiple.fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/multiple-newstr/multiple.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/multiple-newstr/multiple.it.po b/t/cfg/multiple-newstr/multiple.it.po
new file mode 100644
index 0000000..f45e1db
--- /dev/null
+++ b/t/cfg/multiple-newstr/multiple.it.po
@@ -0,0 +1,39 @@
+# Italian translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "test - solo un test"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Ciao"
diff --git a/t/cfg/multiple-newstr/multiple.man.1 b/t/cfg/multiple-newstr/multiple.man.1
new file mode 100644
index 0000000..91da24d
--- /dev/null
+++ b/t/cfg/multiple-newstr/multiple.man.1
@@ -0,0 +1,7 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
+
+.SH MORE CONTENT
diff --git a/t/cfg/multiple-newstr/multiple.man.de.1 b/t/cfg/multiple-newstr/multiple.man.de.1
new file mode 100644
index 0000000..1195118
--- /dev/null
+++ b/t/cfg/multiple-newstr/multiple.man.de.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prüfung1 1
+.SH NAME
+prüfung \- nur ein Prüfung
+
+Hallo
+
+.SH "MORE CONTENT"
diff --git a/t/cfg/multiple-newstr/multiple.man.es.1 b/t/cfg/multiple-newstr/multiple.man.es.1
new file mode 100644
index 0000000..671c413
--- /dev/null
+++ b/t/cfg/multiple-newstr/multiple.man.es.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prueba1 1
+.SH NOMBRE
+prueba \- solo una prueba
+
+Hola
+
+.SH "MORE CONTENT"
diff --git a/t/cfg/multiple-newstr/multiple.man.fr.1 b/t/cfg/multiple-newstr/multiple.man.fr.1
new file mode 100644
index 0000000..4dea14d
--- /dev/null
+++ b/t/cfg/multiple-newstr/multiple.man.fr.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
+
+.SH "MORE CONTENT"
diff --git a/t/cfg/multiple-newstr/multiple.man.it.1 b/t/cfg/multiple-newstr/multiple.man.it.1
new file mode 100644
index 0000000..511b35a
--- /dev/null
+++ b/t/cfg/multiple-newstr/multiple.man.it.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- solo un test
+
+Ciao
+
+.SH "MORE CONTENT"
diff --git a/t/cfg/multiple-newstr/multiple.pot b/t/cfg/multiple-newstr/multiple.pot
new file mode 100644
index 0000000..dd05b89
--- /dev/null
+++ b/t/cfg/multiple-newstr/multiple.pot
@@ -0,0 +1,45 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-06 02:01+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-nopotpo/single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-nopotpo/single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:5
+msgid "Hello"
+msgstr ""
+
+#. type: SH
+#: multiple.man.1:7
+#, no-wrap
+msgid "MORE CONTENT"
+msgstr ""
diff --git a/t/cfg/multiple-newstr/po4a.conf b/t/cfg/multiple-newstr/po4a.conf
new file mode 100644
index 0000000..1edb0aa
--- /dev/null
+++ b/t/cfg/multiple-newstr/po4a.conf
@@ -0,0 +1,5 @@
+[po4a_langs] fr de es it
+[po4a_paths] multiple.pot $lang:multiple.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] multiple.man.1 $lang:multiple.man.$lang.1
diff --git a/t/cfg/multiple-nopo/_multiple.de.po b/t/cfg/multiple-nopo/_multiple.de.po
new file mode 100644
index 0000000..073f261
--- /dev/null
+++ b/t/cfg/multiple-nopo/_multiple.de.po
@@ -0,0 +1,39 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:07+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopo/_multiple.es.po b/t/cfg/multiple-nopo/_multiple.es.po
new file mode 100644
index 0000000..d33f627
--- /dev/null
+++ b/t/cfg/multiple-nopo/_multiple.es.po
@@ -0,0 +1,39 @@
+# Spanish translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopo/_multiple.fr.po b/t/cfg/multiple-nopo/_multiple.fr.po
new file mode 100644
index 0000000..1772779
--- /dev/null
+++ b/t/cfg/multiple-nopo/_multiple.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopo/_multiple.it.po b/t/cfg/multiple-nopo/_multiple.it.po
new file mode 100644
index 0000000..7182364
--- /dev/null
+++ b/t/cfg/multiple-nopo/_multiple.it.po
@@ -0,0 +1,39 @@
+# Italian translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopo/_output b/t/cfg/multiple-nopo/_output
new file mode 100644
index 0000000..f3b2472
--- /dev/null
+++ b/t/cfg/multiple-nopo/_output
@@ -0,0 +1,9 @@
+Updating multiple.pot: (4 entries)
+Creating an empty PO file in multiple.de.po.
+Creating an empty PO file in multiple.es.po.
+Creating an empty PO file in multiple.fr.po.
+Creating an empty PO file in multiple.it.po.
+Discard multiple.man.de.1 (0 of 4 strings; only 0% translated; need 80%).
+Discard multiple.man.es.1 (0 of 4 strings; only 0% translated; need 80%).
+Discard multiple.man.fr.1 (0 of 4 strings; only 0% translated; need 80%).
+Discard multiple.man.it.1 (0 of 4 strings; only 0% translated; need 80%).
diff --git a/t/cfg/multiple-nopo/_output-noupdate b/t/cfg/multiple-nopo/_output-noupdate
new file mode 100644
index 0000000..d3cc84a
--- /dev/null
+++ b/t/cfg/multiple-nopo/_output-noupdate
@@ -0,0 +1,6 @@
+NOT updating multiple.pot as requested (--no-update).
+NOT updating the POT file multiple.pot as requested (--no-update).
+PO file multiple.de.po for language de is missing -- skipping.
+PO file multiple.es.po for language es is missing -- skipping.
+PO file multiple.fr.po for language fr is missing -- skipping.
+PO file multiple.it.po for language it is missing -- skipping.
diff --git a/t/cfg/multiple-nopo/multiple.man.1 b/t/cfg/multiple-nopo/multiple.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/multiple-nopo/multiple.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/multiple-nopo/multiple.pot b/t/cfg/multiple-nopo/multiple.pot
new file mode 100644
index 0000000..430a879
--- /dev/null
+++ b/t/cfg/multiple-nopo/multiple.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-06 02:01+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-nopotpo/single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-nopotpo/single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopo/po4a.conf b/t/cfg/multiple-nopo/po4a.conf
new file mode 100644
index 0000000..1edb0aa
--- /dev/null
+++ b/t/cfg/multiple-nopo/po4a.conf
@@ -0,0 +1,5 @@
+[po4a_langs] fr de es it
+[po4a_paths] multiple.pot $lang:multiple.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] multiple.man.1 $lang:multiple.man.$lang.1
diff --git a/t/cfg/multiple-nopotpo/_multiple.de.po b/t/cfg/multiple-nopotpo/_multiple.de.po
new file mode 100644
index 0000000..073f261
--- /dev/null
+++ b/t/cfg/multiple-nopotpo/_multiple.de.po
@@ -0,0 +1,39 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:07+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopotpo/_multiple.es.po b/t/cfg/multiple-nopotpo/_multiple.es.po
new file mode 100644
index 0000000..d33f627
--- /dev/null
+++ b/t/cfg/multiple-nopotpo/_multiple.es.po
@@ -0,0 +1,39 @@
+# Spanish translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopotpo/_multiple.fr.po b/t/cfg/multiple-nopotpo/_multiple.fr.po
new file mode 100644
index 0000000..1772779
--- /dev/null
+++ b/t/cfg/multiple-nopotpo/_multiple.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopotpo/_multiple.it.po b/t/cfg/multiple-nopotpo/_multiple.it.po
new file mode 100644
index 0000000..7182364
--- /dev/null
+++ b/t/cfg/multiple-nopotpo/_multiple.it.po
@@ -0,0 +1,39 @@
+# Italian translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopotpo/_multiple.pot b/t/cfg/multiple-nopotpo/_multiple.pot
new file mode 100644
index 0000000..430a879
--- /dev/null
+++ b/t/cfg/multiple-nopotpo/_multiple.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-06 02:01+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-nopotpo/single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-nopotpo/single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopotpo/_output b/t/cfg/multiple-nopotpo/_output
new file mode 100644
index 0000000..35ab217
--- /dev/null
+++ b/t/cfg/multiple-nopotpo/_output
@@ -0,0 +1,9 @@
+Creating multiple.pot: (4 entries)
+Creating an empty PO file in multiple.de.po.
+Creating an empty PO file in multiple.es.po.
+Creating an empty PO file in multiple.fr.po.
+Creating an empty PO file in multiple.it.po.
+Discard multiple.man.de.1 (0 of 4 strings; only 0% translated; need 80%).
+Discard multiple.man.es.1 (0 of 4 strings; only 0% translated; need 80%).
+Discard multiple.man.fr.1 (0 of 4 strings; only 0% translated; need 80%).
+Discard multiple.man.it.1 (0 of 4 strings; only 0% translated; need 80%).
diff --git a/t/cfg/multiple-nopotpo/multiple.man.1 b/t/cfg/multiple-nopotpo/multiple.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/multiple-nopotpo/multiple.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/multiple-nopotpo/po4a.conf b/t/cfg/multiple-nopotpo/po4a.conf
new file mode 100644
index 0000000..1edb0aa
--- /dev/null
+++ b/t/cfg/multiple-nopotpo/po4a.conf
@@ -0,0 +1,5 @@
+[po4a_langs] fr de es it
+[po4a_paths] multiple.pot $lang:multiple.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] multiple.man.1 $lang:multiple.man.$lang.1
diff --git a/t/cfg/multiple-potin/_multiple.man.de.1 b/t/cfg/multiple-potin/_multiple.man.de.1
new file mode 100644
index 0000000..f457911
--- /dev/null
+++ b/t/cfg/multiple-potin/_multiple.man.de.1
@@ -0,0 +1,14 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prüfung1 1
+.SH NAME
+prüfung \- nur ein Prüfung
+
+Hallo
+
+.SH "Not Translated"
+
+This section should not end up in the PO files to not get translated.
diff --git a/t/cfg/multiple-potin/_multiple.man.es.1 b/t/cfg/multiple-potin/_multiple.man.es.1
new file mode 100644
index 0000000..53e5d48
--- /dev/null
+++ b/t/cfg/multiple-potin/_multiple.man.es.1
@@ -0,0 +1,14 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prueba1 1
+.SH NOMBRE
+prueba \- solo una prueba
+
+Hola
+
+.SH "Not Translated"
+
+This section should not end up in the PO files to not get translated.
diff --git a/t/cfg/multiple-potin/_multiple.man.fr.1 b/t/cfg/multiple-potin/_multiple.man.fr.1
new file mode 100644
index 0000000..aa99aaf
--- /dev/null
+++ b/t/cfg/multiple-potin/_multiple.man.fr.1
@@ -0,0 +1,14 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
+
+.SH "Not Translated"
+
+This section should not end up in the PO files to not get translated.
diff --git a/t/cfg/multiple-potin/_multiple.man.it.1 b/t/cfg/multiple-potin/_multiple.man.it.1
new file mode 100644
index 0000000..b7c5630
--- /dev/null
+++ b/t/cfg/multiple-potin/_multiple.man.it.1
@@ -0,0 +1,14 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- solo un test
+
+Ciao
+
+.SH "Not Translated"
+
+This section should not end up in the PO files to not get translated.
diff --git a/t/cfg/multiple-potin/_output b/t/cfg/multiple-potin/_output
new file mode 100644
index 0000000..dbe898c
--- /dev/null
+++ b/t/cfg/multiple-potin/_output
@@ -0,0 +1,9 @@
+Updating multiple.pot: (4 entries)
+Updating multiple.de.po: 4 translated messages.
+Updating multiple.es.po: 4 translated messages.
+Updating multiple.fr.po: 4 translated messages.
+Updating multiple.it.po: 4 translated messages.
+multiple.man.de.1 is 66.66% translated (4 of 6 strings).
+multiple.man.es.1 is 66.66% translated (4 of 6 strings).
+multiple.man.fr.1 is 66.66% translated (4 of 6 strings).
+multiple.man.it.1 is 66.66% translated (4 of 6 strings).
diff --git a/t/cfg/multiple-potin/multiple-filtered.man.1 b/t/cfg/multiple-potin/multiple-filtered.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/multiple-potin/multiple-filtered.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/multiple-potin/multiple.de.po b/t/cfg/multiple-potin/multiple.de.po
new file mode 100644
index 0000000..5198b30
--- /dev/null
+++ b/t/cfg/multiple-potin/multiple.de.po
@@ -0,0 +1,39 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:07+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prüfung1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prüfung - nur ein Prüfung"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Hallo"
diff --git a/t/cfg/multiple-potin/multiple.es.po b/t/cfg/multiple-potin/multiple.es.po
new file mode 100644
index 0000000..19a3bcc
--- /dev/null
+++ b/t/cfg/multiple-potin/multiple.es.po
@@ -0,0 +1,39 @@
+# Spanish translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prueba1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOMBRE"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prueba - solo una prueba"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Hola"
diff --git a/t/cfg/multiple-potin/multiple.fr.po b/t/cfg/multiple-potin/multiple.fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/multiple-potin/multiple.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/multiple-potin/multiple.it.po b/t/cfg/multiple-potin/multiple.it.po
new file mode 100644
index 0000000..f45e1db
--- /dev/null
+++ b/t/cfg/multiple-potin/multiple.it.po
@@ -0,0 +1,39 @@
+# Italian translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "test - solo un test"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Ciao"
diff --git a/t/cfg/multiple-potin/multiple.man.1 b/t/cfg/multiple-potin/multiple.man.1
new file mode 100644
index 0000000..12f53fc
--- /dev/null
+++ b/t/cfg/multiple-potin/multiple.man.1
@@ -0,0 +1,9 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
+
+.SH "Not Translated"
+
+This section should not end up in the PO files to not get translated.
diff --git a/t/cfg/multiple-potin/multiple.pot b/t/cfg/multiple-potin/multiple.pot
new file mode 100644
index 0000000..430a879
--- /dev/null
+++ b/t/cfg/multiple-potin/multiple.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-06 02:01+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-nopotpo/single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-nopotpo/single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-potin/po4a.conf b/t/cfg/multiple-potin/po4a.conf
new file mode 100644
index 0000000..edeea11
--- /dev/null
+++ b/t/cfg/multiple-potin/po4a.conf
@@ -0,0 +1,5 @@
+[po4a_langs] fr de es it
+[po4a_paths] multiple.pot $lang:multiple.$lang.po
+[options] --msgmerge-opt --silent --keep 0
+
+[type:man] multiple.man.1 $lang:multiple.man.$lang.1 pot_in:multiple-filtered.man.1
diff --git a/t/cfg/multiple-uptodate/_output b/t/cfg/multiple-uptodate/_output
new file mode 100644
index 0000000..dd735f8
--- /dev/null
+++ b/t/cfg/multiple-uptodate/_output
@@ -0,0 +1,9 @@
+Updating multiple.pot: (4 entries)
+Updating multiple.de.po: 4 translated messages.
+Updating multiple.es.po: 4 translated messages.
+Updating multiple.fr.po: 4 translated messages.
+Updating multiple.it.po: 4 translated messages.
+multiple.man.de.1 is 100% translated (4 strings).
+multiple.man.es.1 is 100% translated (4 strings).
+multiple.man.fr.1 is 100% translated (4 strings).
+multiple.man.it.1 is 100% translated (4 strings).
diff --git a/t/cfg/multiple-uptodate/_output-only-one b/t/cfg/multiple-uptodate/_output-only-one
new file mode 100644
index 0000000..50b1362
--- /dev/null
+++ b/t/cfg/multiple-uptodate/_output-only-one
@@ -0,0 +1,4 @@
+Document multiple.man.1 kept for update (--translate-only).
+Languages skipped because of --translate-only: es fr it; kept languages: de.
+NOT updating the POT file multiple.pot because of --translate-only.
+multiple.man.de.1 is 100% translated (4 strings).
diff --git a/t/cfg/multiple-uptodate/_output-only-two b/t/cfg/multiple-uptodate/_output-only-two
new file mode 100644
index 0000000..1c2f2fb
--- /dev/null
+++ b/t/cfg/multiple-uptodate/_output-only-two
@@ -0,0 +1,5 @@
+Document multiple.man.1 kept for update (--translate-only).
+Languages skipped because of --translate-only: fr it; kept languages: de es.
+NOT updating the POT file multiple.pot because of --translate-only.
+multiple.man.de.1 is 100% translated (4 strings).
+multiple.man.es.1 is 100% translated (4 strings).
diff --git a/t/cfg/multiple-uptodate/multiple.de.po b/t/cfg/multiple-uptodate/multiple.de.po
new file mode 100644
index 0000000..5198b30
--- /dev/null
+++ b/t/cfg/multiple-uptodate/multiple.de.po
@@ -0,0 +1,39 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:07+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prüfung1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prüfung - nur ein Prüfung"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Hallo"
diff --git a/t/cfg/multiple-uptodate/multiple.es.po b/t/cfg/multiple-uptodate/multiple.es.po
new file mode 100644
index 0000000..19a3bcc
--- /dev/null
+++ b/t/cfg/multiple-uptodate/multiple.es.po
@@ -0,0 +1,39 @@
+# Spanish translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prueba1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOMBRE"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prueba - solo una prueba"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Hola"
diff --git a/t/cfg/multiple-uptodate/multiple.fr.po b/t/cfg/multiple-uptodate/multiple.fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/multiple-uptodate/multiple.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/multiple-uptodate/multiple.it.po b/t/cfg/multiple-uptodate/multiple.it.po
new file mode 100644
index 0000000..f45e1db
--- /dev/null
+++ b/t/cfg/multiple-uptodate/multiple.it.po
@@ -0,0 +1,39 @@
+# Italian translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "test - solo un test"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Ciao"
diff --git a/t/cfg/multiple-uptodate/multiple.man.1 b/t/cfg/multiple-uptodate/multiple.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/multiple-uptodate/multiple.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/multiple-uptodate/multiple.man.de.1 b/t/cfg/multiple-uptodate/multiple.man.de.1
new file mode 100644
index 0000000..870b037
--- /dev/null
+++ b/t/cfg/multiple-uptodate/multiple.man.de.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prüfung1 1
+.SH NAME
+prüfung \- nur ein Prüfung
+
+Hallo
diff --git a/t/cfg/multiple-uptodate/multiple.man.es.1 b/t/cfg/multiple-uptodate/multiple.man.es.1
new file mode 100644
index 0000000..091ad34
--- /dev/null
+++ b/t/cfg/multiple-uptodate/multiple.man.es.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prueba1 1
+.SH NOMBRE
+prueba \- solo una prueba
+
+Hola
diff --git a/t/cfg/multiple-uptodate/multiple.man.fr.1 b/t/cfg/multiple-uptodate/multiple.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/multiple-uptodate/multiple.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/multiple-uptodate/multiple.man.it.1 b/t/cfg/multiple-uptodate/multiple.man.it.1
new file mode 100644
index 0000000..b2cbe40
--- /dev/null
+++ b/t/cfg/multiple-uptodate/multiple.man.it.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- solo un test
+
+Ciao
diff --git a/t/cfg/multiple-uptodate/multiple.pot b/t/cfg/multiple-uptodate/multiple.pot
new file mode 100644
index 0000000..430a879
--- /dev/null
+++ b/t/cfg/multiple-uptodate/multiple.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-06 02:01+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-nopotpo/single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-nopotpo/single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-uptodate/po4a.conf b/t/cfg/multiple-uptodate/po4a.conf
new file mode 100644
index 0000000..1edb0aa
--- /dev/null
+++ b/t/cfg/multiple-uptodate/po4a.conf
@@ -0,0 +1,5 @@
+[po4a_langs] fr de es it
+[po4a_paths] multiple.pot $lang:multiple.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] multiple.man.1 $lang:multiple.man.$lang.1
diff --git a/t/cfg/multiple/_multiple.man.de.1 b/t/cfg/multiple/_multiple.man.de.1
new file mode 100644
index 0000000..870b037
--- /dev/null
+++ b/t/cfg/multiple/_multiple.man.de.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prüfung1 1
+.SH NAME
+prüfung \- nur ein Prüfung
+
+Hallo
diff --git a/t/cfg/multiple/_multiple.man.es.1 b/t/cfg/multiple/_multiple.man.es.1
new file mode 100644
index 0000000..091ad34
--- /dev/null
+++ b/t/cfg/multiple/_multiple.man.es.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH prueba1 1
+.SH NOMBRE
+prueba \- solo una prueba
+
+Hola
diff --git a/t/cfg/multiple/_multiple.man.fr.1 b/t/cfg/multiple/_multiple.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/multiple/_multiple.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/multiple/_multiple.man.it.1 b/t/cfg/multiple/_multiple.man.it.1
new file mode 100644
index 0000000..b2cbe40
--- /dev/null
+++ b/t/cfg/multiple/_multiple.man.it.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOME
+test \- solo un test
+
+Ciao
diff --git a/t/cfg/multiple/_output b/t/cfg/multiple/_output
new file mode 100644
index 0000000..dd735f8
--- /dev/null
+++ b/t/cfg/multiple/_output
@@ -0,0 +1,9 @@
+Updating multiple.pot: (4 entries)
+Updating multiple.de.po: 4 translated messages.
+Updating multiple.es.po: 4 translated messages.
+Updating multiple.fr.po: 4 translated messages.
+Updating multiple.it.po: 4 translated messages.
+multiple.man.de.1 is 100% translated (4 strings).
+multiple.man.es.1 is 100% translated (4 strings).
+multiple.man.fr.1 is 100% translated (4 strings).
+multiple.man.it.1 is 100% translated (4 strings).
diff --git a/t/cfg/multiple/multiple.de.po b/t/cfg/multiple/multiple.de.po
new file mode 100644
index 0000000..5198b30
--- /dev/null
+++ b/t/cfg/multiple/multiple.de.po
@@ -0,0 +1,39 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:07+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prüfung1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prüfung - nur ein Prüfung"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Hallo"
diff --git a/t/cfg/multiple/multiple.es.po b/t/cfg/multiple/multiple.es.po
new file mode 100644
index 0000000..19a3bcc
--- /dev/null
+++ b/t/cfg/multiple/multiple.es.po
@@ -0,0 +1,39 @@
+# Spanish translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "prueba1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOMBRE"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "prueba - solo una prueba"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Hola"
diff --git a/t/cfg/multiple/multiple.fr.po b/t/cfg/multiple/multiple.fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/multiple/multiple.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/multiple/multiple.it.po b/t/cfg/multiple/multiple.it.po
new file mode 100644
index 0000000..f45e1db
--- /dev/null
+++ b/t/cfg/multiple/multiple.it.po
@@ -0,0 +1,39 @@
+# Italian translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOME"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr "test - solo un test"
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr "Ciao"
diff --git a/t/cfg/multiple/multiple.man.1 b/t/cfg/multiple/multiple.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/multiple/multiple.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/multiple/multiple.pot b/t/cfg/multiple/multiple.pot
new file mode 100644
index 0000000..430a879
--- /dev/null
+++ b/t/cfg/multiple/multiple.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-06 02:01+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-nopotpo/single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-nopotpo/single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple/po4a.conf b/t/cfg/multiple/po4a.conf
new file mode 100644
index 0000000..1edb0aa
--- /dev/null
+++ b/t/cfg/multiple/po4a.conf
@@ -0,0 +1,5 @@
+[po4a_langs] fr de es it
+[po4a_paths] multiple.pot $lang:multiple.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] multiple.man.1 $lang:multiple.man.$lang.1
diff --git a/t/cfg/single-emptypo/_fr.po b/t/cfg/single-emptypo/_fr.po
new file mode 100644
index 0000000..59bff7e
--- /dev/null
+++ b/t/cfg/single-emptypo/_fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: single.man.1:5
+msgid "UTF in msgid is sometimes difficult, but mandatory for some nämes."
+msgstr ""
diff --git a/t/cfg/single-emptypo/_output b/t/cfg/single-emptypo/_output
new file mode 100644
index 0000000..d8fbf51
--- /dev/null
+++ b/t/cfg/single-emptypo/_output
@@ -0,0 +1,3 @@
+Updating single.pot: (4 entries)
+Creating an empty PO file in fr.po.
+single.man.fr.1 is 0% translated (0 of 4 strings).
diff --git a/t/cfg/single-emptypo/_single.man.fr.1 b/t/cfg/single-emptypo/_single.man.fr.1
new file mode 100644
index 0000000..4f33cec
--- /dev/null
+++ b/t/cfg/single-emptypo/_single.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NAME
+test \- just a test
+
+UTF in msgid is sometimes difficult, but mandatory for some nämes.
diff --git a/t/cfg/single-emptypo/fr.po b/t/cfg/single-emptypo/fr.po
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/cfg/single-emptypo/fr.po
diff --git a/t/cfg/single-emptypo/po4a.conf b/t/cfg/single-emptypo/po4a.conf
new file mode 100644
index 0000000..c0f289b
--- /dev/null
+++ b/t/cfg/single-emptypo/po4a.conf
@@ -0,0 +1,5 @@
+[po4a_paths] single.pot fr:fr.po
+
+[options] opt:"--verbose --keep 0 "
+
+[type:man] single.man.1 fr:single.man.fr.1
diff --git a/t/cfg/single-emptypo/single.man.1 b/t/cfg/single-emptypo/single.man.1
new file mode 100644
index 0000000..912f8f0
--- /dev/null
+++ b/t/cfg/single-emptypo/single.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+UTF in msgid is sometimes difficult, but mandatory for some nämes.
diff --git a/t/cfg/single-emptypo/single.pot b/t/cfg/single-emptypo/single.pot
new file mode 100644
index 0000000..b81be08
--- /dev/null
+++ b/t/cfg/single-emptypo/single.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: single.man.1:5
+msgid "UTF in msgid is sometimes difficult, but mandatory for some nämes."
+msgstr ""
diff --git a/t/cfg/single-fuzzied-noup/_output b/t/cfg/single-fuzzied-noup/_output
new file mode 100644
index 0000000..9fb696e
--- /dev/null
+++ b/t/cfg/single-fuzzied-noup/_output
@@ -0,0 +1,3 @@
+NOT updating single-fuzzied-noup.pot as requested (--no-update).
+NOT updating the POT file single-fuzzied-noup.pot as requested (--no-update).
+Discard single-fuzzied-noup.man.fr.1 (3 of 4 strings; only 75% translated; need 80%).
diff --git a/t/cfg/single-fuzzied-noup/_single-fuzzied.fr.po b/t/cfg/single-fuzzied-noup/_single-fuzzied.fr.po
new file mode 100644
index 0000000..1018ebb
--- /dev/null
+++ b/t/cfg/single-fuzzied-noup/_single-fuzzied.fr.po
@@ -0,0 +1,40 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, fuzzy, no-wrap
+#| msgid "Test1"
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/single-fuzzied-noup/po4a.conf b/t/cfg/single-fuzzied-noup/po4a.conf
new file mode 100644
index 0000000..5fea97e
--- /dev/null
+++ b/t/cfg/single-fuzzied-noup/po4a.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] single-fuzzied-noup.pot fr:single-fuzzied-noup.fr.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single-fuzzied-noup.man.1 fr:single-fuzzied-noup.man.fr.1
diff --git a/t/cfg/single-fuzzied-noup/single-fuzzied-noup.fr.po b/t/cfg/single-fuzzied-noup/single-fuzzied-noup.fr.po
new file mode 100644
index 0000000..2d9c58f
--- /dev/null
+++ b/t/cfg/single-fuzzied-noup/single-fuzzied-noup.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "Test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/single-fuzzied-noup/single-fuzzied-noup.man.1 b/t/cfg/single-fuzzied-noup/single-fuzzied-noup.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-fuzzied-noup/single-fuzzied-noup.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-fuzzied-noup/single-fuzzied-noup.pot b/t/cfg/single-fuzzied-noup/single-fuzzied-noup.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single-fuzzied-noup/single-fuzzied-noup.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-fuzzied/_output b/t/cfg/single-fuzzied/_output
new file mode 100644
index 0000000..97e1ee0
--- /dev/null
+++ b/t/cfg/single-fuzzied/_output
@@ -0,0 +1,3 @@
+Updating single-fuzzied.pot: (4 entries)
+Updating single-fuzzied.fr.po: 3 translated messages, 1 fuzzy translation.
+Discard single-fuzzied.man.fr.1 (3 of 4 strings; only 75% translated; need 80%).
diff --git a/t/cfg/single-fuzzied/_single-fuzzied.fr.po b/t/cfg/single-fuzzied/_single-fuzzied.fr.po
new file mode 100644
index 0000000..1018ebb
--- /dev/null
+++ b/t/cfg/single-fuzzied/_single-fuzzied.fr.po
@@ -0,0 +1,40 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, fuzzy, no-wrap
+#| msgid "Test1"
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/single-fuzzied/po4a.conf b/t/cfg/single-fuzzied/po4a.conf
new file mode 100644
index 0000000..b63cef1
--- /dev/null
+++ b/t/cfg/single-fuzzied/po4a.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] single-fuzzied.pot fr:single-fuzzied.fr.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single-fuzzied.man.1 fr:single-fuzzied.man.fr.1
diff --git a/t/cfg/single-fuzzied/single-fuzzied.fr.po b/t/cfg/single-fuzzied/single-fuzzied.fr.po
new file mode 100644
index 0000000..2d9c58f
--- /dev/null
+++ b/t/cfg/single-fuzzied/single-fuzzied.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "Test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/single-fuzzied/single-fuzzied.man.1 b/t/cfg/single-fuzzied/single-fuzzied.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-fuzzied/single-fuzzied.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-fuzzied/single-fuzzied.pot b/t/cfg/single-fuzzied/single-fuzzied.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single-fuzzied/single-fuzzied.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-fuzzy/_output b/t/cfg/single-fuzzy/_output
new file mode 100644
index 0000000..707ac64
--- /dev/null
+++ b/t/cfg/single-fuzzy/_output
@@ -0,0 +1,3 @@
+Updating single-fuzzy.pot: (4 entries)
+Updating single-fuzzy.fr.po: 3 translated messages, 1 fuzzy translation.
+Discard single-fuzzy.man.fr.1 (3 of 4 strings; only 75% translated; need 80%).
diff --git a/t/cfg/single-fuzzy/po4a.conf b/t/cfg/single-fuzzy/po4a.conf
new file mode 100644
index 0000000..a80db4d
--- /dev/null
+++ b/t/cfg/single-fuzzy/po4a.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] single-fuzzy.pot fr:single-fuzzy.fr.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single-fuzzy.man.1 fr:single-fuzzy.man.fr.1
diff --git a/t/cfg/single-fuzzy/single-fuzzy.fr.po b/t/cfg/single-fuzzy/single-fuzzy.fr.po
new file mode 100644
index 0000000..954fb48
--- /dev/null
+++ b/t/cfg/single-fuzzy/single-fuzzy.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, fuzzy, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/single-fuzzy/single-fuzzy.man.1 b/t/cfg/single-fuzzy/single-fuzzy.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-fuzzy/single-fuzzy.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-fuzzy/single-fuzzy.pot b/t/cfg/single-fuzzy/single-fuzzy.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single-fuzzy/single-fuzzy.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-invalid/_output b/t/cfg/single-invalid/_output
new file mode 100644
index 0000000..f7ce727
--- /dev/null
+++ b/t/cfg/single-invalid/_output
@@ -0,0 +1,8 @@
+Updating single.pot: (4 entries)
+Updating single.fr.po:39: 'msgid' and 'msgstr' entries do not both end with '\n'
+msgfmt: found 1 fatal error
+single.fr.po: 4 translated messages.
+Invalid po file single.fr.po:
+single.fr.po:39: 'msgid' and 'msgstr' entries do not both end with '\n'
+msgfmt: found 1 fatal error
+
diff --git a/t/cfg/single-invalid/po4a.conf b/t/cfg/single-invalid/po4a.conf
new file mode 100644
index 0000000..da28633
--- /dev/null
+++ b/t/cfg/single-invalid/po4a.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] single.pot fr:single.fr.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single.man.1 fr:single.man.fr.1
diff --git a/t/cfg/single-invalid/single.fr.po b/t/cfg/single-invalid/single.fr.po
new file mode 100644
index 0000000..ca6039a
--- /dev/null
+++ b/t/cfg/single-invalid/single.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour\n"
diff --git a/t/cfg/single-invalid/single.man.1 b/t/cfg/single-invalid/single.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-invalid/single.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-invalid/single.man.fr.1 b/t/cfg/single-invalid/single.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/single-invalid/single.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/single-invalid/single.pot b/t/cfg/single-invalid/single.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single-invalid/single.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-newstr/_output b/t/cfg/single-newstr/_output
new file mode 100644
index 0000000..3770f93
--- /dev/null
+++ b/t/cfg/single-newstr/_output
@@ -0,0 +1,3 @@
+Updating single-newstr.pot: (5 entries)
+Updating single-newstr.fr.po: 4 translated messages, 1 untranslated message.
+single-newstr.man.fr.1 is 80% translated (4 of 5 strings).
diff --git a/t/cfg/single-newstr/_single-newstr.fr.po b/t/cfg/single-newstr/_single-newstr.fr.po
new file mode 100644
index 0000000..0e99734
--- /dev/null
+++ b/t/cfg/single-newstr/_single-newstr.fr.po
@@ -0,0 +1,45 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-13 00:33+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: cfg/single-newstr/single-newstr.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: cfg/single-newstr/single-newstr.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: cfg/single-newstr/single-newstr.man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: cfg/single-newstr/single-newstr.man.1:6
+msgid "Hello"
+msgstr "Bonjour"
+
+#. type: SH
+#: cfg/single-newstr/single-newstr.man.1:7
+#, no-wrap
+msgid "MORE CONTENT"
+msgstr ""
diff --git a/t/cfg/single-newstr/_single-newstr.man.fr.1 b/t/cfg/single-newstr/_single-newstr.man.fr.1
new file mode 100644
index 0000000..4dea14d
--- /dev/null
+++ b/t/cfg/single-newstr/_single-newstr.man.fr.1
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
+
+.SH "MORE CONTENT"
diff --git a/t/cfg/single-newstr/_single-newstr.pot b/t/cfg/single-newstr/_single-newstr.pot
new file mode 100644
index 0000000..8dfa72f
--- /dev/null
+++ b/t/cfg/single-newstr/_single-newstr.pot
@@ -0,0 +1,45 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-12 18:52+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-newstr/single-newstr.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-newstr/single-newstr.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-newstr/single-newstr.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-newstr/single-newstr.man.1:5
+msgid "Hello"
+msgstr ""
+
+#. type: SH
+#: cfg/single-newstr/single-newstr.man.1:7
+#, no-wrap
+msgid "MORE CONTENT"
+msgstr ""
diff --git a/t/cfg/single-newstr/po4a.conf b/t/cfg/single-newstr/po4a.conf
new file mode 100644
index 0000000..cdd9db0
--- /dev/null
+++ b/t/cfg/single-newstr/po4a.conf
@@ -0,0 +1,6 @@
+#comment
+[po4a_langs] fr
+[po4a_paths] single-newstr.pot $lang:single-newstr.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single-newstr.man.1 $lang:single-newstr.man.$lang.1
diff --git a/t/cfg/single-newstr/single-newstr.fr.po b/t/cfg/single-newstr/single-newstr.fr.po
new file mode 100644
index 0000000..e9d9c5a
--- /dev/null
+++ b/t/cfg/single-newstr/single-newstr.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: cfg/single-newstr/single-newstr.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: cfg/single-newstr/single-newstr.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: cfg/single-newstr/single-newstr.man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: cfg/single-newstr/single-newstr.man.1:6
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/single-newstr/single-newstr.man.1 b/t/cfg/single-newstr/single-newstr.man.1
new file mode 100644
index 0000000..56efd5a
--- /dev/null
+++ b/t/cfg/single-newstr/single-newstr.man.1
@@ -0,0 +1,7 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
+
+.SH MORE CONTENT \ No newline at end of file
diff --git a/t/cfg/single-newstr/single-newstr.pot b/t/cfg/single-newstr/single-newstr.pot
new file mode 100644
index 0000000..9f4a649
--- /dev/null
+++ b/t/cfg/single-newstr/single-newstr.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-newstr/single-newstr.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-newstr/single-newstr.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-newstr/single-newstr.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-newstr/single-newstr.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-nopo/_output b/t/cfg/single-nopo/_output
new file mode 100644
index 0000000..f8bf8c3
--- /dev/null
+++ b/t/cfg/single-nopo/_output
@@ -0,0 +1,3 @@
+Updating single.pot: (4 entries)
+Creating an empty PO file in single.fr.po.
+Discard single.man.fr.1 (0 of 4 strings; only 0% translated; need 80%).
diff --git a/t/cfg/single-nopo/_output-noupdate b/t/cfg/single-nopo/_output-noupdate
new file mode 100644
index 0000000..2237271
--- /dev/null
+++ b/t/cfg/single-nopo/_output-noupdate
@@ -0,0 +1,3 @@
+NOT updating single.pot as requested (--no-update).
+NOT updating the POT file single.pot as requested (--no-update).
+PO file single.fr.po for language fr is missing -- skipping.
diff --git a/t/cfg/single-nopo/_single.fr.po b/t/cfg/single-nopo/_single.fr.po
new file mode 100644
index 0000000..1772779
--- /dev/null
+++ b/t/cfg/single-nopo/_single.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-nopo/po4a.conf b/t/cfg/single-nopo/po4a.conf
new file mode 100644
index 0000000..da28633
--- /dev/null
+++ b/t/cfg/single-nopo/po4a.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] single.pot fr:single.fr.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single.man.1 fr:single.man.fr.1
diff --git a/t/cfg/single-nopo/single.man.1 b/t/cfg/single-nopo/single.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-nopo/single.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-nopo/single.pot b/t/cfg/single-nopo/single.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single-nopo/single.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-nopotpo/_output b/t/cfg/single-nopotpo/_output
new file mode 100644
index 0000000..d3e3bd4
--- /dev/null
+++ b/t/cfg/single-nopotpo/_output
@@ -0,0 +1,3 @@
+Creating single.pot: (4 entries)
+Creating an empty PO file in single.fr.po.
+Discard single.man.fr.1 (0 of 4 strings; only 0% translated; need 80%).
diff --git a/t/cfg/single-nopotpo/_single.fr.po b/t/cfg/single-nopotpo/_single.fr.po
new file mode 100644
index 0000000..1772779
--- /dev/null
+++ b/t/cfg/single-nopotpo/_single.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-nopotpo/_single.pot b/t/cfg/single-nopotpo/_single.pot
new file mode 100644
index 0000000..430a879
--- /dev/null
+++ b/t/cfg/single-nopotpo/_single.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-06 02:01+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-nopotpo/single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-nopotpo/single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-nopotpo/po4a.conf b/t/cfg/single-nopotpo/po4a.conf
new file mode 100644
index 0000000..da28633
--- /dev/null
+++ b/t/cfg/single-nopotpo/po4a.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] single.pot fr:single.fr.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single.man.1 fr:single.man.fr.1
diff --git a/t/cfg/single-nopotpo/single.man.1 b/t/cfg/single-nopotpo/single.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-nopotpo/single.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-podirectory-emptypot-emptypo/_fr.po.expected b/t/cfg/single-podirectory-emptypot-emptypo/_fr.po.expected
new file mode 100644
index 0000000..3d5100f
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot-emptypo/_fr.po.expected
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2024 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2024.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2024-01-04 22:50+0100\n"
+"PO-Revision-Date: 2024-01-04 22:50+0100\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: single.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-podirectory-emptypot-emptypo/_output b/t/cfg/single-podirectory-emptypot-emptypo/_output
new file mode 100644
index 0000000..53b4fa7
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot-emptypo/_output
@@ -0,0 +1,6 @@
+Using '.' as a po_directory.
+Found language 'fr' in the provided po_directory: ./fr.po
+Found POT file './single.pot' in the provided po_directory.
+Updating ./single.pot: (4 entries)
+Creating an empty PO file in fr.po.
+Discard single.man.fr.1 (0 of 4 strings; only 0% translated; need 80%).
diff --git a/t/cfg/single-podirectory-emptypot-emptypo/_single.pot.expected b/t/cfg/single-podirectory-emptypot-emptypo/_single.pot.expected
new file mode 100644
index 0000000..430a879
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot-emptypo/_single.pot.expected
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-06 02:01+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: cfg/single-nopotpo/single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-nopotpo/single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-podirectory-emptypot-emptypo/fr.po b/t/cfg/single-podirectory-emptypot-emptypo/fr.po
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot-emptypo/fr.po
diff --git a/t/cfg/single-podirectory-emptypot-emptypo/po4a.conf b/t/cfg/single-podirectory-emptypot-emptypo/po4a.conf
new file mode 100644
index 0000000..a34f60a
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot-emptypo/po4a.conf
@@ -0,0 +1,5 @@
+#comment
+[po_directory] .
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single.man.1 fr:single.man.fr.1
diff --git a/t/cfg/single-podirectory-emptypot-emptypo/single.man.1 b/t/cfg/single-podirectory-emptypot-emptypo/single.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot-emptypo/single.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-podirectory-emptypot-emptypo/single.pot b/t/cfg/single-podirectory-emptypot-emptypo/single.pot
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot-emptypo/single.pot
diff --git a/t/cfg/single-podirectory-emptypot/_output b/t/cfg/single-podirectory-emptypot/_output
new file mode 100644
index 0000000..0a9d135
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot/_output
@@ -0,0 +1,6 @@
+Using 'po' as a po_directory.
+Found language 'fr' in the provided po_directory: po/fr.po
+Found POT file 'po/single.pot' in the provided po_directory.
+Updating po/single.pot: (4 entries)
+Updating po/fr.po: 4 translated messages.
+single.man.fr.1 is 100% translated (4 strings).
diff --git a/t/cfg/single-podirectory-emptypot/_single.man.fr.1 b/t/cfg/single-podirectory-emptypot/_single.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot/_single.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/single-podirectory-emptypot/_single.pot b/t/cfg/single-podirectory-emptypot/_single.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot/_single.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-podirectory-emptypot/po/fr.po b/t/cfg/single-podirectory-emptypot/po/fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot/po/fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/single-podirectory-emptypot/po/single.pot b/t/cfg/single-podirectory-emptypot/po/single.pot
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot/po/single.pot
diff --git a/t/cfg/single-podirectory-emptypot/po4a.conf b/t/cfg/single-podirectory-emptypot/po4a.conf
new file mode 100644
index 0000000..732d6c5
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot/po4a.conf
@@ -0,0 +1,5 @@
+[po_directory] po
+
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single.man.1 $lang:single.man.$lang.1
diff --git a/t/cfg/single-podirectory-emptypot/single.man.1 b/t/cfg/single-podirectory-emptypot/single.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-podirectory-emptypot/single.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-podirectory/_output b/t/cfg/single-podirectory/_output
new file mode 100644
index 0000000..0a9d135
--- /dev/null
+++ b/t/cfg/single-podirectory/_output
@@ -0,0 +1,6 @@
+Using 'po' as a po_directory.
+Found language 'fr' in the provided po_directory: po/fr.po
+Found POT file 'po/single.pot' in the provided po_directory.
+Updating po/single.pot: (4 entries)
+Updating po/fr.po: 4 translated messages.
+single.man.fr.1 is 100% translated (4 strings).
diff --git a/t/cfg/single-podirectory/_single.man.fr.1 b/t/cfg/single-podirectory/_single.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/single-podirectory/_single.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/single-podirectory/po/fr.po b/t/cfg/single-podirectory/po/fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/single-podirectory/po/fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/single-podirectory/po/single.pot b/t/cfg/single-podirectory/po/single.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single-podirectory/po/single.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-podirectory/po4a.conf b/t/cfg/single-podirectory/po4a.conf
new file mode 100644
index 0000000..732d6c5
--- /dev/null
+++ b/t/cfg/single-podirectory/po4a.conf
@@ -0,0 +1,5 @@
+[po_directory] po
+
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single.man.1 $lang:single.man.$lang.1
diff --git a/t/cfg/single-podirectory/single.man.1 b/t/cfg/single-podirectory/single.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-podirectory/single.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-potin/_output b/t/cfg/single-potin/_output
new file mode 100644
index 0000000..ed431cd
--- /dev/null
+++ b/t/cfg/single-potin/_output
@@ -0,0 +1,3 @@
+Updating single.pot: (4 entries)
+Updating single.fr.po: 4 translated messages.
+single.man.fr.1 is 66.66% translated (4 of 6 strings).
diff --git a/t/cfg/single-potin/_single.man.fr.1 b/t/cfg/single-potin/_single.man.fr.1
new file mode 100644
index 0000000..f710e2f
--- /dev/null
+++ b/t/cfg/single-potin/_single.man.fr.1
@@ -0,0 +1,15 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
+
+.SH "NOT TRANSLATED"
+
+The content of this section is not to be translated (not part of the
+filtered page).
diff --git a/t/cfg/single-potin/po4a.conf b/t/cfg/single-potin/po4a.conf
new file mode 100644
index 0000000..7117090
--- /dev/null
+++ b/t/cfg/single-potin/po4a.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] single.pot fr:single.fr.po
+[options] --msgmerge-opt --silent --keep 0
+
+[type:man] single.man.1 fr:single.man.fr.1 pot_in:single-filtered.man.1
diff --git a/t/cfg/single-potin/single-filtered.man.1 b/t/cfg/single-potin/single-filtered.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-potin/single-filtered.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-potin/single.fr.po b/t/cfg/single-potin/single.fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/single-potin/single.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/single-potin/single.man.1 b/t/cfg/single-potin/single.man.1
new file mode 100644
index 0000000..2dbd733
--- /dev/null
+++ b/t/cfg/single-potin/single.man.1
@@ -0,0 +1,10 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
+
+.SH "NOT TRANSLATED"
+
+The content of this section is not to be translated (not part of the
+filtered page).
diff --git a/t/cfg/single-potin/single.pot b/t/cfg/single-potin/single.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single-potin/single.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single-uptodate/_output b/t/cfg/single-uptodate/_output
new file mode 100644
index 0000000..1ccbbe0
--- /dev/null
+++ b/t/cfg/single-uptodate/_output
@@ -0,0 +1,3 @@
+Updating single-uptodate.pot: (4 entries)
+Updating single-uptodate.fr.po: 4 translated messages.
+single-uptodate.man.fr.1 is 100% translated (4 strings).
diff --git a/t/cfg/single-uptodate/single-uptodate.conf b/t/cfg/single-uptodate/single-uptodate.conf
new file mode 100644
index 0000000..91213e2
--- /dev/null
+++ b/t/cfg/single-uptodate/single-uptodate.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] single-uptodate.pot fr:single-uptodate.fr.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single-uptodate.man.1 fr:single-uptodate.man.fr.1
diff --git a/t/cfg/single-uptodate/single-uptodate.fr.po b/t/cfg/single-uptodate/single-uptodate.fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/single-uptodate/single-uptodate.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/single-uptodate/single-uptodate.man.1 b/t/cfg/single-uptodate/single-uptodate.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-uptodate/single-uptodate.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-uptodate/single-uptodate.man.fr.1 b/t/cfg/single-uptodate/single-uptodate.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/single-uptodate/single-uptodate.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/single-uptodate/single-uptodate.pot b/t/cfg/single-uptodate/single-uptodate.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single-uptodate/single-uptodate.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/single/_output b/t/cfg/single/_output
new file mode 100644
index 0000000..c63e3db
--- /dev/null
+++ b/t/cfg/single/_output
@@ -0,0 +1,3 @@
+Updating single.pot: (4 entries)
+Updating single.fr.po: 4 translated messages.
+single.man.fr.1 is 100% translated (4 strings).
diff --git a/t/cfg/single/_single.man.fr.1 b/t/cfg/single/_single.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/single/_single.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/single/single-noupdate.output b/t/cfg/single/single-noupdate.output
new file mode 100644
index 0000000..7661d8c
--- /dev/null
+++ b/t/cfg/single/single-noupdate.output
@@ -0,0 +1,2 @@
+Updating cfg/single-nopo/single.pot:
+ (4 entries)
diff --git a/t/cfg/single/single.conf b/t/cfg/single/single.conf
new file mode 100644
index 0000000..da28633
--- /dev/null
+++ b/t/cfg/single/single.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] single.pot fr:single.fr.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single.man.1 fr:single.man.fr.1
diff --git a/t/cfg/single/single.fr.po b/t/cfg/single/single.fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/single/single.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/single/single.man.1 b/t/cfg/single/single.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single/single.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single/single.pot b/t/cfg/single/single.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single/single.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/space-in-option-value/_man.ja.1 b/t/cfg/space-in-option-value/_man.ja.1
new file mode 100644
index 0000000..6479fb6
--- /dev/null
+++ b/t/cfg/space-in-option-value/_man.ja.1
@@ -0,0 +1,6 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH 検査 1
diff --git a/t/cfg/space-in-option-value/_output b/t/cfg/space-in-option-value/_output
new file mode 100644
index 0000000..a5c6017
--- /dev/null
+++ b/t/cfg/space-in-option-value/_output
@@ -0,0 +1,3 @@
+Updating man.pot: (1 entries)
+Updating man.ja.po: 1 translated message.
+man.ja.1 is 100% translated (1 strings).
diff --git a/t/cfg/space-in-option-value/man.1 b/t/cfg/space-in-option-value/man.1
new file mode 100644
index 0000000..eb859f2
--- /dev/null
+++ b/t/cfg/space-in-option-value/man.1
@@ -0,0 +1 @@
+.TH test 1
diff --git a/t/cfg/space-in-option-value/man.ja.po b/t/cfg/space-in-option-value/man.ja.po
new file mode 100644
index 0000000..5e24d8d
--- /dev/null
+++ b/t/cfg/space-in-option-value/man.ja.po
@@ -0,0 +1,23 @@
+# Japanese translations for Hello world package
+# Copyright (C) 2024 Goodbye Mars
+# This file is distributed under the same license as the Hello world package.
+# Automatically generated, 2024.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Hello world How are you Venus\n"
+"POT-Creation-Date: 2024-01-05 08:52+0900\n"
+"PO-Revision-Date: 2024-01-13 11:15+0900\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. type: TH
+#: man.1:1
+#, no-wrap
+msgid "test"
+msgstr "検査"
diff --git a/t/cfg/space-in-option-value/man.pot b/t/cfg/space-in-option-value/man.pot
new file mode 100644
index 0000000..9499249
--- /dev/null
+++ b/t/cfg/space-in-option-value/man.pot
@@ -0,0 +1,23 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Goodbye Mars
+# This file is distributed under the same license as the Hello world package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: Hello world How are you Venus\n"
+"POT-Creation-Date: 2024-01-05 08:52+0900\n"
+"PO-Revision-Date: 2024-01-13 11:16+0900\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: man.1:1
+#, no-wrap
+msgid "test"
+msgstr ""
diff --git a/t/cfg/space-in-option-value/po4a.conf b/t/cfg/space-in-option-value/po4a.conf
new file mode 100644
index 0000000..8cef3eb
--- /dev/null
+++ b/t/cfg/space-in-option-value/po4a.conf
@@ -0,0 +1,7 @@
+[options] --package-name "Hello world" \
+ --package-version 'How are you Venus' \
+ --copyright-holder Goodbye\ Mars
+
+[po4a_langs] ja
+[po4a_paths] man.pot ja:man.ja.po
+[type:man] man.1 ja:man.ja.1
diff --git a/t/cfg/space_in_name/_output b/t/cfg/space_in_name/_output
new file mode 100644
index 0000000..d01e299
--- /dev/null
+++ b/t/cfg/space_in_name/_output
@@ -0,0 +1,3 @@
+Updating space in name.pot: (4 entries)
+Updating space in name.fr.po: 4 translated messages.
+some directory/some file.man.fr.1 is 100% translated (4 strings).
diff --git a/t/cfg/space_in_name/_single.man.fr.1 b/t/cfg/space_in_name/_single.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/space_in_name/_single.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/space_in_name/po4a.conf b/t/cfg/space_in_name/po4a.conf
new file mode 100644
index 0000000..57312a3
--- /dev/null
+++ b/t/cfg/space_in_name/po4a.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] "space in name.pot" fr:space\ in\ name.fr.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] "some directory/some file".man.1 fr:some\ directory/some\ file.man.fr.1
diff --git a/t/cfg/space_in_name/some directory/some file.man.1 b/t/cfg/space_in_name/some directory/some file.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/space_in_name/some directory/some file.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/space_in_name/space in name.fr.po b/t/cfg/space_in_name/space in name.fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/space_in_name/space in name.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/space_in_name/space in name.pot b/t/cfg/space_in_name/space in name.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/space_in_name/space in name.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/split-fuzzied-noup/_first.man.de.po b/t/cfg/split-fuzzied-noup/_first.man.de.po
new file mode 100644
index 0000000..5c0f31c
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/_first.man.de.po
@@ -0,0 +1,45 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, fuzzy, no-wrap
+#| msgid "-first"
+msgid "first"
+msgstr "erste"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "erste - eine erste Testdatei"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Ein zufälliger Text."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Mehr zufälliger Text, der keinen Sinn ergibt."
diff --git a/t/cfg/split-fuzzied-noup/_first.man.fr.po b/t/cfg/split-fuzzied-noup/_first.man.fr.po
new file mode 100644
index 0000000..215df9b
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/_first.man.fr.po
@@ -0,0 +1,45 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, fuzzy, no-wrap
+#| msgid "-first"
+msgid "first"
+msgstr "premier"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "premier - un premier fichier de test"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Un texte au hasard."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Plus de texte dénué de sens au hasard."
diff --git a/t/cfg/split-fuzzied-noup/_output b/t/cfg/split-fuzzied-noup/_output
new file mode 100644
index 0000000..f1bbc52
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/_output
@@ -0,0 +1,5 @@
+Split mode, creating a temporary POT: (9 entries)
+first.man.de is 80% translated (4 of 5 strings).
+second.man.de is 80% translated (4 of 5 strings).
+first.man.fr is 80% translated (4 of 5 strings).
+second.man.fr is 80% translated (4 of 5 strings).
diff --git a/t/cfg/split-fuzzied-noup/_second.man.de.po b/t/cfg/split-fuzzied-noup/_second.man.de.po
new file mode 100644
index 0000000..9ae267e
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/_second.man.de.po
@@ -0,0 +1,45 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: TH
+#: second.man:1
+#, fuzzy, no-wrap
+#| msgid "-second"
+msgid "second"
+msgstr "zweite"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "zweite - eine zweite Testdatei"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Dies ist ein Testabsatz. Ein kurzer."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Ein weiterer Eintrag."
diff --git a/t/cfg/split-fuzzied-noup/_second.man.fr.po b/t/cfg/split-fuzzied-noup/_second.man.fr.po
new file mode 100644
index 0000000..28ffc32
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/_second.man.fr.po
@@ -0,0 +1,45 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: TH
+#: second.man:1
+#, fuzzy, no-wrap
+#| msgid "-second"
+msgid "second"
+msgstr "second"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "second - un second fichier de test"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Ceci est un paragraphe de test. Un court."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Une autre entrée."
diff --git a/t/cfg/split-fuzzied-noup/diff_output b/t/cfg/split-fuzzied-noup/diff_output
new file mode 100644
index 0000000..53b5855
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/diff_output
@@ -0,0 +1,11 @@
+--- cfg/split-nopo/_output-noupdate 2020-04-17 17:20:05.150242241 +0200
++++ - 2020-04-17 17:24:16.593316616 +0200
+@@ -0,0 +1,8 @@
++Split mode, creating a temporary POT.
++ (9 entries)
++The translation of master file 'first.man' in language 'de' is missing (file: first.man.de.po) -- skipping.
++The translation of master file 'second.man' in language 'de' is missing (file: second.man.de.po) -- skipping.
++The translation of master file 'first.man' in language 'fr' is missing (file: first.man.fr.po) -- skipping.
++The translation of master file 'second.man' in language 'fr' is missing (file: second.man.fr.po) -- skipping.
++PO file for language de is missing -- skipping.
++PO file for language fr is missing -- skipping.
diff --git a/t/cfg/split-fuzzied-noup/first.man b/t/cfg/split-fuzzied-noup/first.man
new file mode 100644
index 0000000..7283dc8
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/first.man
@@ -0,0 +1,7 @@
+.TH first 1
+.SH NAME
+first \- a first test file
+
+Some random text.
+
+More random text that does not make sense.
diff --git a/t/cfg/split-fuzzied-noup/first.man.de b/t/cfg/split-fuzzied-noup/first.man.de
new file mode 100644
index 0000000..0a74d4d
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/first.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH first 1
+.SH NAME
+erste \- eine erste Testdatei
+
+Ein zufälliger Text.
+
+Mehr zufälliger Text, der keinen Sinn ergibt.
diff --git a/t/cfg/split-fuzzied-noup/first.man.de.po b/t/cfg/split-fuzzied-noup/first.man.de.po
new file mode 100644
index 0000000..ee88f68
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/first.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "-first"
+msgstr "erste"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "erste - eine erste Testdatei"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Ein zufälliger Text."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Mehr zufälliger Text, der keinen Sinn ergibt."
diff --git a/t/cfg/split-fuzzied-noup/first.man.fr b/t/cfg/split-fuzzied-noup/first.man.fr
new file mode 100644
index 0000000..c88127a
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/first.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH first 1
+.SH NOM
+premier \- un premier fichier de test
+
+Un texte au hasard.
+
+Plus de texte dénué de sens au hasard.
diff --git a/t/cfg/split-fuzzied-noup/first.man.fr.po b/t/cfg/split-fuzzied-noup/first.man.fr.po
new file mode 100644
index 0000000..ff08372
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/first.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "-first"
+msgstr "premier"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "premier - un premier fichier de test"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Un texte au hasard."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Plus de texte dénué de sens au hasard."
diff --git a/t/cfg/split-fuzzied-noup/first.man.pot b/t/cfg/split-fuzzied-noup/first.man.pot
new file mode 100644
index 0000000..ab025af
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/first.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split-fuzzied-noup/po4a.conf b/t/cfg/split-fuzzied-noup/po4a.conf
new file mode 100644
index 0000000..c8f3393
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/po4a.conf
@@ -0,0 +1,6 @@
+[po4a_langs] fr de
+[po4a_paths] $master.pot $lang:$master.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] first.man $lang:first.man.$lang
+[type:man] second.man $lang:second.man.$lang
diff --git a/t/cfg/split-fuzzied-noup/second.man b/t/cfg/split-fuzzied-noup/second.man
new file mode 100644
index 0000000..966b73a
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/second.man
@@ -0,0 +1,8 @@
+.TH second 1
+.SH NAME
+second \- a second test file
+
+This is a test paragraph.
+A short one.
+
+Another entry.
diff --git a/t/cfg/split-fuzzied-noup/second.man.de b/t/cfg/split-fuzzied-noup/second.man.de
new file mode 100644
index 0000000..37e3673
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/second.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH second 1
+.SH NAME
+zweite \- eine zweite Testdatei
+
+Dies ist ein Testabsatz. Ein kurzer.
+
+Ein weiterer Eintrag.
diff --git a/t/cfg/split-fuzzied-noup/second.man.de.po b/t/cfg/split-fuzzied-noup/second.man.de.po
new file mode 100644
index 0000000..1d86207
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/second.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "-second"
+msgstr "zweite"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "zweite - eine zweite Testdatei"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Dies ist ein Testabsatz. Ein kurzer."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Ein weiterer Eintrag."
diff --git a/t/cfg/split-fuzzied-noup/second.man.fr b/t/cfg/split-fuzzied-noup/second.man.fr
new file mode 100644
index 0000000..6489f66
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/second.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH second 1
+.SH NOM
+second \- un second fichier de test
+
+Ceci est un paragraphe de test. Un court.
+
+Une autre entrée.
diff --git a/t/cfg/split-fuzzied-noup/second.man.fr.po b/t/cfg/split-fuzzied-noup/second.man.fr.po
new file mode 100644
index 0000000..aedcd15
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/second.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "-second"
+msgstr "second"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "second - un second fichier de test"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Ceci est un paragraphe de test. Un court."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Une autre entrée."
diff --git a/t/cfg/split-fuzzied-noup/second.man.pot b/t/cfg/split-fuzzied-noup/second.man.pot
new file mode 100644
index 0000000..1e6995b
--- /dev/null
+++ b/t/cfg/split-fuzzied-noup/second.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-fuzzied/_first.man.de.po b/t/cfg/split-fuzzied/_first.man.de.po
new file mode 100644
index 0000000..5c0f31c
--- /dev/null
+++ b/t/cfg/split-fuzzied/_first.man.de.po
@@ -0,0 +1,45 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, fuzzy, no-wrap
+#| msgid "-first"
+msgid "first"
+msgstr "erste"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "erste - eine erste Testdatei"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Ein zufälliger Text."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Mehr zufälliger Text, der keinen Sinn ergibt."
diff --git a/t/cfg/split-fuzzied/_first.man.fr.po b/t/cfg/split-fuzzied/_first.man.fr.po
new file mode 100644
index 0000000..215df9b
--- /dev/null
+++ b/t/cfg/split-fuzzied/_first.man.fr.po
@@ -0,0 +1,45 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, fuzzy, no-wrap
+#| msgid "-first"
+msgid "first"
+msgstr "premier"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "premier - un premier fichier de test"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Un texte au hasard."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Plus de texte dénué de sens au hasard."
diff --git a/t/cfg/split-fuzzied/_output b/t/cfg/split-fuzzied/_output
new file mode 100644
index 0000000..480d064
--- /dev/null
+++ b/t/cfg/split-fuzzied/_output
@@ -0,0 +1,7 @@
+Split mode, creating a temporary POT: (9 entries)
+Updating the translation in language de: 7 translated messages, 2 fuzzy translations.
+Updating the translation in language fr: 7 translated messages, 2 fuzzy translations.
+first.man.de is 80% translated (4 of 5 strings).
+second.man.de is 80% translated (4 of 5 strings).
+first.man.fr is 80% translated (4 of 5 strings).
+second.man.fr is 80% translated (4 of 5 strings).
diff --git a/t/cfg/split-fuzzied/_second.man.de.po b/t/cfg/split-fuzzied/_second.man.de.po
new file mode 100644
index 0000000..9ae267e
--- /dev/null
+++ b/t/cfg/split-fuzzied/_second.man.de.po
@@ -0,0 +1,45 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: TH
+#: second.man:1
+#, fuzzy, no-wrap
+#| msgid "-second"
+msgid "second"
+msgstr "zweite"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "zweite - eine zweite Testdatei"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Dies ist ein Testabsatz. Ein kurzer."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Ein weiterer Eintrag."
diff --git a/t/cfg/split-fuzzied/_second.man.fr.po b/t/cfg/split-fuzzied/_second.man.fr.po
new file mode 100644
index 0000000..28ffc32
--- /dev/null
+++ b/t/cfg/split-fuzzied/_second.man.fr.po
@@ -0,0 +1,45 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: TH
+#: second.man:1
+#, fuzzy, no-wrap
+#| msgid "-second"
+msgid "second"
+msgstr "second"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "second - un second fichier de test"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Ceci est un paragraphe de test. Un court."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Une autre entrée."
diff --git a/t/cfg/split-fuzzied/diff_output b/t/cfg/split-fuzzied/diff_output
new file mode 100644
index 0000000..53b5855
--- /dev/null
+++ b/t/cfg/split-fuzzied/diff_output
@@ -0,0 +1,11 @@
+--- cfg/split-nopo/_output-noupdate 2020-04-17 17:20:05.150242241 +0200
++++ - 2020-04-17 17:24:16.593316616 +0200
+@@ -0,0 +1,8 @@
++Split mode, creating a temporary POT.
++ (9 entries)
++The translation of master file 'first.man' in language 'de' is missing (file: first.man.de.po) -- skipping.
++The translation of master file 'second.man' in language 'de' is missing (file: second.man.de.po) -- skipping.
++The translation of master file 'first.man' in language 'fr' is missing (file: first.man.fr.po) -- skipping.
++The translation of master file 'second.man' in language 'fr' is missing (file: second.man.fr.po) -- skipping.
++PO file for language de is missing -- skipping.
++PO file for language fr is missing -- skipping.
diff --git a/t/cfg/split-fuzzied/first.man b/t/cfg/split-fuzzied/first.man
new file mode 100644
index 0000000..7283dc8
--- /dev/null
+++ b/t/cfg/split-fuzzied/first.man
@@ -0,0 +1,7 @@
+.TH first 1
+.SH NAME
+first \- a first test file
+
+Some random text.
+
+More random text that does not make sense.
diff --git a/t/cfg/split-fuzzied/first.man.de b/t/cfg/split-fuzzied/first.man.de
new file mode 100644
index 0000000..0a74d4d
--- /dev/null
+++ b/t/cfg/split-fuzzied/first.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH first 1
+.SH NAME
+erste \- eine erste Testdatei
+
+Ein zufälliger Text.
+
+Mehr zufälliger Text, der keinen Sinn ergibt.
diff --git a/t/cfg/split-fuzzied/first.man.de.po b/t/cfg/split-fuzzied/first.man.de.po
new file mode 100644
index 0000000..ee88f68
--- /dev/null
+++ b/t/cfg/split-fuzzied/first.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "-first"
+msgstr "erste"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "erste - eine erste Testdatei"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Ein zufälliger Text."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Mehr zufälliger Text, der keinen Sinn ergibt."
diff --git a/t/cfg/split-fuzzied/first.man.fr b/t/cfg/split-fuzzied/first.man.fr
new file mode 100644
index 0000000..c88127a
--- /dev/null
+++ b/t/cfg/split-fuzzied/first.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH first 1
+.SH NOM
+premier \- un premier fichier de test
+
+Un texte au hasard.
+
+Plus de texte dénué de sens au hasard.
diff --git a/t/cfg/split-fuzzied/first.man.fr.po b/t/cfg/split-fuzzied/first.man.fr.po
new file mode 100644
index 0000000..ff08372
--- /dev/null
+++ b/t/cfg/split-fuzzied/first.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "-first"
+msgstr "premier"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "premier - un premier fichier de test"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Un texte au hasard."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Plus de texte dénué de sens au hasard."
diff --git a/t/cfg/split-fuzzied/first.man.pot b/t/cfg/split-fuzzied/first.man.pot
new file mode 100644
index 0000000..ab025af
--- /dev/null
+++ b/t/cfg/split-fuzzied/first.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split-fuzzied/po4a.conf b/t/cfg/split-fuzzied/po4a.conf
new file mode 100644
index 0000000..c8f3393
--- /dev/null
+++ b/t/cfg/split-fuzzied/po4a.conf
@@ -0,0 +1,6 @@
+[po4a_langs] fr de
+[po4a_paths] $master.pot $lang:$master.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] first.man $lang:first.man.$lang
+[type:man] second.man $lang:second.man.$lang
diff --git a/t/cfg/split-fuzzied/second.man b/t/cfg/split-fuzzied/second.man
new file mode 100644
index 0000000..966b73a
--- /dev/null
+++ b/t/cfg/split-fuzzied/second.man
@@ -0,0 +1,8 @@
+.TH second 1
+.SH NAME
+second \- a second test file
+
+This is a test paragraph.
+A short one.
+
+Another entry.
diff --git a/t/cfg/split-fuzzied/second.man.de b/t/cfg/split-fuzzied/second.man.de
new file mode 100644
index 0000000..37e3673
--- /dev/null
+++ b/t/cfg/split-fuzzied/second.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH second 1
+.SH NAME
+zweite \- eine zweite Testdatei
+
+Dies ist ein Testabsatz. Ein kurzer.
+
+Ein weiterer Eintrag.
diff --git a/t/cfg/split-fuzzied/second.man.de.po b/t/cfg/split-fuzzied/second.man.de.po
new file mode 100644
index 0000000..1d86207
--- /dev/null
+++ b/t/cfg/split-fuzzied/second.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "-second"
+msgstr "zweite"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "zweite - eine zweite Testdatei"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Dies ist ein Testabsatz. Ein kurzer."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Ein weiterer Eintrag."
diff --git a/t/cfg/split-fuzzied/second.man.fr b/t/cfg/split-fuzzied/second.man.fr
new file mode 100644
index 0000000..6489f66
--- /dev/null
+++ b/t/cfg/split-fuzzied/second.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH second 1
+.SH NOM
+second \- un second fichier de test
+
+Ceci est un paragraphe de test. Un court.
+
+Une autre entrée.
diff --git a/t/cfg/split-fuzzied/second.man.fr.po b/t/cfg/split-fuzzied/second.man.fr.po
new file mode 100644
index 0000000..aedcd15
--- /dev/null
+++ b/t/cfg/split-fuzzied/second.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "-second"
+msgstr "second"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "second - un second fichier de test"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Ceci est un paragraphe de test. Un court."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Une autre entrée."
diff --git a/t/cfg/split-fuzzied/second.man.pot b/t/cfg/split-fuzzied/second.man.pot
new file mode 100644
index 0000000..1e6995b
--- /dev/null
+++ b/t/cfg/split-fuzzied/second.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-fuzzy/_output b/t/cfg/split-fuzzy/_output
new file mode 100644
index 0000000..480d064
--- /dev/null
+++ b/t/cfg/split-fuzzy/_output
@@ -0,0 +1,7 @@
+Split mode, creating a temporary POT: (9 entries)
+Updating the translation in language de: 7 translated messages, 2 fuzzy translations.
+Updating the translation in language fr: 7 translated messages, 2 fuzzy translations.
+first.man.de is 80% translated (4 of 5 strings).
+second.man.de is 80% translated (4 of 5 strings).
+first.man.fr is 80% translated (4 of 5 strings).
+second.man.fr is 80% translated (4 of 5 strings).
diff --git a/t/cfg/split-fuzzy/diff_output b/t/cfg/split-fuzzy/diff_output
new file mode 100644
index 0000000..53b5855
--- /dev/null
+++ b/t/cfg/split-fuzzy/diff_output
@@ -0,0 +1,11 @@
+--- cfg/split-nopo/_output-noupdate 2020-04-17 17:20:05.150242241 +0200
++++ - 2020-04-17 17:24:16.593316616 +0200
+@@ -0,0 +1,8 @@
++Split mode, creating a temporary POT.
++ (9 entries)
++The translation of master file 'first.man' in language 'de' is missing (file: first.man.de.po) -- skipping.
++The translation of master file 'second.man' in language 'de' is missing (file: second.man.de.po) -- skipping.
++The translation of master file 'first.man' in language 'fr' is missing (file: first.man.fr.po) -- skipping.
++The translation of master file 'second.man' in language 'fr' is missing (file: second.man.fr.po) -- skipping.
++PO file for language de is missing -- skipping.
++PO file for language fr is missing -- skipping.
diff --git a/t/cfg/split-fuzzy/first.man b/t/cfg/split-fuzzy/first.man
new file mode 100644
index 0000000..7283dc8
--- /dev/null
+++ b/t/cfg/split-fuzzy/first.man
@@ -0,0 +1,7 @@
+.TH first 1
+.SH NAME
+first \- a first test file
+
+Some random text.
+
+More random text that does not make sense.
diff --git a/t/cfg/split-fuzzy/first.man.de b/t/cfg/split-fuzzy/first.man.de
new file mode 100644
index 0000000..0a74d4d
--- /dev/null
+++ b/t/cfg/split-fuzzy/first.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH first 1
+.SH NAME
+erste \- eine erste Testdatei
+
+Ein zufälliger Text.
+
+Mehr zufälliger Text, der keinen Sinn ergibt.
diff --git a/t/cfg/split-fuzzy/first.man.de.po b/t/cfg/split-fuzzy/first.man.de.po
new file mode 100644
index 0000000..25d13c3
--- /dev/null
+++ b/t/cfg/split-fuzzy/first.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, fuzzy, no-wrap
+msgid "first"
+msgstr "erste"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "erste - eine erste Testdatei"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Ein zufälliger Text."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Mehr zufälliger Text, der keinen Sinn ergibt."
diff --git a/t/cfg/split-fuzzy/first.man.fr b/t/cfg/split-fuzzy/first.man.fr
new file mode 100644
index 0000000..c88127a
--- /dev/null
+++ b/t/cfg/split-fuzzy/first.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH first 1
+.SH NOM
+premier \- un premier fichier de test
+
+Un texte au hasard.
+
+Plus de texte dénué de sens au hasard.
diff --git a/t/cfg/split-fuzzy/first.man.fr.po b/t/cfg/split-fuzzy/first.man.fr.po
new file mode 100644
index 0000000..1f84c90
--- /dev/null
+++ b/t/cfg/split-fuzzy/first.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, fuzzy, no-wrap
+msgid "first"
+msgstr "premier"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "premier - un premier fichier de test"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Un texte au hasard."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Plus de texte dénué de sens au hasard."
diff --git a/t/cfg/split-fuzzy/first.man.pot b/t/cfg/split-fuzzy/first.man.pot
new file mode 100644
index 0000000..ab025af
--- /dev/null
+++ b/t/cfg/split-fuzzy/first.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split-fuzzy/po4a.conf b/t/cfg/split-fuzzy/po4a.conf
new file mode 100644
index 0000000..c8f3393
--- /dev/null
+++ b/t/cfg/split-fuzzy/po4a.conf
@@ -0,0 +1,6 @@
+[po4a_langs] fr de
+[po4a_paths] $master.pot $lang:$master.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] first.man $lang:first.man.$lang
+[type:man] second.man $lang:second.man.$lang
diff --git a/t/cfg/split-fuzzy/second.man b/t/cfg/split-fuzzy/second.man
new file mode 100644
index 0000000..966b73a
--- /dev/null
+++ b/t/cfg/split-fuzzy/second.man
@@ -0,0 +1,8 @@
+.TH second 1
+.SH NAME
+second \- a second test file
+
+This is a test paragraph.
+A short one.
+
+Another entry.
diff --git a/t/cfg/split-fuzzy/second.man.de b/t/cfg/split-fuzzy/second.man.de
new file mode 100644
index 0000000..37e3673
--- /dev/null
+++ b/t/cfg/split-fuzzy/second.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH second 1
+.SH NAME
+zweite \- eine zweite Testdatei
+
+Dies ist ein Testabsatz. Ein kurzer.
+
+Ein weiterer Eintrag.
diff --git a/t/cfg/split-fuzzy/second.man.de.po b/t/cfg/split-fuzzy/second.man.de.po
new file mode 100644
index 0000000..ed98a4d
--- /dev/null
+++ b/t/cfg/split-fuzzy/second.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: TH
+#: second.man:1
+#, fuzzy, no-wrap
+msgid "second"
+msgstr "zweite"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "zweite - eine zweite Testdatei"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Dies ist ein Testabsatz. Ein kurzer."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Ein weiterer Eintrag."
diff --git a/t/cfg/split-fuzzy/second.man.fr b/t/cfg/split-fuzzy/second.man.fr
new file mode 100644
index 0000000..6489f66
--- /dev/null
+++ b/t/cfg/split-fuzzy/second.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH second 1
+.SH NOM
+second \- un second fichier de test
+
+Ceci est un paragraphe de test. Un court.
+
+Une autre entrée.
diff --git a/t/cfg/split-fuzzy/second.man.fr.po b/t/cfg/split-fuzzy/second.man.fr.po
new file mode 100644
index 0000000..ae30c13
--- /dev/null
+++ b/t/cfg/split-fuzzy/second.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: TH
+#: second.man:1
+#, fuzzy, no-wrap
+msgid "second"
+msgstr "second"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "second - un second fichier de test"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Ceci est un paragraphe de test. Un court."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Une autre entrée."
diff --git a/t/cfg/split-fuzzy/second.man.pot b/t/cfg/split-fuzzy/second.man.pot
new file mode 100644
index 0000000..1e6995b
--- /dev/null
+++ b/t/cfg/split-fuzzy/second.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-multimaster/Documentation.de.po b/t/cfg/split-multimaster/Documentation.de.po
new file mode 100644
index 0000000..b188b4f
--- /dev/null
+++ b/t/cfg/split-multimaster/Documentation.de.po
@@ -0,0 +1,64 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2021-11-04 14:27+0100\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr "erste"
+
+#. type: SH
+#: first.man:2 second.man:2 third.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "erste - eine erste Testdatei"
+
+#. type: Plain text
+#: first.man:6 third.man:6
+msgid "Some random text."
+msgstr "Ein zufälliger Text."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Mehr zufälliger Text, der keinen Sinn ergibt."
+
+#. type: TH
+#: third.man:1
+#, no-wrap
+msgid "third"
+msgstr "dritte"
+
+#. type: Plain text
+#: third.man:4
+msgid "third - a third test file"
+msgstr "dritte - eine dritte Testdatei"
+
+#. type: Plain text
+#: third.man:8
+msgid ""
+"More random text that does not make sense, but is different from the first "
+"file."
+msgstr ""
+"Mehr zufälliger Text, der keinen Sinn ergibt, aber anders von die erster "
+"Testdatei."
diff --git a/t/cfg/split-multimaster/Documentation.fr.po b/t/cfg/split-multimaster/Documentation.fr.po
new file mode 100644
index 0000000..2bd8187
--- /dev/null
+++ b/t/cfg/split-multimaster/Documentation.fr.po
@@ -0,0 +1,63 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2021-11-04 14:27+0100\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr "premier"
+
+#. type: SH
+#: first.man:2 second.man:2 third.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "premier - un premier fichier de test"
+
+#. type: Plain text
+#: first.man:6 third.man:6
+msgid "Some random text."
+msgstr "Un texte au hasard."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Plus de texte dénué de sens au hasard."
+
+#. type: TH
+#: third.man:1
+#, no-wrap
+msgid "third"
+msgstr "troisième"
+
+#. type: Plain text
+#: third.man:4
+msgid "third - a third test file"
+msgstr "troisième - un troisieme fichier de test"
+
+#. type: Plain text
+#: third.man:8
+msgid ""
+"More random text that does not make sense, but is different from the first "
+"file."
+msgstr ""
+"Plus de texte dénué de sens au hasard, mais différent du premier fichier."
diff --git a/t/cfg/split-multimaster/Documentation.pot b/t/cfg/split-multimaster/Documentation.pot
new file mode 100644
index 0000000..9edb55f
--- /dev/null
+++ b/t/cfg/split-multimaster/Documentation.pot
@@ -0,0 +1,62 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2021-11-04 14:27+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2 third.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6 third.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
+
+#. type: TH
+#: third.man:1
+#, no-wrap
+msgid "third"
+msgstr ""
+
+#. type: Plain text
+#: third.man:4
+msgid "third - a third test file"
+msgstr ""
+
+#. type: Plain text
+#: third.man:8
+msgid ""
+"More random text that does not make sense, but is different from the first "
+"file."
+msgstr ""
diff --git a/t/cfg/split-multimaster/_output b/t/cfg/split-multimaster/_output
new file mode 100644
index 0000000..4e8c4f2
--- /dev/null
+++ b/t/cfg/split-multimaster/_output
@@ -0,0 +1,9 @@
+Split mode, creating a temporary POT: (12 entries)
+Updating the translation in language de: 12 translated messages.
+Updating the translation in language fr: 12 translated messages.
+first.man.de is 100% translated (5 strings).
+second.man.de is 100% translated (5 strings).
+third.man.de is 100% translated (5 strings).
+first.man.fr is 100% translated (5 strings).
+second.man.fr is 100% translated (5 strings).
+third.man.fr is 100% translated (5 strings).
diff --git a/t/cfg/split-multimaster/first.man b/t/cfg/split-multimaster/first.man
new file mode 100644
index 0000000..7283dc8
--- /dev/null
+++ b/t/cfg/split-multimaster/first.man
@@ -0,0 +1,7 @@
+.TH first 1
+.SH NAME
+first \- a first test file
+
+Some random text.
+
+More random text that does not make sense.
diff --git a/t/cfg/split-multimaster/first.man.de b/t/cfg/split-multimaster/first.man.de
new file mode 100644
index 0000000..3cfb621
--- /dev/null
+++ b/t/cfg/split-multimaster/first.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH erste 1
+.SH NAME
+erste \- eine erste Testdatei
+
+Ein zufälliger Text.
+
+Mehr zufälliger Text, der keinen Sinn ergibt.
diff --git a/t/cfg/split-multimaster/first.man.fr b/t/cfg/split-multimaster/first.man.fr
new file mode 100644
index 0000000..ee338ba
--- /dev/null
+++ b/t/cfg/split-multimaster/first.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH premier 1
+.SH NOM
+premier \- un premier fichier de test
+
+Un texte au hasard.
+
+Plus de texte dénué de sens au hasard.
diff --git a/t/cfg/split-multimaster/po4a.conf b/t/cfg/split-multimaster/po4a.conf
new file mode 100644
index 0000000..42ddcce
--- /dev/null
+++ b/t/cfg/split-multimaster/po4a.conf
@@ -0,0 +1,7 @@
+[po4a_langs] fr de
+[po4a_paths] $master.pot $lang:$master.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] first.man $lang:first.man.$lang pot=Documentation
+[type:man] second.man $lang:second.man.$lang
+[type:man] third.man $lang:third.man.$lang pot=Documentation
diff --git a/t/cfg/split-multimaster/second.man b/t/cfg/split-multimaster/second.man
new file mode 100644
index 0000000..966b73a
--- /dev/null
+++ b/t/cfg/split-multimaster/second.man
@@ -0,0 +1,8 @@
+.TH second 1
+.SH NAME
+second \- a second test file
+
+This is a test paragraph.
+A short one.
+
+Another entry.
diff --git a/t/cfg/split-multimaster/second.man.de b/t/cfg/split-multimaster/second.man.de
new file mode 100644
index 0000000..6d7e4a8
--- /dev/null
+++ b/t/cfg/split-multimaster/second.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH zweite 1
+.SH NAME
+zweite \- eine zweite Testdatei
+
+Dies ist ein Testabsatz. Ein kurzer.
+
+Ein weiterer Eintrag.
diff --git a/t/cfg/split-multimaster/second.man.de.po b/t/cfg/split-multimaster/second.man.de.po
new file mode 100644
index 0000000..ed8b0a0
--- /dev/null
+++ b/t/cfg/split-multimaster/second.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr "zweite"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "zweite - eine zweite Testdatei"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Dies ist ein Testabsatz. Ein kurzer."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Ein weiterer Eintrag."
diff --git a/t/cfg/split-multimaster/second.man.fr b/t/cfg/split-multimaster/second.man.fr
new file mode 100644
index 0000000..6489f66
--- /dev/null
+++ b/t/cfg/split-multimaster/second.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH second 1
+.SH NOM
+second \- un second fichier de test
+
+Ceci est un paragraphe de test. Un court.
+
+Une autre entrée.
diff --git a/t/cfg/split-multimaster/second.man.fr.po b/t/cfg/split-multimaster/second.man.fr.po
new file mode 100644
index 0000000..772d720
--- /dev/null
+++ b/t/cfg/split-multimaster/second.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr "second"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "second - un second fichier de test"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Ceci est un paragraphe de test. Un court."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Une autre entrée."
diff --git a/t/cfg/split-multimaster/second.man.pot b/t/cfg/split-multimaster/second.man.pot
new file mode 100644
index 0000000..1e6995b
--- /dev/null
+++ b/t/cfg/split-multimaster/second.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-multimaster/third.man b/t/cfg/split-multimaster/third.man
new file mode 100644
index 0000000..21f1c5e
--- /dev/null
+++ b/t/cfg/split-multimaster/third.man
@@ -0,0 +1,8 @@
+.TH third 1
+.SH NAME
+third \- a third test file
+
+Some random text.
+
+More random text that does not make sense, but is different from the
+first file.
diff --git a/t/cfg/split-multimaster/third.man.de b/t/cfg/split-multimaster/third.man.de
new file mode 100644
index 0000000..53d22e0
--- /dev/null
+++ b/t/cfg/split-multimaster/third.man.de
@@ -0,0 +1,13 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH dritte 1
+.SH NAME
+dritte \- eine dritte Testdatei
+
+Ein zufälliger Text.
+
+Mehr zufälliger Text, der keinen Sinn ergibt, aber anders von die erster
+Testdatei.
diff --git a/t/cfg/split-multimaster/third.man.fr b/t/cfg/split-multimaster/third.man.fr
new file mode 100644
index 0000000..051001c
--- /dev/null
+++ b/t/cfg/split-multimaster/third.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH troisième 1
+.SH NOM
+troisième \- un troisieme fichier de test
+
+Un texte au hasard.
+
+Plus de texte dénué de sens au hasard, mais différent du premier fichier.
diff --git a/t/cfg/split-newstr/_first.man.de b/t/cfg/split-newstr/_first.man.de
new file mode 100644
index 0000000..d09be6a
--- /dev/null
+++ b/t/cfg/split-newstr/_first.man.de
@@ -0,0 +1,14 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH erste 1
+.SH NAME
+erste \- eine erste Testdatei
+
+Ein zufälliger Text.
+
+Mehr zufälliger Text, der keinen Sinn ergibt.
+
+This is a brand new shiny paragraph. Can you believe it?
diff --git a/t/cfg/split-newstr/_first.man.de.po b/t/cfg/split-newstr/_first.man.de.po
new file mode 100644
index 0000000..d9b9ea4
--- /dev/null
+++ b/t/cfg/split-newstr/_first.man.de.po
@@ -0,0 +1,49 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr "erste"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "erste - eine erste Testdatei"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Ein zufälliger Text."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Mehr zufälliger Text, der keinen Sinn ergibt."
+
+#. type: Plain text
+#: first.man:9
+msgid "This is a brand new shiny paragraph. Can you believe it?"
+msgstr ""
diff --git a/t/cfg/split-newstr/_first.man.fr b/t/cfg/split-newstr/_first.man.fr
new file mode 100644
index 0000000..a32b888
--- /dev/null
+++ b/t/cfg/split-newstr/_first.man.fr
@@ -0,0 +1,14 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH premier 1
+.SH NOM
+premier \- un premier fichier de test
+
+Un texte au hasard.
+
+Plus de texte dénué de sens au hasard.
+
+This is a brand new shiny paragraph. Can you believe it?
diff --git a/t/cfg/split-newstr/_first.man.fr.po b/t/cfg/split-newstr/_first.man.fr.po
new file mode 100644
index 0000000..c0a16cb
--- /dev/null
+++ b/t/cfg/split-newstr/_first.man.fr.po
@@ -0,0 +1,49 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr "premier"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "premier - un premier fichier de test"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Un texte au hasard."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Plus de texte dénué de sens au hasard."
+
+#. type: Plain text
+#: first.man:9
+msgid "This is a brand new shiny paragraph. Can you believe it?"
+msgstr ""
diff --git a/t/cfg/split-newstr/_first.man.pot b/t/cfg/split-newstr/_first.man.pot
new file mode 100644
index 0000000..20fdce3
--- /dev/null
+++ b/t/cfg/split-newstr/_first.man.pot
@@ -0,0 +1,49 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
+
+#. type: Plain text
+#: first.man:9
+msgid "This is a brand new shiny paragraph. Can you believe it?"
+msgstr ""
diff --git a/t/cfg/split-newstr/_output b/t/cfg/split-newstr/_output
new file mode 100644
index 0000000..b5c7774
--- /dev/null
+++ b/t/cfg/split-newstr/_output
@@ -0,0 +1,7 @@
+Split mode, creating a temporary POT: (11 entries)
+Updating the translation in language de: 9 translated messages, 2 untranslated messages.
+Updating the translation in language fr: 9 translated messages, 2 untranslated messages.
+first.man.de is 83.33% translated (5 of 6 strings).
+second.man.de is 83.33% translated (5 of 6 strings).
+first.man.fr is 83.33% translated (5 of 6 strings).
+second.man.fr is 83.33% translated (5 of 6 strings).
diff --git a/t/cfg/split-newstr/_second.man.de b/t/cfg/split-newstr/_second.man.de
new file mode 100644
index 0000000..4b495f2
--- /dev/null
+++ b/t/cfg/split-newstr/_second.man.de
@@ -0,0 +1,14 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH zweite 1
+.SH NAME
+zweite \- eine zweite Testdatei
+
+Dies ist ein Testabsatz. Ein kurzer.
+
+Ein weiterer Eintrag.
+
+Woot, some more text appeared. Let's translate it.
diff --git a/t/cfg/split-newstr/_second.man.de.po b/t/cfg/split-newstr/_second.man.de.po
new file mode 100644
index 0000000..da6d1d3
--- /dev/null
+++ b/t/cfg/split-newstr/_second.man.de.po
@@ -0,0 +1,49 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr "zweite"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "zweite - eine zweite Testdatei"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Dies ist ein Testabsatz. Ein kurzer."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Ein weiterer Eintrag."
+
+#. type: Plain text
+#: second.man:10
+msgid "Woot, some more text appeared. Let's translate it."
+msgstr ""
diff --git a/t/cfg/split-newstr/_second.man.fr b/t/cfg/split-newstr/_second.man.fr
new file mode 100644
index 0000000..a99b46d
--- /dev/null
+++ b/t/cfg/split-newstr/_second.man.fr
@@ -0,0 +1,14 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH second 1
+.SH NOM
+second \- un second fichier de test
+
+Ceci est un paragraphe de test. Un court.
+
+Une autre entrée.
+
+Woot, some more text appeared. Let's translate it.
diff --git a/t/cfg/split-newstr/_second.man.fr.po b/t/cfg/split-newstr/_second.man.fr.po
new file mode 100644
index 0000000..f2ff101
--- /dev/null
+++ b/t/cfg/split-newstr/_second.man.fr.po
@@ -0,0 +1,49 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr "second"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "second - un second fichier de test"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Ceci est un paragraphe de test. Un court."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Une autre entrée."
+
+#. type: Plain text
+#: second.man:10
+msgid "Woot, some more text appeared. Let's translate it."
+msgstr ""
diff --git a/t/cfg/split-newstr/_second.man.pot b/t/cfg/split-newstr/_second.man.pot
new file mode 100644
index 0000000..b9c0866
--- /dev/null
+++ b/t/cfg/split-newstr/_second.man.pot
@@ -0,0 +1,49 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
+
+#. type: Plain text
+#: second.man:10
+msgid "Woot, some more text appeared. Let's translate it."
+msgstr ""
diff --git a/t/cfg/split-newstr/diff_output b/t/cfg/split-newstr/diff_output
new file mode 100644
index 0000000..53b5855
--- /dev/null
+++ b/t/cfg/split-newstr/diff_output
@@ -0,0 +1,11 @@
+--- cfg/split-nopo/_output-noupdate 2020-04-17 17:20:05.150242241 +0200
++++ - 2020-04-17 17:24:16.593316616 +0200
+@@ -0,0 +1,8 @@
++Split mode, creating a temporary POT.
++ (9 entries)
++The translation of master file 'first.man' in language 'de' is missing (file: first.man.de.po) -- skipping.
++The translation of master file 'second.man' in language 'de' is missing (file: second.man.de.po) -- skipping.
++The translation of master file 'first.man' in language 'fr' is missing (file: first.man.fr.po) -- skipping.
++The translation of master file 'second.man' in language 'fr' is missing (file: second.man.fr.po) -- skipping.
++PO file for language de is missing -- skipping.
++PO file for language fr is missing -- skipping.
diff --git a/t/cfg/split-newstr/first.man b/t/cfg/split-newstr/first.man
new file mode 100644
index 0000000..4e59f77
--- /dev/null
+++ b/t/cfg/split-newstr/first.man
@@ -0,0 +1,9 @@
+.TH first 1
+.SH NAME
+first \- a first test file
+
+Some random text.
+
+More random text that does not make sense.
+
+This is a brand new shiny paragraph. Can you believe it? \ No newline at end of file
diff --git a/t/cfg/split-newstr/first.man.de.po b/t/cfg/split-newstr/first.man.de.po
new file mode 100644
index 0000000..ddf4157
--- /dev/null
+++ b/t/cfg/split-newstr/first.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr "erste"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "erste - eine erste Testdatei"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Ein zufälliger Text."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Mehr zufälliger Text, der keinen Sinn ergibt."
diff --git a/t/cfg/split-newstr/first.man.fr.po b/t/cfg/split-newstr/first.man.fr.po
new file mode 100644
index 0000000..14f078b
--- /dev/null
+++ b/t/cfg/split-newstr/first.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr "premier"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "premier - un premier fichier de test"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Un texte au hasard."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Plus de texte dénué de sens au hasard."
diff --git a/t/cfg/split-newstr/first.man.pot b/t/cfg/split-newstr/first.man.pot
new file mode 100644
index 0000000..ab025af
--- /dev/null
+++ b/t/cfg/split-newstr/first.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split-newstr/po4a.conf b/t/cfg/split-newstr/po4a.conf
new file mode 100644
index 0000000..c8f3393
--- /dev/null
+++ b/t/cfg/split-newstr/po4a.conf
@@ -0,0 +1,6 @@
+[po4a_langs] fr de
+[po4a_paths] $master.pot $lang:$master.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] first.man $lang:first.man.$lang
+[type:man] second.man $lang:second.man.$lang
diff --git a/t/cfg/split-newstr/second.man b/t/cfg/split-newstr/second.man
new file mode 100644
index 0000000..26aa6d4
--- /dev/null
+++ b/t/cfg/split-newstr/second.man
@@ -0,0 +1,10 @@
+.TH second 1
+.SH NAME
+second \- a second test file
+
+This is a test paragraph.
+A short one.
+
+Another entry.
+
+Woot, some more text appeared. Let's translate it. \ No newline at end of file
diff --git a/t/cfg/split-newstr/second.man.de.po b/t/cfg/split-newstr/second.man.de.po
new file mode 100644
index 0000000..ed8b0a0
--- /dev/null
+++ b/t/cfg/split-newstr/second.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr "zweite"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "zweite - eine zweite Testdatei"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Dies ist ein Testabsatz. Ein kurzer."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Ein weiterer Eintrag."
diff --git a/t/cfg/split-newstr/second.man.fr.po b/t/cfg/split-newstr/second.man.fr.po
new file mode 100644
index 0000000..772d720
--- /dev/null
+++ b/t/cfg/split-newstr/second.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr "second"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "second - un second fichier de test"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Ceci est un paragraphe de test. Un court."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Une autre entrée."
diff --git a/t/cfg/split-newstr/second.man.pot b/t/cfg/split-newstr/second.man.pot
new file mode 100644
index 0000000..1e6995b
--- /dev/null
+++ b/t/cfg/split-newstr/second.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-nopo/_first.man.de.po b/t/cfg/split-nopo/_first.man.de.po
new file mode 100644
index 0000000..0a3499f
--- /dev/null
+++ b/t/cfg/split-nopo/_first.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split-nopo/_first.man.fr.po b/t/cfg/split-nopo/_first.man.fr.po
new file mode 100644
index 0000000..0c18419
--- /dev/null
+++ b/t/cfg/split-nopo/_first.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split-nopo/_output b/t/cfg/split-nopo/_output
new file mode 100644
index 0000000..391f776
--- /dev/null
+++ b/t/cfg/split-nopo/_output
@@ -0,0 +1,11 @@
+Split mode, creating a temporary POT: (9 entries)
+The translation of master file 'first.man' in language 'de' is missing (file: first.man.de.po) -- skipping.
+The translation of master file 'second.man' in language 'de' is missing (file: second.man.de.po) -- skipping.
+The translation of master file 'first.man' in language 'fr' is missing (file: first.man.fr.po) -- skipping.
+The translation of master file 'second.man' in language 'fr' is missing (file: second.man.fr.po) -- skipping.
+Creating an empty PO file for the language de.
+Creating an empty PO file for the language fr.
+Discard first.man.de (0 of 5 strings; only 0% translated; need 80%).
+Discard second.man.de (0 of 5 strings; only 0% translated; need 80%).
+Discard first.man.fr (0 of 5 strings; only 0% translated; need 80%).
+Discard second.man.fr (0 of 5 strings; only 0% translated; need 80%).
diff --git a/t/cfg/split-nopo/_output-noupdate b/t/cfg/split-nopo/_output-noupdate
new file mode 100644
index 0000000..0f5f083
--- /dev/null
+++ b/t/cfg/split-nopo/_output-noupdate
@@ -0,0 +1,7 @@
+Split mode, creating a temporary POT: (9 entries)
+The translation of master file 'first.man' in language 'de' is missing (file: first.man.de.po) -- skipping.
+The translation of master file 'second.man' in language 'de' is missing (file: second.man.de.po) -- skipping.
+The translation of master file 'first.man' in language 'fr' is missing (file: first.man.fr.po) -- skipping.
+The translation of master file 'second.man' in language 'fr' is missing (file: second.man.fr.po) -- skipping.
+PO file for language de is missing -- skipping.
+PO file for language fr is missing -- skipping.
diff --git a/t/cfg/split-nopo/_second.man.de.po b/t/cfg/split-nopo/_second.man.de.po
new file mode 100644
index 0000000..74b0235
--- /dev/null
+++ b/t/cfg/split-nopo/_second.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-nopo/_second.man.fr.po b/t/cfg/split-nopo/_second.man.fr.po
new file mode 100644
index 0000000..539e8a2
--- /dev/null
+++ b/t/cfg/split-nopo/_second.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-nopo/diff_output b/t/cfg/split-nopo/diff_output
new file mode 100644
index 0000000..53b5855
--- /dev/null
+++ b/t/cfg/split-nopo/diff_output
@@ -0,0 +1,11 @@
+--- cfg/split-nopo/_output-noupdate 2020-04-17 17:20:05.150242241 +0200
++++ - 2020-04-17 17:24:16.593316616 +0200
+@@ -0,0 +1,8 @@
++Split mode, creating a temporary POT.
++ (9 entries)
++The translation of master file 'first.man' in language 'de' is missing (file: first.man.de.po) -- skipping.
++The translation of master file 'second.man' in language 'de' is missing (file: second.man.de.po) -- skipping.
++The translation of master file 'first.man' in language 'fr' is missing (file: first.man.fr.po) -- skipping.
++The translation of master file 'second.man' in language 'fr' is missing (file: second.man.fr.po) -- skipping.
++PO file for language de is missing -- skipping.
++PO file for language fr is missing -- skipping.
diff --git a/t/cfg/split-nopo/first.man b/t/cfg/split-nopo/first.man
new file mode 100644
index 0000000..7283dc8
--- /dev/null
+++ b/t/cfg/split-nopo/first.man
@@ -0,0 +1,7 @@
+.TH first 1
+.SH NAME
+first \- a first test file
+
+Some random text.
+
+More random text that does not make sense.
diff --git a/t/cfg/split-nopo/first.man.pot b/t/cfg/split-nopo/first.man.pot
new file mode 100644
index 0000000..ab025af
--- /dev/null
+++ b/t/cfg/split-nopo/first.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split-nopo/po4a.conf b/t/cfg/split-nopo/po4a.conf
new file mode 100644
index 0000000..c8f3393
--- /dev/null
+++ b/t/cfg/split-nopo/po4a.conf
@@ -0,0 +1,6 @@
+[po4a_langs] fr de
+[po4a_paths] $master.pot $lang:$master.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] first.man $lang:first.man.$lang
+[type:man] second.man $lang:second.man.$lang
diff --git a/t/cfg/split-nopo/second.man b/t/cfg/split-nopo/second.man
new file mode 100644
index 0000000..966b73a
--- /dev/null
+++ b/t/cfg/split-nopo/second.man
@@ -0,0 +1,8 @@
+.TH second 1
+.SH NAME
+second \- a second test file
+
+This is a test paragraph.
+A short one.
+
+Another entry.
diff --git a/t/cfg/split-nopo/second.man.pot b/t/cfg/split-nopo/second.man.pot
new file mode 100644
index 0000000..1e6995b
--- /dev/null
+++ b/t/cfg/split-nopo/second.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-nopotpo/_first.man.de.po b/t/cfg/split-nopotpo/_first.man.de.po
new file mode 100644
index 0000000..0a3499f
--- /dev/null
+++ b/t/cfg/split-nopotpo/_first.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split-nopotpo/_first.man.fr.po b/t/cfg/split-nopotpo/_first.man.fr.po
new file mode 100644
index 0000000..0c18419
--- /dev/null
+++ b/t/cfg/split-nopotpo/_first.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split-nopotpo/_first.man.pot b/t/cfg/split-nopotpo/_first.man.pot
new file mode 100644
index 0000000..ab025af
--- /dev/null
+++ b/t/cfg/split-nopotpo/_first.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split-nopotpo/_output b/t/cfg/split-nopotpo/_output
new file mode 100644
index 0000000..391f776
--- /dev/null
+++ b/t/cfg/split-nopotpo/_output
@@ -0,0 +1,11 @@
+Split mode, creating a temporary POT: (9 entries)
+The translation of master file 'first.man' in language 'de' is missing (file: first.man.de.po) -- skipping.
+The translation of master file 'second.man' in language 'de' is missing (file: second.man.de.po) -- skipping.
+The translation of master file 'first.man' in language 'fr' is missing (file: first.man.fr.po) -- skipping.
+The translation of master file 'second.man' in language 'fr' is missing (file: second.man.fr.po) -- skipping.
+Creating an empty PO file for the language de.
+Creating an empty PO file for the language fr.
+Discard first.man.de (0 of 5 strings; only 0% translated; need 80%).
+Discard second.man.de (0 of 5 strings; only 0% translated; need 80%).
+Discard first.man.fr (0 of 5 strings; only 0% translated; need 80%).
+Discard second.man.fr (0 of 5 strings; only 0% translated; need 80%).
diff --git a/t/cfg/split-nopotpo/_second.man.de.po b/t/cfg/split-nopotpo/_second.man.de.po
new file mode 100644
index 0000000..74b0235
--- /dev/null
+++ b/t/cfg/split-nopotpo/_second.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-nopotpo/_second.man.fr.po b/t/cfg/split-nopotpo/_second.man.fr.po
new file mode 100644
index 0000000..539e8a2
--- /dev/null
+++ b/t/cfg/split-nopotpo/_second.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-nopotpo/_second.man.pot b/t/cfg/split-nopotpo/_second.man.pot
new file mode 100644
index 0000000..1e6995b
--- /dev/null
+++ b/t/cfg/split-nopotpo/_second.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-nopotpo/first.man b/t/cfg/split-nopotpo/first.man
new file mode 100644
index 0000000..7283dc8
--- /dev/null
+++ b/t/cfg/split-nopotpo/first.man
@@ -0,0 +1,7 @@
+.TH first 1
+.SH NAME
+first \- a first test file
+
+Some random text.
+
+More random text that does not make sense.
diff --git a/t/cfg/split-nopotpo/po4a.conf b/t/cfg/split-nopotpo/po4a.conf
new file mode 100644
index 0000000..c8f3393
--- /dev/null
+++ b/t/cfg/split-nopotpo/po4a.conf
@@ -0,0 +1,6 @@
+[po4a_langs] fr de
+[po4a_paths] $master.pot $lang:$master.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] first.man $lang:first.man.$lang
+[type:man] second.man $lang:second.man.$lang
diff --git a/t/cfg/split-nopotpo/second.man b/t/cfg/split-nopotpo/second.man
new file mode 100644
index 0000000..966b73a
--- /dev/null
+++ b/t/cfg/split-nopotpo/second.man
@@ -0,0 +1,8 @@
+.TH second 1
+.SH NAME
+second \- a second test file
+
+This is a test paragraph.
+A short one.
+
+Another entry.
diff --git a/t/cfg/split-potin/_first.man.de b/t/cfg/split-potin/_first.man.de
new file mode 100644
index 0000000..f2c73ac
--- /dev/null
+++ b/t/cfg/split-potin/_first.man.de
@@ -0,0 +1,16 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH erste 1
+.SH NAME
+erste \- eine erste Testdatei
+
+Ein zufälliger Text.
+
+Mehr zufälliger Text, der keinen Sinn ergibt.
+
+.SH "Not Translated"
+
+This section should not end up in the PO files to not get translated.
diff --git a/t/cfg/split-potin/_first.man.fr b/t/cfg/split-potin/_first.man.fr
new file mode 100644
index 0000000..250a45d
--- /dev/null
+++ b/t/cfg/split-potin/_first.man.fr
@@ -0,0 +1,16 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH premier 1
+.SH NOM
+premier \- un premier fichier de test
+
+Un texte au hasard.
+
+Plus de texte dénué de sens au hasard.
+
+.SH "Not Translated"
+
+This section should not end up in the PO files to not get translated.
diff --git a/t/cfg/split-potin/_output b/t/cfg/split-potin/_output
new file mode 100644
index 0000000..9fe5e33
--- /dev/null
+++ b/t/cfg/split-potin/_output
@@ -0,0 +1,7 @@
+Split mode, creating a temporary POT: (9 entries)
+Updating the translation in language de: 9 translated messages.
+Updating the translation in language fr: 9 translated messages.
+first.man.de is 71.42% translated (5 of 7 strings).
+second.man.de is 71.42% translated (5 of 7 strings).
+first.man.fr is 71.42% translated (5 of 7 strings).
+second.man.fr is 71.42% translated (5 of 7 strings).
diff --git a/t/cfg/split-potin/_second.man.de b/t/cfg/split-potin/_second.man.de
new file mode 100644
index 0000000..198dc49
--- /dev/null
+++ b/t/cfg/split-potin/_second.man.de
@@ -0,0 +1,16 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH zweite 1
+.SH NAME
+zweite \- eine zweite Testdatei
+
+Dies ist ein Testabsatz. Ein kurzer.
+
+Ein weiterer Eintrag.
+
+.SH "Not Translated"
+
+This section should not end up in the PO files to not get translated.
diff --git a/t/cfg/split-potin/_second.man.fr b/t/cfg/split-potin/_second.man.fr
new file mode 100644
index 0000000..cc22d85
--- /dev/null
+++ b/t/cfg/split-potin/_second.man.fr
@@ -0,0 +1,16 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH second 1
+.SH NOM
+second \- un second fichier de test
+
+Ceci est un paragraphe de test. Un court.
+
+Une autre entrée.
+
+.SH "Not Translated"
+
+This section should not end up in the PO files to not get translated.
diff --git a/t/cfg/split-potin/diff_output b/t/cfg/split-potin/diff_output
new file mode 100644
index 0000000..53b5855
--- /dev/null
+++ b/t/cfg/split-potin/diff_output
@@ -0,0 +1,11 @@
+--- cfg/split-nopo/_output-noupdate 2020-04-17 17:20:05.150242241 +0200
++++ - 2020-04-17 17:24:16.593316616 +0200
+@@ -0,0 +1,8 @@
++Split mode, creating a temporary POT.
++ (9 entries)
++The translation of master file 'first.man' in language 'de' is missing (file: first.man.de.po) -- skipping.
++The translation of master file 'second.man' in language 'de' is missing (file: second.man.de.po) -- skipping.
++The translation of master file 'first.man' in language 'fr' is missing (file: first.man.fr.po) -- skipping.
++The translation of master file 'second.man' in language 'fr' is missing (file: second.man.fr.po) -- skipping.
++PO file for language de is missing -- skipping.
++PO file for language fr is missing -- skipping.
diff --git a/t/cfg/split-potin/first-filtered.man b/t/cfg/split-potin/first-filtered.man
new file mode 100644
index 0000000..7283dc8
--- /dev/null
+++ b/t/cfg/split-potin/first-filtered.man
@@ -0,0 +1,7 @@
+.TH first 1
+.SH NAME
+first \- a first test file
+
+Some random text.
+
+More random text that does not make sense.
diff --git a/t/cfg/split-potin/first.man b/t/cfg/split-potin/first.man
new file mode 100644
index 0000000..49a7da6
--- /dev/null
+++ b/t/cfg/split-potin/first.man
@@ -0,0 +1,11 @@
+.TH first 1
+.SH NAME
+first \- a first test file
+
+Some random text.
+
+More random text that does not make sense.
+
+.SH "Not Translated"
+
+This section should not end up in the PO files to not get translated.
diff --git a/t/cfg/split-potin/first.man.de.po b/t/cfg/split-potin/first.man.de.po
new file mode 100644
index 0000000..ddf4157
--- /dev/null
+++ b/t/cfg/split-potin/first.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr "erste"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "erste - eine erste Testdatei"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Ein zufälliger Text."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Mehr zufälliger Text, der keinen Sinn ergibt."
diff --git a/t/cfg/split-potin/first.man.fr.po b/t/cfg/split-potin/first.man.fr.po
new file mode 100644
index 0000000..14f078b
--- /dev/null
+++ b/t/cfg/split-potin/first.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr "premier"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "premier - un premier fichier de test"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Un texte au hasard."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Plus de texte dénué de sens au hasard."
diff --git a/t/cfg/split-potin/first.man.pot b/t/cfg/split-potin/first.man.pot
new file mode 100644
index 0000000..ab025af
--- /dev/null
+++ b/t/cfg/split-potin/first.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split-potin/po4a.conf b/t/cfg/split-potin/po4a.conf
new file mode 100644
index 0000000..ed42214
--- /dev/null
+++ b/t/cfg/split-potin/po4a.conf
@@ -0,0 +1,6 @@
+[po4a_langs] fr de
+[po4a_paths] $master.pot $lang:$master.$lang.po
+[options] --msgmerge-opt --silent --keep 0
+
+[type:man] first.man $lang:first.man.$lang pot_in:first-filtered.man
+[type:man] second.man $lang:second.man.$lang pot_in:second-filtered.man
diff --git a/t/cfg/split-potin/second-filtered.man b/t/cfg/split-potin/second-filtered.man
new file mode 100644
index 0000000..966b73a
--- /dev/null
+++ b/t/cfg/split-potin/second-filtered.man
@@ -0,0 +1,8 @@
+.TH second 1
+.SH NAME
+second \- a second test file
+
+This is a test paragraph.
+A short one.
+
+Another entry.
diff --git a/t/cfg/split-potin/second.man b/t/cfg/split-potin/second.man
new file mode 100644
index 0000000..5c57cdd
--- /dev/null
+++ b/t/cfg/split-potin/second.man
@@ -0,0 +1,12 @@
+.TH second 1
+.SH NAME
+second \- a second test file
+
+This is a test paragraph.
+A short one.
+
+Another entry.
+
+.SH "Not Translated"
+
+This section should not end up in the PO files to not get translated.
diff --git a/t/cfg/split-potin/second.man.de.po b/t/cfg/split-potin/second.man.de.po
new file mode 100644
index 0000000..ed8b0a0
--- /dev/null
+++ b/t/cfg/split-potin/second.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr "zweite"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "zweite - eine zweite Testdatei"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Dies ist ein Testabsatz. Ein kurzer."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Ein weiterer Eintrag."
diff --git a/t/cfg/split-potin/second.man.fr.po b/t/cfg/split-potin/second.man.fr.po
new file mode 100644
index 0000000..772d720
--- /dev/null
+++ b/t/cfg/split-potin/second.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr "second"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "second - un second fichier de test"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Ceci est un paragraphe de test. Un court."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Une autre entrée."
diff --git a/t/cfg/split-potin/second.man.pot b/t/cfg/split-potin/second.man.pot
new file mode 100644
index 0000000..1e6995b
--- /dev/null
+++ b/t/cfg/split-potin/second.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-uptodate/_output b/t/cfg/split-uptodate/_output
new file mode 100644
index 0000000..2525bdf
--- /dev/null
+++ b/t/cfg/split-uptodate/_output
@@ -0,0 +1,7 @@
+Split mode, creating a temporary POT: (9 entries)
+Updating the translation in language de: 9 translated messages.
+Updating the translation in language fr: 9 translated messages.
+first.man.de is 100% translated (5 strings).
+second.man.de is 100% translated (5 strings).
+first.man.fr is 100% translated (5 strings).
+second.man.fr is 100% translated (5 strings).
diff --git a/t/cfg/split-uptodate/diff_output b/t/cfg/split-uptodate/diff_output
new file mode 100644
index 0000000..53b5855
--- /dev/null
+++ b/t/cfg/split-uptodate/diff_output
@@ -0,0 +1,11 @@
+--- cfg/split-nopo/_output-noupdate 2020-04-17 17:20:05.150242241 +0200
++++ - 2020-04-17 17:24:16.593316616 +0200
+@@ -0,0 +1,8 @@
++Split mode, creating a temporary POT.
++ (9 entries)
++The translation of master file 'first.man' in language 'de' is missing (file: first.man.de.po) -- skipping.
++The translation of master file 'second.man' in language 'de' is missing (file: second.man.de.po) -- skipping.
++The translation of master file 'first.man' in language 'fr' is missing (file: first.man.fr.po) -- skipping.
++The translation of master file 'second.man' in language 'fr' is missing (file: second.man.fr.po) -- skipping.
++PO file for language de is missing -- skipping.
++PO file for language fr is missing -- skipping.
diff --git a/t/cfg/split-uptodate/first.man b/t/cfg/split-uptodate/first.man
new file mode 100644
index 0000000..7283dc8
--- /dev/null
+++ b/t/cfg/split-uptodate/first.man
@@ -0,0 +1,7 @@
+.TH first 1
+.SH NAME
+first \- a first test file
+
+Some random text.
+
+More random text that does not make sense.
diff --git a/t/cfg/split-uptodate/first.man.de b/t/cfg/split-uptodate/first.man.de
new file mode 100644
index 0000000..3cfb621
--- /dev/null
+++ b/t/cfg/split-uptodate/first.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH erste 1
+.SH NAME
+erste \- eine erste Testdatei
+
+Ein zufälliger Text.
+
+Mehr zufälliger Text, der keinen Sinn ergibt.
diff --git a/t/cfg/split-uptodate/first.man.de.po b/t/cfg/split-uptodate/first.man.de.po
new file mode 100644
index 0000000..ddf4157
--- /dev/null
+++ b/t/cfg/split-uptodate/first.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr "erste"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "erste - eine erste Testdatei"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Ein zufälliger Text."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Mehr zufälliger Text, der keinen Sinn ergibt."
diff --git a/t/cfg/split-uptodate/first.man.fr b/t/cfg/split-uptodate/first.man.fr
new file mode 100644
index 0000000..ee338ba
--- /dev/null
+++ b/t/cfg/split-uptodate/first.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH premier 1
+.SH NOM
+premier \- un premier fichier de test
+
+Un texte au hasard.
+
+Plus de texte dénué de sens au hasard.
diff --git a/t/cfg/split-uptodate/first.man.fr.po b/t/cfg/split-uptodate/first.man.fr.po
new file mode 100644
index 0000000..14f078b
--- /dev/null
+++ b/t/cfg/split-uptodate/first.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr "premier"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "premier - un premier fichier de test"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Un texte au hasard."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Plus de texte dénué de sens au hasard."
diff --git a/t/cfg/split-uptodate/first.man.pot b/t/cfg/split-uptodate/first.man.pot
new file mode 100644
index 0000000..ab025af
--- /dev/null
+++ b/t/cfg/split-uptodate/first.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split-uptodate/po4a.conf b/t/cfg/split-uptodate/po4a.conf
new file mode 100644
index 0000000..c8f3393
--- /dev/null
+++ b/t/cfg/split-uptodate/po4a.conf
@@ -0,0 +1,6 @@
+[po4a_langs] fr de
+[po4a_paths] $master.pot $lang:$master.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] first.man $lang:first.man.$lang
+[type:man] second.man $lang:second.man.$lang
diff --git a/t/cfg/split-uptodate/second.man b/t/cfg/split-uptodate/second.man
new file mode 100644
index 0000000..966b73a
--- /dev/null
+++ b/t/cfg/split-uptodate/second.man
@@ -0,0 +1,8 @@
+.TH second 1
+.SH NAME
+second \- a second test file
+
+This is a test paragraph.
+A short one.
+
+Another entry.
diff --git a/t/cfg/split-uptodate/second.man.de b/t/cfg/split-uptodate/second.man.de
new file mode 100644
index 0000000..6d7e4a8
--- /dev/null
+++ b/t/cfg/split-uptodate/second.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH zweite 1
+.SH NAME
+zweite \- eine zweite Testdatei
+
+Dies ist ein Testabsatz. Ein kurzer.
+
+Ein weiterer Eintrag.
diff --git a/t/cfg/split-uptodate/second.man.de.po b/t/cfg/split-uptodate/second.man.de.po
new file mode 100644
index 0000000..ed8b0a0
--- /dev/null
+++ b/t/cfg/split-uptodate/second.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr "zweite"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "zweite - eine zweite Testdatei"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Dies ist ein Testabsatz. Ein kurzer."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Ein weiterer Eintrag."
diff --git a/t/cfg/split-uptodate/second.man.fr b/t/cfg/split-uptodate/second.man.fr
new file mode 100644
index 0000000..6489f66
--- /dev/null
+++ b/t/cfg/split-uptodate/second.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH second 1
+.SH NOM
+second \- un second fichier de test
+
+Ceci est un paragraphe de test. Un court.
+
+Une autre entrée.
diff --git a/t/cfg/split-uptodate/second.man.fr.po b/t/cfg/split-uptodate/second.man.fr.po
new file mode 100644
index 0000000..772d720
--- /dev/null
+++ b/t/cfg/split-uptodate/second.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr "second"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "second - un second fichier de test"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Ceci est un paragraphe de test. Un court."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Une autre entrée."
diff --git a/t/cfg/split-uptodate/second.man.pot b/t/cfg/split-uptodate/second.man.pot
new file mode 100644
index 0000000..1e6995b
--- /dev/null
+++ b/t/cfg/split-uptodate/second.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/split-yaml/_index.md b/t/cfg/split-yaml/_index.md
new file mode 100644
index 0000000..c5a04d0
--- /dev/null
+++ b/t/cfg/split-yaml/_index.md
@@ -0,0 +1,3 @@
+Happy birthday.
+
+Happy new year.
diff --git a/t/cfg/split-yaml/_index.vi.md b/t/cfg/split-yaml/_index.vi.md
new file mode 100644
index 0000000..6210788
--- /dev/null
+++ b/t/cfg/split-yaml/_index.vi.md
@@ -0,0 +1,3 @@
+Chúc mừng sinh nhật.
+
+Chúc mừng năm mới.
diff --git a/t/cfg/split-yaml/_output b/t/cfg/split-yaml/_output
new file mode 100644
index 0000000..1530d95
--- /dev/null
+++ b/t/cfg/split-yaml/_output
@@ -0,0 +1,4 @@
+Split mode, creating a temporary POT: (5 entries)
+Updating the translation in language vi: 5 translated messages.
+_index.vi.md is 100% translated (2 strings).
+vi.yaml is 100% translated (3 strings).
diff --git a/t/cfg/split-yaml/content.pot b/t/cfg/split-yaml/content.pot
new file mode 100644
index 0000000..8b92b77
--- /dev/null
+++ b/t/cfg/split-yaml/content.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2021-02-08 09:11+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: _index.md:2
+msgid "Happy birthday."
+msgstr ""
+
+#. type: Plain text
+#: _index.md:3
+msgid "Happy new year."
+msgstr ""
diff --git a/t/cfg/split-yaml/content.vi.po b/t/cfg/split-yaml/content.vi.po
new file mode 100644
index 0000000..1c38c19
--- /dev/null
+++ b/t/cfg/split-yaml/content.vi.po
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2021-02-08 09:11+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: _index.md:2
+msgid "Happy birthday."
+msgstr "Chúc mừng sinh nhật."
+
+#. type: Plain text
+#: _index.md:3
+msgid "Happy new year."
+msgstr "Chúc mừng năm mới."
diff --git a/t/cfg/split-yaml/en.yaml b/t/cfg/split-yaml/en.yaml
new file mode 100644
index 0000000..f5d1fa8
--- /dev/null
+++ b/t/cfg/split-yaml/en.yaml
@@ -0,0 +1,6 @@
+translated-by:
+ other: 'Translated by'
+translations:
+ other: Languages
+select-your-language:
+ other: 'Select your language'
diff --git a/t/cfg/split-yaml/i18n.pot b/t/cfg/split-yaml/i18n.pot
new file mode 100644
index 0000000..7e50912
--- /dev/null
+++ b/t/cfg/split-yaml/i18n.pot
@@ -0,0 +1,35 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2021-02-08 09:11+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Hash Value: select-your-language other
+#: en.yaml:0
+#, no-wrap
+msgid "Select your language"
+msgstr ""
+
+#. type: Hash Value: translated-by other
+#: en.yaml:0
+#, no-wrap
+msgid "Translated by"
+msgstr ""
+
+#. type: Hash Value: translations other
+#: en.yaml:0
+#, no-wrap
+msgid "Languages"
+msgstr ""
diff --git a/t/cfg/split-yaml/i18n.vi.po b/t/cfg/split-yaml/i18n.vi.po
new file mode 100644
index 0000000..06c78f5
--- /dev/null
+++ b/t/cfg/split-yaml/i18n.vi.po
@@ -0,0 +1,35 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2021-02-08 09:08+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Hash Value: select-your-language other
+#: en.yaml:0
+#, no-wrap
+msgid "Select your language"
+msgstr "Chọn ngôn ngữ"
+
+#. type: Hash Value: translated-by other
+#: en.yaml:0
+#, no-wrap
+msgid "Translated by"
+msgstr "Dịch bởi"
+
+#. type: Hash Value: translations other
+#: en.yaml:0
+#, no-wrap
+msgid "Languages"
+msgstr "Ngôn ngữ"
diff --git a/t/cfg/split-yaml/po4a.cfg b/t/cfg/split-yaml/po4a.cfg
new file mode 100644
index 0000000..e3458f6
--- /dev/null
+++ b/t/cfg/split-yaml/po4a.cfg
@@ -0,0 +1,5 @@
+[po4a_langs] vi
+[po4a_paths] $master.pot $lang:$master.$lang.po
+[type: text] _index.md $lang:_index.$lang.md pot=content opt:"-o markdown"
+[type: yaml] en.yaml $lang:$lang.yaml pot=i18n
+[options] -M utf-8 -L utf-8
diff --git a/t/cfg/split-yaml/vi.yaml b/t/cfg/split-yaml/vi.yaml
new file mode 100644
index 0000000..972e020
--- /dev/null
+++ b/t/cfg/split-yaml/vi.yaml
@@ -0,0 +1,7 @@
+---
+select-your-language:
+ other: 'Chọn ngôn ngữ'
+translated-by:
+ other: 'Dịch bởi'
+translations:
+ other: 'Ngôn ngữ'
diff --git a/t/cfg/split/_first.man.de b/t/cfg/split/_first.man.de
new file mode 100644
index 0000000..3cfb621
--- /dev/null
+++ b/t/cfg/split/_first.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH erste 1
+.SH NAME
+erste \- eine erste Testdatei
+
+Ein zufälliger Text.
+
+Mehr zufälliger Text, der keinen Sinn ergibt.
diff --git a/t/cfg/split/_first.man.fr b/t/cfg/split/_first.man.fr
new file mode 100644
index 0000000..ee338ba
--- /dev/null
+++ b/t/cfg/split/_first.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH premier 1
+.SH NOM
+premier \- un premier fichier de test
+
+Un texte au hasard.
+
+Plus de texte dénué de sens au hasard.
diff --git a/t/cfg/split/_output b/t/cfg/split/_output
new file mode 100644
index 0000000..2525bdf
--- /dev/null
+++ b/t/cfg/split/_output
@@ -0,0 +1,7 @@
+Split mode, creating a temporary POT: (9 entries)
+Updating the translation in language de: 9 translated messages.
+Updating the translation in language fr: 9 translated messages.
+first.man.de is 100% translated (5 strings).
+second.man.de is 100% translated (5 strings).
+first.man.fr is 100% translated (5 strings).
+second.man.fr is 100% translated (5 strings).
diff --git a/t/cfg/split/_second.man.de b/t/cfg/split/_second.man.de
new file mode 100644
index 0000000..6d7e4a8
--- /dev/null
+++ b/t/cfg/split/_second.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH zweite 1
+.SH NAME
+zweite \- eine zweite Testdatei
+
+Dies ist ein Testabsatz. Ein kurzer.
+
+Ein weiterer Eintrag.
diff --git a/t/cfg/split/_second.man.fr b/t/cfg/split/_second.man.fr
new file mode 100644
index 0000000..6489f66
--- /dev/null
+++ b/t/cfg/split/_second.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH second 1
+.SH NOM
+second \- un second fichier de test
+
+Ceci est un paragraphe de test. Un court.
+
+Une autre entrée.
diff --git a/t/cfg/split/diff_output b/t/cfg/split/diff_output
new file mode 100644
index 0000000..53b5855
--- /dev/null
+++ b/t/cfg/split/diff_output
@@ -0,0 +1,11 @@
+--- cfg/split-nopo/_output-noupdate 2020-04-17 17:20:05.150242241 +0200
++++ - 2020-04-17 17:24:16.593316616 +0200
+@@ -0,0 +1,8 @@
++Split mode, creating a temporary POT.
++ (9 entries)
++The translation of master file 'first.man' in language 'de' is missing (file: first.man.de.po) -- skipping.
++The translation of master file 'second.man' in language 'de' is missing (file: second.man.de.po) -- skipping.
++The translation of master file 'first.man' in language 'fr' is missing (file: first.man.fr.po) -- skipping.
++The translation of master file 'second.man' in language 'fr' is missing (file: second.man.fr.po) -- skipping.
++PO file for language de is missing -- skipping.
++PO file for language fr is missing -- skipping.
diff --git a/t/cfg/split/first.man b/t/cfg/split/first.man
new file mode 100644
index 0000000..7283dc8
--- /dev/null
+++ b/t/cfg/split/first.man
@@ -0,0 +1,7 @@
+.TH first 1
+.SH NAME
+first \- a first test file
+
+Some random text.
+
+More random text that does not make sense.
diff --git a/t/cfg/split/first.man.de.po b/t/cfg/split/first.man.de.po
new file mode 100644
index 0000000..ddf4157
--- /dev/null
+++ b/t/cfg/split/first.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr "erste"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "erste - eine erste Testdatei"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Ein zufälliger Text."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Mehr zufälliger Text, der keinen Sinn ergibt."
diff --git a/t/cfg/split/first.man.fr.po b/t/cfg/split/first.man.fr.po
new file mode 100644
index 0000000..14f078b
--- /dev/null
+++ b/t/cfg/split/first.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr "premier"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr "premier - un premier fichier de test"
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr "Un texte au hasard."
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr "Plus de texte dénué de sens au hasard."
diff --git a/t/cfg/split/first.man.pot b/t/cfg/split/first.man.pot
new file mode 100644
index 0000000..ab025af
--- /dev/null
+++ b/t/cfg/split/first.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: first.man:1
+#, no-wrap
+msgid "first"
+msgstr ""
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: first.man:4
+msgid "first - a first test file"
+msgstr ""
+
+#. type: Plain text
+#: first.man:6
+msgid "Some random text."
+msgstr ""
+
+#. type: Plain text
+#: first.man:7
+msgid "More random text that does not make sense."
+msgstr ""
diff --git a/t/cfg/split/po4a.conf b/t/cfg/split/po4a.conf
new file mode 100644
index 0000000..c8f3393
--- /dev/null
+++ b/t/cfg/split/po4a.conf
@@ -0,0 +1,6 @@
+[po4a_langs] fr de
+[po4a_paths] $master.pot $lang:$master.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] first.man $lang:first.man.$lang
+[type:man] second.man $lang:second.man.$lang
diff --git a/t/cfg/split/second.man b/t/cfg/split/second.man
new file mode 100644
index 0000000..966b73a
--- /dev/null
+++ b/t/cfg/split/second.man
@@ -0,0 +1,8 @@
+.TH second 1
+.SH NAME
+second \- a second test file
+
+This is a test paragraph.
+A short one.
+
+Another entry.
diff --git a/t/cfg/split/second.man.de.po b/t/cfg/split/second.man.de.po
new file mode 100644
index 0000000..ed8b0a0
--- /dev/null
+++ b/t/cfg/split/second.man.de.po
@@ -0,0 +1,44 @@
+# German translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr "zweite"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "zweite - eine zweite Testdatei"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Dies ist ein Testabsatz. Ein kurzer."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Ein weiterer Eintrag."
diff --git a/t/cfg/split/second.man.fr.po b/t/cfg/split/second.man.fr.po
new file mode 100644
index 0000000..772d720
--- /dev/null
+++ b/t/cfg/split/second.man.fr.po
@@ -0,0 +1,44 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: 2020-04-17 16:59+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr "second"
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr "second - un second fichier de test"
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr "Ceci est un paragraphe de test. Un court."
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr "Une autre entrée."
diff --git a/t/cfg/split/second.man.pot b/t/cfg/split/second.man.pot
new file mode 100644
index 0000000..1e6995b
--- /dev/null
+++ b/t/cfg/split/second.man.pot
@@ -0,0 +1,44 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-17 16:59+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: SH
+#: first.man:2 second.man:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: TH
+#: second.man:1
+#, no-wrap
+msgid "second"
+msgstr ""
+
+#. type: Plain text
+#: second.man:4
+msgid "second - a second test file"
+msgstr ""
+
+#. type: Plain text
+#: second.man:7
+msgid "This is a test paragraph. A short one."
+msgstr ""
+
+#. type: Plain text
+#: second.man:8
+msgid "Another entry."
+msgstr ""
diff --git a/t/cfg/windows-CRLF/_output b/t/cfg/windows-CRLF/_output
new file mode 100644
index 0000000..1ccbbe0
--- /dev/null
+++ b/t/cfg/windows-CRLF/_output
@@ -0,0 +1,3 @@
+Updating single-uptodate.pot: (4 entries)
+Updating single-uptodate.fr.po: 4 translated messages.
+single-uptodate.man.fr.1 is 100% translated (4 strings).
diff --git a/t/cfg/windows-CRLF/single-uptodate.fr.po b/t/cfg/windows-CRLF/single-uptodate.fr.po
new file mode 100644
index 0000000..050b99a
--- /dev/null
+++ b/t/cfg/windows-CRLF/single-uptodate.fr.po
@@ -0,0 +1,39 @@
+# French translations for po package
+# Copyright (C) 2020 Free Software Foundation, Inc.
+# This file is distributed under the same license as the po package.
+# Automatically generated, 2020.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: po 4a\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/windows-CRLF/single-uptodate.man.1 b/t/cfg/windows-CRLF/single-uptodate.man.1
new file mode 100644
index 0000000..e446c61
--- /dev/null
+++ b/t/cfg/windows-CRLF/single-uptodate.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/windows-CRLF/single-uptodate.man.fr.1 b/t/cfg/windows-CRLF/single-uptodate.man.fr.1
new file mode 100644
index 0000000..8f06439
--- /dev/null
+++ b/t/cfg/windows-CRLF/single-uptodate.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/windows-CRLF/single-uptodate.pot b/t/cfg/windows-CRLF/single-uptodate.pot
new file mode 100644
index 0000000..fe72624
--- /dev/null
+++ b/t/cfg/windows-CRLF/single-uptodate.pot
@@ -0,0 +1,39 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/windows-CRLF/windows-CRLF.conf b/t/cfg/windows-CRLF/windows-CRLF.conf
new file mode 100644
index 0000000..c68b0ab
--- /dev/null
+++ b/t/cfg/windows-CRLF/windows-CRLF.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] single-uptodate.pot fr:single-uptodate.fr.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single-uptodate.man.1 fr:single-uptodate.man.fr.1