In firefox:

general.useragent.locale = en_US

services.sync.prefs.sync.intl.accept_languages;true
intl.accept_languages;en-US, en
font.language.group;x-western
browser.translation.neverForLanguages;
browser.translation.detectLanguage;false

So my initial request is in English and so Tapestry answer?



Il 07/11/2014 11:02, Thiago H de Paula Figueiredo ha scritto:
> 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
>>
>
>

-- 
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================

Reply via email to