<html><body><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000"><div>Hello everyone,</div><div><br data-mce-bogus="1"></div><div>I'm trying to implement the new ML single tree approach (see: http://documentation.opencms.org/opencms-documentation/tutorials/building-a-multilingual-website/#singletree )</div><div><br data-mce-bogus="1"></div><div>It all seems to work in offline mode.</div><div>Using online mode all links are generated with the first locale used. So the language switch renders always the same link for each locale (i.e. /en/about-us for de,fr,es)</div><div><br data-mce-bogus="1"></div><div>I am not sure if I have misconfigured my cache or export settings but I have debugged through the code and found a solution (which works for now).</div><div>In CmsDefaultLinkSubstitutionHandler.java:266 the cacheKey is built without any locale.</div><div>If I add:</div><div><br data-mce-bogus="1"></div><div> + ":"<br> + cms.getRequestContext().getLocale()</div><div><br data-mce-bogus="1"></div><div>it works.</div><div><br data-mce-bogus="1"></div><div>Now I am wondering if it is a bug or if I need to configure properly and if it is no bug, any help how to configure it right ist appreciated.</div><div>Thanks in advance.</div><div><br data-mce-bogus="1"></div><div>Best regards<br></div><div>Martin</div></div></body></html>