you would have to modify the contextfilter defined in the web.xml by that I mean change the code in the java class. currently mydomain.com/control is the way ofbiz works you can have many eccommerce clones each with a mount point like mount-point="/fr-ecommerce
Mike sent the following on 9/7/2011 11:21 AM: > The demo ecommerce app already allows a USER to select a language. > What I'm interested in setting the locale based on the mount point. > I thought that maybe the place to do this would be > specialpurpose/ecommerce/ofbiz-component.xml. > > <webapp name="ecommerce" > title="eCommerce" > locale="fr" <-------------------- > server="default-server" > location="webapp/ecommerce" > mount-point="/ecommerce" > app-bar-display="false"/> > > Doesn't work (sadly) > > On Wed, Sep 7, 2011 at 11:05 AM, BJ Freeman <[email protected]> wrote: >> this is accomplished internal to ofbiz >> single url. >> the Language is selectable by user. >> you can create a URL that add the language selection in the parm list. >> >> >> Mike sent the following on 9/7/2011 10:43 AM: >>> I'm interested in having multiple mount points to support various >>> languages. For instance: >>> >>> http://www.domain.com/en/control/main >>> http://www,domain.com/fr/control/main >>> ...etc.. >>> >>> Is there an easy way to force ofbiz (hopefully using a single website >>> store) to render a certain language based on mount point, or do I >>> have to do fancy Apache redirects. >>> >>> I'm hoping that doing this, along with using sitemaps.xml would allow >>> a site to be indexed in multiple languages. >>> >>> Does anyone have an example on how to do this? >>> >> >
