Re: Internationalisation for Woody forms' labels?

2004-05-14 Thread Bruno Dumon
On Fri, 2004-05-14 at 15:26, Derek Hohls wrote:
> Hi
> 
> I'd appreciate some help setting up a form definition such that the
> labels that appear on the form are translated based on context.
> 
> I *assume* its something like:
> 
> In the Form:
> 
>  i18n:key="lbl_name">Name
> 
> Catalog File (say: FormLabels.xml) in a "message" subdirectory:
> 
> 
> 
>Naam
>Wat is jou naam? 
> 
> 
> Sitemap:
> 
>   
> 
> 
>   


(unrelated to your problem)

I wouldn't use the id "forms" for your own messages, as that is what
cforms uses.

In fact, I wouldn't use a catalogue id on your i18n:text tags at all.
Just make your custom catalog the default.

-- 
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]  [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Internationalisation for Woody forms' labels?

2004-05-14 Thread Derek Hohls
Not in Afrikaans, it isn't  ;-)

I really need help with the Cocoon stuff, actually!

Thanks
Derek

>>> [EMAIL PROTECTED] 2004/05/14 03:35:49 PM >>>
Mind you that it is "Wat is jouw naam?" 

If ya need help with Dutch... no problem...
-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED] 
Sent: 14mm2004 15:26
To: [EMAIL PROTECTED] 
Subject: Internationalisation for Woody forms' labels?


Hi

I'd appreciate some help setting up a form definition such that the
labels that appear on the form are translated based on context.

I *assume* its something like:

In the Form:

Name

Catalog File (say: FormLabels.xml) in a "message" subdirectory:



   Naam
   Wat is jou naam? 


Sitemap:

  


  

And in the pipeline for the form:


  

 
  

 

But this does not work when I append the "?locale=it-IT" parameter to
call the form
display from the flow script - what I am I missing??  And is there an
easier way to
do the above - bearing in mind I may have to add more languages later?

Thanks
Derek


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 

-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Internationalisation for Woody forms' labels?

2004-05-14 Thread Marc Portier


[EMAIL PROTECTED] wrote:
Mind you that it is "Wat is jouw naam?" 

If ya need help with Dutch... no problem...
uhuh, better brush up your south-african then :-)
(looking at derek's mail address...)
Derek,

at first glance I think you are missing a "locale" parameter to the i18n 
transformer...



-marc=

-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED]
Sent: 14mm2004 15:26
To: [EMAIL PROTECTED]
Subject: Internationalisation for Woody forms' labels?
Hi

I'd appreciate some help setting up a form definition such that the
labels that appear on the form are translated based on context.
I *assume* its something like:

In the Form:

Name
Catalog File (say: FormLabels.xml) in a "message" subdirectory:



   Naam
   Wat is jou naam? 


Sitemap:

  


  
And in the pipeline for the form:


  

 
  

 

But this does not work when I append the "?locale=it-IT" parameter to
call the form
display from the flow script - what I am I missing??  And is there an
easier way to
do the above - bearing in mind I may have to add more languages later?
Thanks
Derek

--
Marc Portierhttp://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog athttp://blogs.cocoondev.org/mpo/
[EMAIL PROTECTED]  [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Internationalisation for Woody forms' labels?

2004-05-14 Thread robby . pelssers
Mind you that it is "Wat is jouw naam?" 

If ya need help with Dutch... no problem...
-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED]
Sent: 14mm2004 15:26
To: [EMAIL PROTECTED]
Subject: Internationalisation for Woody forms' labels?


Hi

I'd appreciate some help setting up a form definition such that the
labels that appear on the form are translated based on context.

I *assume* its something like:

In the Form:

Name

Catalog File (say: FormLabels.xml) in a "message" subdirectory:



   Naam
   Wat is jou naam? 


Sitemap:

  


  

And in the pipeline for the form:


  

 
  

 

But this does not work when I append the "?locale=it-IT" parameter to
call the form
display from the flow script - what I am I missing??  And is there an
easier way to
do the above - bearing in mind I may have to add more languages later?

Thanks
Derek


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]