[New-bugs-announce] [issue35335] msgfmt should be able to merge more than one po file

s-ball report at bugs.python.org
Wed Nov 28 02:26:19 EST 2018

New submission from s-ball <s-ball at laposte.net>:

GNU gettext msgfmt can merge several po files into one single mo file.
The current version of msgfmt can only compile one po file to one mo file.

After looking at the code, the enhancement should be simple to implement.

Command line: if one output file is given (option -o) and several input files, then all the input files should be combined.

- main should pass all the parameters to make (*args)
- make should accept one single string for compatibility or an iterable of string. In that latter case, the current processing should be repeated on all input files.

I could propose a patch (but I am afraid it ends being rather large) or a pull request. As a new user here, I do not know what is the best way...

components: Demos and Tools
messages: 330575
nosy: s-ball
priority: normal
severity: normal
status: open
title: msgfmt should be able to merge more than one po file
type: enhancement
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list