multi-language with URL-iViews
I have the following little problem:
Our EP is mostly based on URL-iViews to static HTML-sites in german. Now, we are planning to extend the EP with an english Version. The Users should see the portal in the language they choose in the portal personalization menu.
My first thought was to use the portal-content-translation but this doesn't work for URL-iViews, as there is almost no text to be translated.
Now, my idea is to put a little script between the portal and the HTML-sites that checks the chosen language and redirects the user to the specific version.
The Problem is, I have no idea how to do that.
It would be really nice if anyone could tell me how to do this or maybe you have a better solution for my problem.
Thank you in advance for your efforts.
You can create an iview with sap application integrator and then in the URL property for that iview, you point it to an jsp page which will redirect user to different pages in different languages. Also in the URL to that jsp page, use =<Request.Language> to determine the user's language preference, i.e. http://server_path/redirect.jsp?lang=<Request.Language>.
Also see this