[opencms-dev] getting the locale of a page within <% %>
Christoph P. Kukulies
kuku at physik.rwth-aachen.de
Fri Mar 17 12:58:37 CET 2006
I'm in need for a code snippet.
My navigation needs to display different images containing
names in german resp. english. I need to decide whether the
locale is String "de" or String "en" and build the
image name src="/galleries/pics/"<%=locale%>_navicon"
corresponding to the locale of the page.
Do I use a bean and which one and what would the
preparing code to obtain the locale?
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
More information about the opencms-dev
mailing list