Geoportail-Luxembourg/geoportailv3 — pull request #106 by petzlux (2014-12-09 08:41:12+00:00)
Title: Languages support

Couple of problems here:

## CONST_Makefile
I tried but failed to create a Make command that only updates the pot file if one of the *.py or *.html files in the project changed, like so:
````
geoportailv3/locale/geoportailv3.pot: $(APP_HTML_FILES) $(APP_PYTHON_FILES)
python setup.py extract_messages
````

So instead I just create a new make build target, which always runs when we do build

## msgfmt
I have problems with duplicate entries in the po files
````
geoportailv3/locale/en/LC_MESSAGES/geoportailv3.po:7: duplicate message definition...
geoportailv3/locale/de/LC_MESSAGES/geoportailv3.po:8: ...this is the location of the first definition
geoportailv3/locale/en/LC_MESSAGES/geoportailv3.po:22: duplicate message definition...
geoportailv3/locale/de/LC_MESSAGES/geoportailv3.po:23: ...this is the location of the first definition
geoportailv3/locale/en/LC_MESSAGES/geoportailv3.po:26: duplicate message definition...
geoportailv3/locale/de/LC_MESSAGES/geoportailv3.po:27: ...this is the location of the first definition
geoportailv3/locale/en/LC_MESSAGES/geoportailv3.po:30: duplicate message definition...
geoportailv3/locale/de/LC_MESSAGES/geoportailv3.po:31: ...this is the location of the first definition
geoportailv3/locale/en/LC_MESSAGES/geoportailv3.po:34: duplicate message definition...
geoportailv3/locale/de/LC_MESSAGES/geoportailv3.po:35: ...this is the location of the first definition
geoportailv3/locale/en/LC_MESSAGES/geoportailv3.po:38: duplicate message definition...
geoportailv3/locale/de/LC_MESSAGES/geoportailv3.po:39: ...this is the location of the first definition
msgfmt: found 6 fatal errors
````