yogi1313 wrote:
Hi all ,
We are using struts to build a Global website which will be localized in
over 30 languages.
One of our requirement for SEO is to not have any locale field in the URL's
..
In standard approach when we localize a site we have a locale field in the
URL which is then used to identify the correct struts config file.
e.g http://localhost:5555/en_US/home.do or
http://localhost:5555/en_GB/home.do
We have a corresponding mapping in the web.xml as initparam to Action
Servlet
<init-param>
<param-name>config/en_US</param-name>
<param-value>/WEB-INF/struts-en_US.xml</param-value>
</init-param>
We now want to get rid of teh locale field e.g en_US and en_GB in teh URL's
and still use individual struts file for each locale.
Any thoughts on the above ?
Why do you need different struts.xml files for each locale? That's not
usually necessary for I18N. Do you have substantially different page
layouts, workflows, etc. for different locales? Without some idea of why
you're doing this, and how you intend it to work without the
differentiating locale string in the URL, it'll be hard for anyone to
offer meaningful advice.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]