[Live-demo] make translation easier - define software version in conf.py

Astrid Emde astrid.emde at wheregroup.com
Wed Dec 3 23:20:43 PST 2014


I do not know, whether you discussed this before.

Before each OSGeo-Live version comes out the translators have to edit
many files and sometimes only have to change the version of the software.

Things are much easier and less work, if the version is only defined at
one place as a variable and the version is used in all the overview

Some projects use this way already and I would like to encourage more
projects to make it this way.

Have a look at:
1.)  f.e. define  |version-geoserver| replace:: 2.5

2.) and refer in the xx_overview.rst like this

**Software Version:** |version-geoserver|

Like this only changes in the text of the overview document have to be
translated for every new version.


More information about the Osgeolive mailing list