coderedcorp / coderedcms

Wagtail + CodeRed Extensions enabling rapid development of marketing-focused websites.
https://www.coderedcorp.com/cms
Other
668 stars 137 forks source link

Standard CodeRed CMS install .gitignore standard django Localize files #253

Open esandorfi opened 4 years ago

esandorfi commented 4 years ago

Using standard CodeRed CMS install, you have .gitignore from project_templates with

# Translations
*.mo

Of course, using django compilemessages and makemessages generate a .mo files for each language. Don't forget to comment this line before your git deploy or it won't work.

vsalvino commented 4 years ago

Would it be a best practice to include the .mo files in your repo? If so we can remove that line from the gitignore. Or do they get generated from a source file that should be included instead?

esandorfi commented 4 years ago

Best pratices I think is to remove it from .gitignore. As normal django behaviour is to use the .mo/.po files as a standard configuration. So you do not broke it by default.