You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by jm <gi...@free.fr> on 2003/10/24 16:36:16 UTC
Multilingual sites: intake msg / changing screen path
Hi,
I'm new to Intake AND Turbine and I'm evaluating them.
I'm using the TDK2.2
I'm working with multilingual websites (i.e. sites that are in english, french
and sometimes arabic).
Our old way to build websites uses templates, with error messages embedded in
the template, activated on Error, and switching templates path depending of the
required language.
We produce one template in english and it is sent to be translated in other
languages.
I'm looking to reproduce the same modus operandi under Turbine.
So I have a few questions so far:
1) Is there an easy way to have the Intake message multilingual.
Right now, for what I've understood, the error message is defined
in the intake.xml, without any lang specification.
Can I combine intake.xml with the fulcrum.Localization ?
2) Also, I would like to switch between two different screens with the same name
when I do english (left to right) or arabic (right to left)
The way to do it , I think, would be to have an action changing dynamically the
services.VelocityService.file.resource.loader.path
is it possible ?
Is there a more Turbine-compliant way to deal with multilingual websites ?
Thanks a lot,
--
jm
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Multilingual sites: intake msg / changing screen path
Posted by Loïc QUERAN <lo...@gicm.fr>.
Hi,
Intake.properties defines messages that should be returned if a rule is
violated. If the message you return is a key in your localization property
file, when you print the message, just invoke the localization tool on this
message.
Scarab is an example in which you can find this behavior.
Loïc
On Friday 24 October 2003 02:36 pm, jm wrote:
> Hi,
>
> I'm new to Intake AND Turbine and I'm evaluating them.
> I'm using the TDK2.2
>
> I'm working with multilingual websites (i.e. sites that are in english,
> french and sometimes arabic).
> Our old way to build websites uses templates, with error messages embedded
> in the template, activated on Error, and switching templates path depending
> of the required language.
> We produce one template in english and it is sent to be translated in other
> languages.
> I'm looking to reproduce the same modus operandi under Turbine.
>
> So I have a few questions so far:
>
> 1) Is there an easy way to have the Intake message multilingual.
> Right now, for what I've understood, the error message is defined
> in the intake.xml, without any lang specification.
>
> Can I combine intake.xml with the fulcrum.Localization ?
>
> 2) Also, I would like to switch between two different screens with the same
> name when I do english (left to right) or arabic (right to left)
> The way to do it , I think, would be to have an action changing dynamically
> the services.VelocityService.file.resource.loader.path
> is it possible ?
>
> Is there a more Turbine-compliant way to deal with multilingual websites ?
>
> Thanks a lot,
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org