[quote]Though our app can rely on locale in the URI[/quote] MgnlContext.getLocale() should give you locale w/o having to resolve to parsing URI and w/o having to rely on URI to contain it in the first place (you can also pickup locale delivered via request header, cookie, etc)
[quote] but STK dialogs etc will come with URI as /.magnolia/[/quote] Components.getComponent(I18nAuthoringSupport.class) should give you what you are looking for. In general whole i18n handling is configured under config:/server/i18n, you are free to replace any of the implementations w/ your own to deliver whatever handling you need. URI and link mappings in general ask those classes for correct way to i18n-ize the URI or to map content location from the request. HTH, Jan -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=1db2a112-05ce-4519-ace6-044d38885c0d You are invited to Magnolia Conference. Less than a month to go! Register now: http://www.magnolia-cms.com/conference/register.html ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
