Antonio Gallardo wrote:
>Juan Jose Pablos dijo:
>
>
>>Antonio Gallardo wrote:
>>
>>
>>>Juan Jose Pablos dijo:
>>>
>>>
>>>>I test it with es-ni and it works for me
>>>>
>>>>add project.i18n=true on forrest.properties; forrest run ; change you
>>>>settings on your browser before you go to http://localhost:8888/
>>>>
>>>>
>>>I see. But can I use it with "forrest site" and "forrest webapp"
>>>commands?
>>>
>>>
>>>
>>on cocoon:
>>org/apache/cocoon/environment/commandline/CommandLineRequest.java:
>>public Locale getLocale() { return Locale.getDefault(); }
>>
>>Should use the locale from the JVM but It seems that it is not working
>>for some reason.
>>
>>
>
>Yep. This is why I started the thread. :-D
>
>I already have configured the locale. In cocoon logs I can see it.
>
>Best Regards,
>
>Antonio Gallardo
>
>
After discussion with Cheche at GT, I do plan to improve the config of
the cli.xconf, so that you can specify the locale there, and build your
URI to include the locale.
But I won't be able to do that for a while. I'm off for a week, and have
other projects planned first.
Regards, Upayavira
|