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 before.


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 forrest.build.xml?


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:
http://casa.che-che.com/blog/2005/05/10/internalization-a-site-using-forrest-07-dev/

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


Cheers,
cheche




Reply via email to