What's your browser configured locales?

On Fri, 07 Nov 2014 07:28:35 -0200, Ivano Luberti <ivano.lube...@anche.no> wrote:

Hi all, a quick question on locales management
I want italian as default locale for my application

I have found this in the configuration section:

tapestry.supported-locales

A comma-separated list of supported locales. Incoming requests as
"narrowed" to one of these locales, based on closest match. If no
match can be found, the first locale in the list is treated as the
default.

So I have added in AppModule

configuration.add(SymbolConstants.SUPPORTED_LOCALES, "it,en");

but calling

http://localhost:8080/tutorial1/

I get English.

Calling

http://localhost:8080/tutorial1/it

I get Italian

Calling

http://localhost:8080/tutorial1/fr

I get English


Am I missing something?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to