version-controlinternationalizationtranslationproject-structure

Should I check in *.mo files?


Should I check in *.mo translation files into my version control system?

This is a general question. But in particular I'm working on Django projects with git repositories.


Solution

  • The general answer is to not store generated contents in version control.

    You can include it in tarball, if it requires rare tools, or even have separate repository or disconnected branch with only those generated files (like 'html' and 'man' branches in git.git repository).