I use a set of .po files created by the company's translation system (using Pootle, if necessary). I am having problems converting these files to .mo (binary to .po files) using the msgfmt utility (with the -C operator, which checks the file format), I get the following error
$ msgfmt -v -C default.po default.po:1:2: syntax error msgfmt: found 1 fatal error
I searched Google pretty widely for more information on what exactly causes msgfmt to throw this error.
I also tried to delete the first couple of lines of the file (which were not part of the directory, but simply comments or empty translation lines).
I am inclined to think that this is a file encoding problem, but I have not dealt with this similar matter, therefore I am more than ready to admit that this is a user error.
Does anyone know how I can more specifically diagnose an error with these files? In addition, the same behavior appears in all localized files, and not just in one specific file.
localization gettext pootle
inkedmn
source share