Hello! Doesn't anyone know how I can get the the information in which language the user is watching the site? I think this should be an attribute of the request/page context?
Or is there another way to create these links? Thanks for your help! Stefan -------- Original-Nachricht -------- > Datum: Thu, 26 Mar 2009 10:13:48 +0100 > Von: [email protected] > An: "Magnolia User-List" <[email protected]> > Betreff: [magnolia-user] How to build links with language information > > Hello! > > I am using the i18n functionality and now want to create links in my jsp > pages. > > I create the links in this way: > ${pageContext.request.contextPath}${imagedata.imageLink}.html > In this case I loose the information in which language the page is shown. > > I get a link like http://localhost:8080/magnoliaAuthor/target-site.html > but I want to have a link like > > http://localhost:8080/magnoliaAuthor/en/target-site.html > > What is the way to get the language information? I think there is a way > like ${pageContext.request.languagekey} or something similar..... > > Hope someone can help me. > > Thanks for your help in advance! > > Stefan > -- > Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + > Telefonanschluss für nur 17,95 Euro/mtl.!* > http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
