• Welcome to KonaKart Community Forum. Please login or sign up.
 

New Language!

Started by prova17, April 27, 2010, 01:13:42 pm

Previous topic - Next topic

prova17

Hello everybody,
I have a question.
It is the first time that I use Konakart, it's great.
I have a problem to insert a new language.
I need to develop a new language, italian language.
I edited LanguagesTile.jsp I have the following path http://localhost:8080/konakart/SetLocale_it_IT.do.

When I click to the italian flag I have an error:

HTTP Status 404 - Invalid path was requested
type Status report
message Invalid path was requested
description The requested resource (Invalid path was requested) is not available.
Apache Tomcat/6.0.18

Where can I manage SetLocale_it_IT.do?

Thanks a lot, I'm sorry but it is my first view about Konakart
???

trevor

You need to add it to the struts-config.xml file similar to the other languages that are already there:

      <action path="/SetLocale_it_IT" type="com.konakart.actions.SetLocaleAction" parameter="it_IT">
         <forward name="SetLocale" path="/CatalogMainPage.do"/>
      </action>

This will forward you to the SetLocaleAction class.