Roller Team,

One of the things we focused in our product development for Roller was
support for caching using reverse proxies. Most of the changes are quite
straight-forward and I should be proposing them soon for your approval
if you would like them put in the trunk or 4.0 branch.

There's one issue pending and that's the language translation of blog
messages (meaning which .properties file we load to translate UI for the
user). We can obtain the locale from the request, the problem is in the
reverse proxy and its inability to differentiate from just the URL that
the blog contents are actually different. We could use a Vary header and
set the value to Content-Language or whatever the right header is, but
not all browsers respect the Vary header. One of the solutions is to
simply use a different URL for each language.

/eliast/entry/hello+world

/eliast/es/entry/hello+world

The problem though is that we already use the lang segment in our url
structure but for something a bit different if I understand it
correctly. Basically, we use "es" as a filter to which entries can
appear on that page/feed/etc instead of which language is use to
translate the UI. I'd think it might make more sense to do something
like this:

/eliast/es/entry/hello+world?entry-lang=fr

Meaning to use a query parameter to filter the entries that we want
displayed regardless of the language we are using to render the blog UI.

What do you all think?

-Elias

Reply via email to