Re: Using browser headers for i18n? (was: Per-project i18n LocaleAction and LocaleMatcher configuration)

2006-05-24 Thread Bertrand Delacretaz
On 5/24/06, Juan Jose Pablos [EMAIL PROTECTED] wrote: ...WDYT?... I'll be offline for the next few days, won't look at this before Monday. -Bertrand

Re: Using browser headers for i18n? (was: Per-project i18n LocaleAction and LocaleMatcher configuration)

2006-05-23 Thread Bertrand Delacretaz
Hi Cheche, On 5/23/06, Juan Jose Pablos [EMAIL PROTECTED] wrote: ...Bertrand Delacretaz wrote: I'm preparing a simple patch against the trunk, to make i18n more consistent, mostly by using a single definition of the LocaleAction and LocaleMatcher, in the main sitemap. Back in 2003 the were

Re: Dispatcher and i18n (Was: ForrestBot build for forrest-sample-2 FAILED)

2006-05-23 Thread Bertrand Delacretaz
On 5/23/06, David Crossley [EMAIL PROTECTED] wrote: It seems that the Dispatcher doesn't handle the recent i18n changes. Or perhaps the switching of the default to true... I'm not familiar with the Dispatcher, but disabling i18n by default (in fresh-site), if needed to work around this

Using browser headers for i18n? (was: Per-project i18n LocaleAction and LocaleMatcher configuration)

2006-05-22 Thread Bertrand Delacretaz
Hi devs, I'm preparing a simple patch against the trunk, to make i18n more consistent, mostly by using a single definition of the LocaleAction and LocaleMatcher, in the main sitemap. This allows the locale to be selected reliably by a request parameter (?locale=fr for example), whereas in the

Re: Using browser headers for i18n?

2006-05-22 Thread Bertrand Delacretaz
On 5/22/06, Sjur Moshagen [EMAIL PROTECTED] wrote: ...I would like to have *both* browser-supplied header as locale selection *and* explicit selection (where the explicit selection should override the browser-supplied one) Yes, that's the ideal solution, and I think it will work with my

Re: Using browser headers for i18n? (was: Per-project i18n LocaleAction and LocaleMatcher configuration)

2006-05-22 Thread Bertrand Delacretaz
On 5/22/06, David Crossley [EMAIL PROTECTED] wrote: ...committers from the Cocoon project such as Bertrand have commit access here. We hope that that encourages productivity... Oh you're right, I didn't use this until now and forgot about this option. So yes, I'll commit it my changes when

[jira] Created: (FOR-887) Make i18n more consistent

2006-05-22 Thread Bertrand Delacretaz (JIRA)
Make i18n more consistent - Key: FOR-887 URL: http://issues.apache.org/jira/browse/FOR-887 Project: Forrest Type: Improvement Components: Internationalisation (i18n) Versions: 0.8-dev Reporter: Bertrand Delacretaz

[jira] Created: (FOR-888) Per-project i18n configuration (default locale, use Accept-Language, etc.)

2006-05-22 Thread Bertrand Delacretaz (JIRA)
: Internationalisation (i18n) Versions: 0.8-dev Reporter: Bertrand Delacretaz Priority: Minor LocaleAction and LocaleMatcher are now (after the changes of FOR-887) configured at a single point in the main sitemap, but there's no way to override their settings from a project file

[jira] Commented: (FOR-887) Make i18n more consistent

2006-05-22 Thread Bertrand Delacretaz (JIRA)
[ http://issues.apache.org/jira/browse/FOR-887?page=comments#action_12412797 ] Bertrand Delacretaz commented on FOR-887: - The result is that switching languages works more consistently, i.e. on a forrest seed fresh site: index.html index.html

Re: Using browser headers for i18n? (was: Per-project i18n LocaleAction and LocaleMatcher configuration)

2006-05-22 Thread Bertrand Delacretaz
On 5/22/06, David Crossley [EMAIL PROTECTED] wrote: ...When you are happy with it just apply it... Done, see http://issues.apache.org/jira/browse/FOR-887 for the details. Feel free to revert anything you don't like, or yell and I'll do it. Also, if would be good for a native German speaker

Per-project i18n LocaleAction and LocaleMatcher configuration

2006-05-19 Thread Bertrand Delacretaz
Hi, I'd like to make the i18n action and matcher settings (see [1] and [2] for a list of their options) configurable in forrest.properties. This would allow for different ways of specifying the current locale: URL, request parameter, browser config, etc. Question is, do you already have a

Re: Recommendations for URL-based i18n like at www.verit.de?

2006-05-19 Thread Bertrand Delacretaz
On 5/19/06, Ross Gardler [EMAIL PROTECTED] wrote: ...I guess, since David has you up and running with this use case we will put the improvement if i18n handling on hold. Current solution works for you and I am limited on time right now... I think my use-case will work fine once the i18n stuff

Re: Per-project i18n LocaleAction and LocaleMatcher configuration

2006-05-19 Thread Bertrand Delacretaz
On 5/19/06, Ross Gardler [EMAIL PROTECTED] wrote: ...Basically, you need to create a forrest.properties.xml file, you can see and example in the Daisy plugin in the whiteboard. You can add whatever properties you want to this file and they will be axposed in the sitemap just like any other

Re: Recommendations for URL-based i18n like at www.verit.de?

2006-05-18 Thread Bertrand Delacretaz
On 5/18/06, David Crossley [EMAIL PROTECTED] wrote: ...I gave a general reply on the user list. http://article.gmane.org/gmane.text.xml.forrest.user/3620.. Thanks! I've read it all now. The i18n support seems to work indeed in V0.7, but it's not currently working for me in trunk. Failure

[jira] Commented: (FOR-883) i18n broken: perhaps locationmap

2006-05-18 Thread Bertrand Delacretaz (JIRA)
[ http://issues.apache.org/jira/browse/FOR-883?page=comments#action_12412488 ] Bertrand Delacretaz commented on FOR-883: - That did it, a fresh seeded site works now with project.i18n=true. Thanks! i18n broken: perhaps locationmap

Re: Recommendations for URL-based i18n like at www.verit.de?

2006-05-17 Thread Bertrand Delacretaz
(moving this from the user@ list here) On 5/17/06, Ross Gardler [EMAIL PROTECTED] wrote: ...I've been wanting to improve the i18n support for some time. By using the locationmap it should be possible to simulate the Apache httpd magic in a static environment. But it would requrie a little work.