These are chat archives for mirumee/saleor

25th
Jan 2018
duy.pham
@berong91
Jan 25 2018 18:09
Hi all, thanks for the great work on Saleor. Just tossing a small question here, on the last 2 latest releases, v2017.11 and v2017.12 there are quite a large number of updated binary files, especially locale files (locale/contry_code/*.mo).
I search over the repo and couldn't find any text describe what are the changes, or list of binary files. Do you think it's possible to include something like that on the next release?
Patryk Zawadzki
@patrys
Jan 25 2018 19:37
@berong91 The locale files are translation data, the .mo files are just compiled versions of .po files that are available in clear text, those are standard gettext formats
duy.pham
@berong91
Jan 25 2018 19:39
@patrys Good to know, I'll just ignore that for now, but maybe we should also add it to the default .gitignore
Patryk Zawadzki
@patrys
Jan 25 2018 19:39
they are required for translation to work
duy.pham
@berong91
Jan 25 2018 19:44
Totally makes sense, thanks for the answer. I guess my only concern is they're binary files :D which makes it a bit hard to track.
Patryk Zawadzki
@patrys
Jan 25 2018 19:48
if you ever get a conflict you can rebuild them with python manage.py compilemessages
that is assuming you don't have unresolved conflicts in the matching .po files
duy.pham
@berong91
Jan 25 2018 19:53
Glad to know, will do that from now :thumbsup: