forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <>
Subject Re: [jira] Commented: (FOR-506) Do not hard-code site-visible message strings in skin files
Date Fri, 10 Jun 2005 07:52:36 GMT
Pedro I. Sanchez wrote:
>>I can not reproduce this. "Forrest site" works for me.
> Are you on Linux or Windows?

debian 3.1

> I don't understand. How can it work for you?

how can it does not work for you?

> This line in sitemap.xmap is the one that determines the catalogue to
> use and as you can see it is not connected at all with the LANG
> environment variable.
no, I do not see why are you making this up.

> <map:parameter name="locale" value="{request:locale}"/>
> It is connected instead to the language selection of your browser which
> doesn't help much with a static site.

Why are you making that statement without knowledge of how it works?
Locale is determined based on diferent parameters with an order, not 
just that one.

>>have you try to issue "export LANG=es" ??????? I think that I told you 
> It's the same. In both cases the execution environment has the variable
> LANG set to the proper value. Anyhow, I tested using the "export" with
> the same results.

> Can you explain why you think 'user.language' does anything when it is
> not defined in

Because is part of the JVM properties and it will define the server 
default language use. So when you try to build a static site the VM 
default locale is used.

Possibly we need to look into the CLI to find out a better way to do 
that, ok, but today that know this can work.

I made some notes here:

if that does not work for you then it is something that is not quite 
right on your enviroment/test


View raw message