okay here is what i thought of.
1.
Just like ResourceBundles i world like velocity to look for my templates in
this order.

<basetemplate>+<specific language>+ <specific country>+<specific variant>
<basetemplate>+<specific language>+ <specific country>
<basetemplate>+<specific language>
<basetemplate>
<basetemplate>+<default language>+  <default country>+<default variant>
<basetemplate>+<default language>+  <default country>
<basetemplate>+<default language>

It wouldn't impact preformance because if no locale was defined it world
just get the basetemplate.

I will have a go at it if nobody objects.

2.
This is something for future implementation.
It would really be a pain if you had lets say 10 supported languages and you
wanted to insert a new picture in your template, in the above case you world
have to change all your 10 templatates, so perhaps it should be possible to
associate some ResourceBundles with each template.

- Kasper

----- Original Message -----
From: "Kasper Nielsen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 22, 2000 7:27 PM
Subject: Localization


> Hi,
>
> Are there any plans of including any kinds of localization support in
> velocity?
>
> - Kasper
>
>

Reply via email to