Allow choosing the translation in the .properties file.
authorMurray Cumming <murrayc@murrayc.com>
Tue, 20 Dec 2011 08:56:21 +0000 (09:56 +0100)
committerMurray Cumming <murrayc@murrayc.com>
Tue, 20 Dec 2011 08:56:21 +0000 (09:56 +0100)
commit03a52b72f058cc663e32875a47648bf016b80292
tree0c7c94eba66a61d511b8695a4e27103f668a9d2b
parent0a9ba0d1e83d5cc4da49ef43e06015e049c8622c
Allow choosing the translation in the .properties file.

* src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
init(): Read a glom.document.locale value from the configuration file
and call Glom's TransatableItem::set_current_locale() method.
* src/main/resources/onlineglom.properties: Add a commented-out
example of this new setting.

It would be better to add &lang=de_DE to the URL, but the current
libglom API does not allow us to do this easily. I am working on that.
ChangeLog
src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
src/main/resources/onlineglom.properties