export mo to bazaar branch

Asked by xaav on 2011-05-01

I know that it is possible to export .po files to a bazaar branch automatically, but I would like to export .mo files, since they are optimized for better application performance.

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
2011-05-01
Last reply:
2011-05-03
David Planella (dpm) said : #1

It is not possible to export .mo files to a bzr branch, as, unlike PO files, it does not make much sense to keep them under revision control.

MO files are products of building the sources, regenerated every time and only used at runtime. They are binary files, of which the changes in a version control system are not really interesting, and they end up taking unnecessary space in the source tree.

Instead, I would stick to the standard practice of keeping the .po files in the source tree using automatic exports, and let the build system take care of creating .mo files on each build.

Can you help with this problem?

Provide an answer of your own, or ask xaav for more information if necessary.

To post a message you must log in.