kopia lustrzana https://github.com/hholzgra/maposmatic/
22d456d110
When switching to a locale-specific language on the MapOSMatic website with the language selection dropdown, the new language was not made the current selection of the dropdown menu, and fell back to the default 'French'. It was thus impossible to go back to French without switch to an intermediary language. The behavior was the result of a difference between our (traditional) language codes and the ones used by Django. The language list has been fixed, and a comment added to proof for future additions. |
||
---|---|---|
scripts | ||
support | ||
www | ||
.gitignore | ||
AUTHORS | ||
COPYING | ||
INSTALL | ||
README |
README
MapOSMatic is a web application to generate maps of cities or towns, including index of streets, from OpenStreetMap data. It is made of two components: * maposmatic, the web front-end. An application written using the Django framework allows to submit and visualize map rendering jobs. The rendering is done in the background by a daemon; * ocitysmap, the back-end that generates the map. It is available as a Python module, used both by the maposmatic daemon (above) and by a sample command line application. This source tree contains maposmatic, the web front-end. It is licensed under under GNU AGPLv3 (GNU Affero General Public License 3.0). Translation =========== The .po files are stored in www/locale/<locale>/LC_MESSAGES/. To generate or update a .po file, run: django-admin.py makemessages -l <locale>. Then, edit the .po file manually, or using a graphical tool such as poedit (available in the Debian/Ubuntu package of the same name). Once done, don't forget to compile the .po file into an .mo file using django-admin.py compilemessages.