Re: i18n

2003-06-24 Thread Konstantin Piroumian
Take a look at i18n transformer configuration in your sitemap. Probably it defines the 'untranslated-text' parameter which is used instead of the key value.   -- Konstantin - Original Message - From: Kavitha Ramesh To: [EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 18

Re: i18n not working

2003-06-03 Thread Konstantin Piroumian
From: "Mato Mira, Fernando" <[EMAIL PROTECTED]> > > From: Mato Mira, Fernando [mailto:[EMAIL PROTECTED] > > > > I am placing the i18n transformer just before serialization > > and it's not > > working. The namespace > > is declared in the i18n:translate element itself. > > > > Cocoon version: 2.1

RE: i18n not working

2003-06-03 Thread Mato Mira, Fernando
> From: Mato Mira, Fernando [mailto:[EMAIL PROTECTED] > > I am placing the i18n transformer just before serialization > and it's not > working. The namespace > is declared in the i18n:translate element itself. > > Cocoon version: 2.1m2 The transformer does not accept the 2.0 namespace. It has

Re: i18n not working

2003-06-03 Thread Konstantin Piroumian
From: "Mato Mira, Fernando" <[EMAIL PROTECTED]> > Hello > > I am placing the i18n transformer just before serialization and it's not > working. The namespace > is declared in the i18n:translate element itself. Please post the relevant snippet from your XML here. Having i18n transformer just bef

Re: i18n + XSLT transformation

2003-01-30 Thread Joerg Heinicke
I thought both syntaxes were valid, aren't they? Regards, Cyril. - Original Message - From: "Joerg Heinicke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 8:36 PM Subject: Re: i18n + XSLT transformation Hello Cyril, found

Re: i18n + XSLT transformation

2003-01-30 Thread Cyril Vidal
id, aren't they? Regards, Cyril. - Original Message - From: "Joerg Heinicke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 8:36 PM Subject: Re: i18n + XSLT transformation > Hello Cyril, > > found this message j

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Cyril Vidal
IL PROTECTED]> Sent: Thursday, January 30, 2003 8:33 PM Subject: Re: i18n translation with attributes: 2 questions > As I mentioned in my last mail, I guess you must use the "value" > attribute for changing the text on the button: > > > > The name is only inte

Re: i18n + XSLT transformation

2003-01-30 Thread Joerg Heinicke
Hello Cyril, found this message just now (I still have nearly 500 unread Cocoon messages since the weekend). Did you solve the problem? The sitemap looks ok, maybe the namespace declaration in the XSLT is wrong? Joerg Cyril Vidal wrote: Hi, Just to go more deeply into Cocoon's comprehension,

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Joerg Heinicke
As I mentioned in my last mail, I guess you must use the "value" attribute for changing the text on the button: The name is only interesting for DOM processings like document.form[0].elements["name of the form element"]. Regards, Joerg Cyril Vidal wrote: Hello Joerg, Thank you very much fo

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Cyril Vidal
Hello Joerg, Thank you very much for your response. I think I've done what you told me. in my stylesheet: and in my dictionaries french: Soumettre la requête english: Submit the request But unfortunately (I've stopped and restarded Tomcat), I always have the same french message on the butto

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Joerg Heinicke
Hello Cyril, Cyril Vidal wrote: Hi, If some of you would have some tips for these two questions, I would be very grateful: 1°) Under Cocoon 2.0.4 and Windows 2000: I use a i18n Transformer (with french and english dictionnaries), and all's working fine with elements' translation. But not for a

RE: i18n more!!!!!!!!! :(

2003-01-22 Thread Alireza Fattahi
Title: i18n more! :( See: http://www.anassina.com/struts/i18n/i18n.html   -Original Message- From: Hong Gia Dinh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 2:29 PM To: [EMAIL PROTECTED] Subject: i18n more! :(   Hi all I am deploying my appli

Re: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException

2003-01-22 Thread Konstantin Piroumian
A typical parser/classpath problem. You'll find the answer here (scroll to the bottom): http://wiki.cocoondev.org/Wiki.jsp?page=FAQs -- Konstantin - Original Message - From: "Thomas Haselberger" <[EMAIL PROTECTED]> To: "Cocoon-Users (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, January

RE: i18n again

2003-01-16 Thread Hong Gia Dinh
Title: i18n again Thanks a lot GD -Original Message-From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]]Sent: 16 January 2003 16:05To: [EMAIL PROTECTED]Subject: Re: i18n again Currently there is no way to do it. It was in my todo list for a long time and probably

Re: i18n again

2003-01-16 Thread Konstantin Piroumian
o use aggregation of dictionaries and use 'cocoon:/' protocol to specify the catalogue location.   Konstantin - Original Message - From: Hong Gia Dinh To: [EMAIL PROTECTED] Sent: Thursday, January 16, 2003 04:38 Subject: RE: i18n again Thanks. I had a look

RE: i18n again

2003-01-15 Thread Hong Gia Dinh
want to copy and paste common vocabularies in for example search_xx.xml, edit_xx.xml .  . .)   Thanks a lot in advance GD -Original Message-From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]]Sent: 14 January 2003 15:35To: [EMAIL PROTECTED]Subject: Re: i18n again Again

Re: i18n again

2003-01-14 Thread Konstantin Piroumian
Title: i18n again Again, please take a look at i18n samples (either in 2.0.3 or 2.1 versions) and you'll see that it's possible to specify the message catalogue name on pipeline level, so you can have different pipelines using different message catalogues. In i18n samples there are two messag

Re: i18n again!!!!

2003-01-13 Thread Kim Jelmoni
you can for example: in xml : http://apache.org/cocoon/i18n/2.0";> and in message catalog file : images/de.gif On Tue, 2003-01-14 at 04:57, Hong Gia Dinh wrote: > Hi all, > I know that we can change language from text, button, attribute > now if i want to change image accord

Re: i18n catalogue and sql [act howto]

2003-01-08 Thread Konstantin Piroumian
From: "Cocoon User" <[EMAIL PROTECTED]> > > hi konstantin > > i plan to create an action that will create sitiemap variables for > specific request-parameters not for use only with i18n There is already such action in Cocoon: src\java\org\apache\cocoon\acting\RequestParamAction.java But I'd pref

Re: i18n catalogue and sql [act howto]

2003-01-08 Thread Cocoon User
hi konstantin i plan to create an action that will create sitiemap variables for specific request-parameters not for use only with i18n is there any simple action or any howto create an action for cocoon? i need just a point to start form (something for example) thnx stavros On Wed, 8 Jan 200

Re: i18n catalogue and sql

2003-01-08 Thread Konstantin Piroumian
From: "Cocoon User" <[EMAIL PROTECTED]> > hi martin this is a way to send a parameter inside your xsl file (pretty > good) but i need something else > > i want to use a request parameter as a variable inside my sitemap > > example > > if i have http://../...?locale=el > > src="{locale}_data.xml" >

Re: i18n Transformation problem

2003-01-08 Thread Konstantin Piroumian
From: "Murari Dhoot" <[EMAIL PROTECTED]> > Hello Friends, > I am applying a i18n Transformation on the following button > >i18n:attr="value"> > > Actually depending upon the value of Button i.e. "Search" , i am calling a > method, but if i apply i18n transformaion the value of button chang

RE: i18n in combination with xsp:attribute

2003-01-07 Thread Nico Bekema
Hi Harry, you are absolutely right. It's working fine now. thx very much. Nico >>> [EMAIL PROTECTED] 01/07/03 04:53PM >>> From: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 4:53 PM To: '[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>

RE: i18n in combination with xsp:attribute

2003-01-07 Thread Lai, Harry
: Nico Bekema [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 2:37 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: i18n in combination with xsp:attribute Hi, unfortunately that did not help and I am still wondering what is causing this. myKey defaultValue This alwa

RE: i18n in combination with xsp:attribute

2003-01-07 Thread Nico Bekema
defaultValue. Just using: defaultValue does result in the translated text using myKey. thx, Nico >>> [EMAIL PROTECTED] 01/07/03 12:15AM >>> From: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 12:15 AM To: '[EMAIL PROTECTED]'" <[EMAIL PRO

RE: i18n in combination with xsp:attribute

2003-01-06 Thread Lai, Harry
Hi Nico, I believe the problem is in trying to set the namespace via the name attribute. xsp:attribute has two attributes (uri and prefix) for setting the namespace. Go to this page: http://wiki.cocoondev.org/Wiki.jsp?page=XSPSyntax And scroll down to the section on xsp:attribute. Hope that h

Re: i18n catalogue and sql

2003-01-06 Thread Darren Petrie
You can access a request parameter variable inside your sitemap via a matcher or a selector As a matcher--- As a selector--- ..do something ..do something else Hope that answers your question. Darren On Sunday, January 5, 2003, at 03:12 P

Re: i18n catalogue and sql

2003-01-05 Thread aps olute
In an article by Steve Punte of candlelightsoftware.com, he uses to pickoff input=5 in a url of http://localhost/mypage?input=5 and passed it to a template like this: Can anyone perhaps elaborate on how input=5 from that select? what if the the parameters where http

Re: i18n Transformation problem

2003-01-05 Thread Karel Vervaeke
A possible solution for this problem can be found at http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_10148478.html (it's the first page that http://google.com/search?q=javascript+button+pressed gives me :) In short, you add a hidden variable to the form, and you change that variab

Re: i18n Transformation problem

2003-01-05 Thread Cocoon User
i have a similar problem solved using child element and not attributes some text then i have 2 step transformation first i18n transformation to replace i18n tags with the right content secend xslt tranformation to generete the element i want with attributes maybe this can help you

Re: i18n catalogue and sql

2003-01-05 Thread Cocoon User
hi martin this is a way to send a parameter inside your xsl file (pretty good) but i need something else i want to use a request parameter as a variable inside my sitemap example if i have http://../...?locale=el src="{locale}_data.xml" point to el_data.xml (i have do something similar using

Re: i18n catalogue and sql

2003-01-05 Thread Martin Lüthi
You can use the request parameter like this: Cheers Martin Cocoon User <[EMAIL PROTECTED]> writes: > i know how to make a src file selection based to requested url using > matches > > http://./el/test > http://./en/test > > > > > > but how can do somethi

Re: i18n catalogue and sql

2003-01-01 Thread Cocoon User
hi konstantin i know how to make a src file selection based to requested url using matches http://./el/test http://./en/test but how can do something similar using parameter? http:///test?locale=el http:///test?locale=en using {1} or {2} i refer to first or secon

Re: i18n catalogue and sql

2002-12-30 Thread Konstantin Piroumian
From: "Cocoon User" <[EMAIL PROTECTED]> > > hy people > > i have found very usefull the i18n processing > but what happend when you have large text? It's not recommended to use i18n transformer for large texts. There are several other ways to solve that task: use XInclude/CInclude, XSLT with doc

Re: i18n best practice

2002-12-19 Thread Konstantin Piroumian
From: <[EMAIL PROTECTED]> > Thank you Konstantin! Not at all. > > "Konstantin Piroumian" <[EMAIL PROTECTED]> writes: > > My mail application could not open your message correctly due to some error > > in encoding, so my answers are marked by [KP]: > > Gnus wanted to know the encoding style (lati

Re: i18n best practice

2002-12-19 Thread Martin Lüthi
Thank you Konstantin! "Konstantin Piroumian" <[EMAIL PROTECTED]> writes: > My mail application could not open your message correctly due to some error > in encoding, so my answers are marked by [KP]: Gnus wanted to know the encoding style (latin-1), sorry! > [KP] i18n transformer is not responsi

Re: i18n best practice

2002-12-19 Thread Konstantin Piroumian
Hi! My mail application could not open your message correctly due to some error in encoding, so my answers are marked by [KP]: - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 14:22 Subject: i18n best practice Hello The i18n trans

Re: i18n - greek sample

2002-12-16 Thread Konstantin Piroumian
Great! The official way of submiting patches is through Bugzilla, but it'd be faster if you send it directly me by [EMAIL PROTECTED] Please, include also the image of the Greece flag. Konstantin From: "Cocoon User" <[EMAIL PROTECTED]> > > we have add greek language in i18n refactored sample >

Re: i18n and xmlform combination- HELP

2002-12-11 Thread Konstantin Piroumian
2002 15:10 To: '[EMAIL PROTECTED]' Subject: RE: i18n and xmlform combination-HELP I just applied i18n into the XMLForm sample of Cocoon2.1 like this, but it cant apply i18n in sitemap i declare : http://www.ascc.net/xml/

Re: i18n transformer and serializer charset

2002-12-10 Thread Konstantin Piroumian
From: "Kirchhoff, Lars" <[EMAIL PROTECTED]> > Hello > > I'm currently trying to create an application, which should be running > in english, german, thai and several other asian languages. > The i18n transformer is working correctly, but to display the characters > in the correct manner it is need

RE: i18n and xmlform combination-HELP

2002-12-10 Thread Hong Gia Dinh
Title: RE: i18n and xmlform combination-HELP I just applied i18n into the XMLForm sample of Cocoon2.1 like this, but it cant apply i18n in sitemap i declare :         http://www.ascc.net/xml/schematron

RE: i18n and XMLForm declaration in sitemap

2002-12-09 Thread Hong Gia Dinh
Title: RE: i18n and XMLForm declaration in sitemap thanks, i found it!!! -Original Message- From: Josema Alonso [mailto:[EMAIL PROTECTED]] Sent: 09 December 2002 15:34 To: [EMAIL PROTECTED] Subject: Re: i18n and XMLForm declaration in sitemap i18n and XMLForm declaration in

RE: i18n and XMLForm declaration in sitemap

2002-12-09 Thread Hong Gia Dinh
Title: RE: i18n and XMLForm declaration in sitemap as far as i know and found there does not exist that link. could you please recheck it? Thanks -Original Message- From: Josema Alonso [mailto:[EMAIL PROTECTED]] Sent: 09 December 2002 15:34 To: [EMAIL PROTECTED] Subject: Re: i18n

Re: i18n and XMLForm declaration in sitemap

2002-12-09 Thread Josema Alonso
i18n and XMLForm declaration in sitemaphttp://xml.apache.org/cocoon/howto/howto-i18n-xmlform.html ps: please, no HTML email next time, thanks. - Original Message - From: Hong Gia Dinh To: [EMAIL PROTECTED] Sent: Monday, December 09, 2002 8:19 AM Subject: i18n and XMLForm declaration in si

RE: i18n more!!

2002-11-29 Thread Hong Gia Dinh
Title: RE: i18n more!! thnks for u information, it seems  right the way i need. do u have any sample code  to show how to retrieve current user's locale with LocaleAction thnks -Original Message- From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] Sent: 27 November 2002 16:

Re: i18n more!!

2002-11-27 Thread Konstantin Piroumian
i18n more!!Take a look at the LocaleAction. It provides mechanism for setting user's locale for a session, request, in a cookie. And it uses either request parameter or the client's locale or a cookie to determine selected locale for the first time. See http://xml.apache.org/cocoon/apidocs/org/apa

Re: i18n more!!

2002-11-27 Thread Kavitha Ramesh
hi GD, If you want to get a good idea about i18n, go to the welcome page of your cocoon(after cocoon installation, go to the url, http://localhost:8080/cocoon), you have a title Internationalization.Click the link and explore.Also in your cocoon directory you will have a folder i18n, explore that

Re: i18n translator and thai support

2002-11-27 Thread Konstantin Piroumian
Hi! Probably, you are using a wrong editor to edit your dictionary files and it somehow mangles the encoding. I usually use XML Spy to edit this kind of exotic languages and I've successfully edited the Chinese, Japanese and Korean translations (they are in C2.1 only). Regards, Konstantin ---

RE: i18n with sub sitemaps

2002-10-07 Thread Piroumian Konstantin
> From: Majcen, Kurt [mailto:[EMAIL PROTECTED]] > > Hi all! > > Is it possible to tell the i18n transformer to use a fixed > catalogue-location from the projects root directory (so > something like '/translations' instead of 'translations') > > I'm working with mounted sitemaps in sub-direct

RE: i18n language choice

2002-10-02 Thread Piroumian Konstantin
something wrong. Anyway, this is fine for me, > since I'm going to store preferences in a session attribute. > > > Thanks again, > > L. > > > -Messaggio originale- > Da: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] > Inviato: mercoledÍ 2 ottobre 2002

RE: i18n language choice

2002-10-02 Thread Piroumian Konstantin
Passing the locale name using a sitemap parameter was added since version 2.0.2 or even 2.0.3. In the older versions the i18n transformer uses LocaleAction's method internally to obtain the locale. Check the sitemap in latest i18n samples (/cocoon/samples/i18n/) - they use LocaleAction to get the

RE: i18n question

2002-09-25 Thread Piroumian Konstantin
> From: Mathias Ochsendorf [mailto:[EMAIL PROTECTED]] > > > > > > > > > > > > /images/test.svg?label_text={0}&label_color={1} > There is no need for wrapper here if don't want to translate the '/images/...' string itself. > > >

Re: i18n question

2002-09-19 Thread Mathias Ochsendorf
Hi list, thanks for your help and advices :) > Sure it will couse a nullpointerexception. First of all you need to to get > from this snip something like this: > > > > > /images/test.svg?label_text=hello&label_color=red > > > > > and than use thi

Re: i18n question

2002-09-18 Thread Ivan Luzyanin
On Wednesday 18 September 2002 17:09, Mathias Ochsendorf wrote: > > > > > > > > > > >/images/test.svg?label_text={0}&label_color={1} >ext> hello > > red > > > > > > > > > > unfortunately this approach doesn't wo

Re: i18n question

2002-09-18 Thread Mathias Ochsendorf
> > > > > >/images/test.svg?label_text={0}&label_color={1} > hello > red > > > > unfortunately this approach doesn't work. it causes a nullpointerexception: Original exception

Re: i18n question

2002-09-18 Thread Ivan Luzyanin
On Tuesday 17 September 2002 19:25, Mathias Ochsendorf wrote: > hi together, > > I'm looking for a way to substitute/translate > the following statement with i18n-transformations: > > > > > > to: > > > Try this way: /images/test.

RE: i18n transformer empty message element ignored?

2002-09-02 Thread Piroumian Konstantin
> From: Dr. Hans M. Rupp [mailto:[EMAIL PROTECTED]] > > Hallo! > > Sometimes we need the behavior, that the i18n transformer replaces > something with nothing. Somehow this does not seem to work. Yes, it doesn't work. A support for empty messages was requested a while ago (from Michael Enke) a

Re: i18n transformer empty message element ignored?

2002-09-02 Thread Joerg Heinicke
The non-breaking space (in XML: & # 160;) is a non whitespace character and should not be removed. Regards, Joerg Dr. Hans M. Rupp wrote: > Hallo! > > Sometimes we need the behavior, that the i18n transformer replaces > something with nothing. Somehow this does not seem to work. > E.g: pre i

RE: i18n transformer problem II

2002-08-26 Thread Piroumian Konstantin
> From: Dr. Hans M. Rupp [mailto:[EMAIL PROTECTED]] > > Ok > > what I get before i18n (using a pre_i18n view) > > TEMPERATURE_CURRENT > this originates from the "master"-stylesheet and is translated by the > transformer correctly. > > further down in the file: > TEMPERATURE_CURRENT > this or

Re: i18n transformer problem II

2002-08-26 Thread Dr. Hans M. Rupp
Ok what I get before i18n (using a pre_i18n view) TEMPERATURE_CURRENT this originates from the "master"-stylesheet and is translated by the transformer correctly. further down in the file: TEMPERATURE_CURRENT this originated from a named template in included stylesheet. This is not translated

Re: i18n key generation with xalan

2002-07-30 Thread Joerg Heinicke
I assume you are trying to use the i18n transformer with Xalan command line version only? It's part of Cocoon, not of Xalan, so it won't work. Or is it only a problem with creating the i18n keys? Then you should provide some more code. Maybe on another list too. Joerg Albert Cervera Areny wro

RE: == I18N question ==

2002-07-29 Thread Alex Romayev
That's excellent! How would I get a copy of that? > From: Alex Romayev [mailto:[EMAIL PROTECTED]] > > Konstantin, > > Thanks for the link to the forest-dev thread. I've > been going back and forth around the 1 vs. many files > issue for a while now. I'm migrating my website from > JSP to Co

RE: == I18N question ==

2002-07-29 Thread Piroumian Konstantin
> From: Alex Romayev [mailto:[EMAIL PROTECTED]] > > Konstantin, > > Thanks for the link to the forest-dev thread. I've > been going back and forth around the 1 vs. many files > issue for a while now. I'm migrating my website from > JSP to Cocoon and looking for a better approach to > what I h

RE: == I18N question ==

2002-07-29 Thread Alex Romayev
Konstantin, Thanks for the link to the forest-dev thread. I've been going back and forth around the 1 vs. many files issue for a while now. I'm migrating my website from JSP to Cocoon and looking for a better approach to what I have at the moment. My website does not use a database -- it's a p

RE: == I18N question ==

2002-07-24 Thread Piroumian Konstantin
> From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > > From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] > > > > I think that this discussion that happened at Forrest > project will help you > > a little: http://marc.theaimsgroup.com/?t=10240438142&r=1&w=2 > > or you can simply do some

RE: == I18N question ==

2002-07-23 Thread Vadim Gritsenko
> From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] > > I think that this discussion that happened at Forrest project will help you > a little: http://marc.theaimsgroup.com/?t=10240438142&r=1&w=2 or you can simply do something (don't know exactly): ... You can even check ex

RE: == I18N question ==

2002-07-23 Thread Piroumian Konstantin
I think that this discussion that happened at Forrest project will help you a little: http://marc.theaimsgroup.com/?t=10240438142&r=1&w=2 -- Konstantin Piroumian [EMAIL PROTECTED] > -Original Message- > From: JИrТme Iffrig [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 22, 2002

RE: i18n inside XSL

2002-07-15 Thread Albert Cervera Areny
Yes, it works! Thank you very much! >> From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] >> >> > From: Albert Cervera Areny [mailto:[EMAIL PROTECTED]] >> > >> > I think I didn't explain it very well. >> > The thing is that I've got an XSL file that calls throw >> > >> > Where $document is a

RE: i18n inside XSL

2002-07-15 Thread Vadim Gritsenko
> From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] > > > From: Albert Cervera Areny [mailto:[EMAIL PROTECTED]] > > > > I think I didn't explain it very well. > > The thing is that I've got an XSL file that calls throw > > > > Where $document is a parameter I give to the stylesheet > > (forg

RE: i18n inside XSL

2002-07-15 Thread Piroumian Konstantin
> From: Albert Cervera Areny [mailto:[EMAIL PROTECTED]] > > I think I didn't explain it very well. > The thing is that I've got an XSL file that calls throw > > Where $document is a parameter I give to the stylesheet > (forget about the > thing of the HTML, it's as you said I can't modify it).

RE: i18n inside XSL

2002-07-15 Thread Albert Cervera Areny
I think I didn't explain it very well. The thing is that I've got an XSL file that calls throw Where $document is a parameter I give to the stylesheet (forget about the thing of the HTML, it's as you said I can't modify it).How would you translate the XML file pointed by $document? >> From: Alb

RE: i18n inside XSL

2002-07-15 Thread Piroumian Konstantin
> From: Albert Cervera Areny [mailto:[EMAIL PROTECTED]] > > Hi, > I've been able to use an HTML file (which I've not designed) as my > stylesheet and in which I call each XML document I want to > process. I > get this XML file as a parameter to the stylesheet. The > thing is now that I'

RE: I18n

2002-07-11 Thread Piroumian Konstantin
> From: Alex Romayev [mailto:[EMAIL PROTECTED]] > > Hi Konstantin, > > Thanks for your help -- it makes sense. On that note, > do you happen to have any good patterns for modeling > I18nised data in both database and XML? I understand, > why you'd want to keep it in the DB, but I would also >

RE: I18n

2002-07-11 Thread Alex Romayev
Hi Konstantin, Thanks for your help -- it makes sense. On that note, do you happen to have any good patterns for modeling I18nised data in both database and XML? I understand, why you'd want to keep it in the DB, but I would also like to exchange my data with other applicatons via the XML. Tha

RE: i18n seems to work, but does not translate

2002-07-11 Thread Piroumian Konstantin
be issued as soon as I have a little time to finish it). Konstantin > > Thank you, best regards > - Volker - > > -Original Message- > From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 11. Juli 2002 13:16 > To: '[EMAIL PROTECTED]' &g

RE: i18n seems to work, but does not translate

2002-07-11 Thread Volker Schneider
mian Konstantin [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 11. Juli 2002 11:04 > To: '[EMAIL PROTECTED]' > Subject: RE: i18n seems to work, but does not translate > > > > From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > > > Dear colleagues,

RE: i18n seems to work, but does not translate

2002-07-11 Thread Piroumian Konstantin
Do you have any other transformations? Try to turn off everything except generator and i18n transformer (serialize as XML) and see what happens. Konstantin > > Best regards > - Volker - > > -Original Message- > From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] > Se

RE: i18n seems to work, but does not translate

2002-07-11 Thread Volker Schneider
s - Volker - -Original Message- From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 11. Juli 2002 11:04 To: '[EMAIL PROTECTED]' Subject: RE: i18n seems to work, but does not translate > From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > Dear colle

RE: i18n seems to work, but does not translate

2002-07-11 Thread Piroumian Konstantin
> From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > Dear colleagues, > > on Windows NT with WebSphere Application Deveolper 4.0.2 we have our > application working. When we deploy it to a Solaris machine > we have the > effect, that i18n seems to work (the log files told us so) > but ther

RE: I18n

2002-07-11 Thread Piroumian Konstantin
> From: Alex Romayev [mailto:[EMAIL PROTECTED]] > > Hi all, > > I'm trying to figure out how to build an > internationalised web site.I've read the documentation > on Cocoon I18n and looked at the samples. I > understand how its dictionary approach works for > lables, messages and instructiona

RE: i18n

2002-07-08 Thread Hahn Kurt (CHA)
Hi, just a wild guess: If you create (actually re-create, because I think that in a standard Cocoon installation, there is already one) a file messages.xml in the same directory and with the same content as messages_en.xml, would that work? Maybe you'll give it a try. I'm not sure at all, but fro

RE: i18n

2002-07-08 Thread Piroumian Konstantin
> From: kavitha ramesh [mailto:[EMAIL PROTECTED]] > > Hi, > > Iam working with i18n in cocoon.I have a page which displays 2 > languages English and German.If I go to the Internet Option and > change the language to arabic , Iam getting an error "Unable to > locate resources:message".Now I w

RE: i18n elements in FileGenerator

2002-06-11 Thread Piroumian Konstantin
The problem comes from the Batik libs that include out of date XML API classes. Either remove org.xml.sax.* classes and directories from batik-*.jar or get it from CVS (2.0.3 already fixed, 2.1 will be ready in a few minutes). -- Konstantin Piroumian [EMAIL PROTECTED] > -Original Message--

RE: i18n where to do it?

2002-05-27 Thread Hahn Kurt (CHA)
In my transformations, I'm using the first method below. Thus, the i18n transformer is the last (or second-last) transformer you have to invoke, after having applied any other transformation in a "language-neutral" way. -Message d'origine- De : Andres, Judith [mailto:[EMAIL PROTECTED]] E

Re: I18n Performance

2002-05-22 Thread Peter Royal
On Wednesday 22 May 2002 09:08 am, Konstantin Piroumian wrote: > As I've said, really cool abstractions (a Bundle and not XMLResourceBundle) > were never been finalized and remained in Avalon scratchpad. Right, I looked at it and it was more complex than I was needing at the time. > Did you use

Re: I18n Performance

2002-05-22 Thread Konstantin Piroumian
From: "Peter Royal" <[EMAIL PROTECTED]> > On Wednesday 22 May 2002 03:24 am, Konstantin Piroumian wrote: > > Btw, I don't think that replacing XMLResourceBundle with a HashMap will > > improve perfomance much in the long run, because the values are stored in a > > HashMap on the first use, so the

Re: I18n Performance

2002-05-22 Thread Peter Royal
On Wednesday 22 May 2002 03:24 am, Konstantin Piroumian wrote: > Btw, I don't think that replacing XMLResourceBundle with a HashMap will > improve perfomance much in the long run, because the values are stored in a > HashMap on the first use, so there should be no much difference. Agreeed. One of

RE: I18n Performance

2002-05-22 Thread Volker Schneider
:35 To: [EMAIL PROTECTED] Subject: Re: I18n Performance From: "Michael Zehrer" <[EMAIL PROTECTED]> > I'm using I18n just for simple translations, no number, date, > currency formatting and just one substitution. My log level is already > "ERROR". > So n

Re: I18n Performance

2002-05-22 Thread Konstantin Piroumian
TED]> Sent: Tuesday, May 21, 2002 10:44 PM Subject: Re: I18n Performance > > But IIRC the I18nTransformer is still not cachable - is he? > > doh! Yes, you're correct. (I'm using my own bastardization of the standard > I18nTransformer over here. Cacheable + very fast sinc

RE: I18n Performance

2002-05-21 Thread Stephen Ng
I think it would be swell if any transformer was cacheable, and the cache was controllable from the sitemap; e.g. SQLTransformer. > -Original Message- > From: Peter Royal [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 21, 2002 3:15 PM > To: [EMAIL PROTECTED] > Su

Re: I18n Performance

2002-05-21 Thread Peter Royal
On Tuesday 21 May 2002 02:44 pm, Torsten Curdt wrote: > Ages ago I proposed some changes on having a more abstract resource bundle > (we'd like serve our from db) which has a last modified stamp so we can > easily implement cacheable... but time you know ;-) I have 1/2 that :) We have bundles on

Re: I18n Performance

2002-05-21 Thread Michael Zehrer
How would I do this? Michael Am Die, 2002-05-21 um 19.02 schrieb Peter Royal: > On Tuesday 21 May 2002 11:50 am, Michael Zehrer wrote: > > I'm using I18n just for simple translations, no number, date, > > currency formatting and just one substitution. My log level is already > > "ERROR". > > So

Re: I18n Performance

2002-05-21 Thread Torsten Curdt
> > But IIRC the I18nTransformer is still not cachable - is he? > > doh! Yes, you're correct. (I'm using my own bastardization of the standard > I18nTransformer over here. Cacheable + very fast since i replaced the > XMLResoruceBundles with some hashmaps. Its on my list to package up + > donate ba

Re: I18n Performance

2002-05-21 Thread Peter Royal
On Tuesday 21 May 2002 01:59 pm, Torsten Curdt wrote: > On Tuesday 21 May 2002 19:02, Peter Royal wrote: > > On Tuesday 21 May 2002 11:50 am, Michael Zehrer wrote: > > > I'm using I18n just for simple translations, no number, date, > > > currency formatting and just one substitution. My log level

Re: I18n Performance

2002-05-21 Thread Torsten Curdt
On Tuesday 21 May 2002 19:02, Peter Royal wrote: > On Tuesday 21 May 2002 11:50 am, Michael Zehrer wrote: > > I'm using I18n just for simple translations, no number, date, > > currency formatting and just one substitution. My log level is already > > "ERROR". > > So nothing real special here. If I

Re: I18n Performance

2002-05-21 Thread Peter Royal
On Tuesday 21 May 2002 11:50 am, Michael Zehrer wrote: > I'm using I18n just for simple translations, no number, date, > currency formatting and just one substitution. My log level is already > "ERROR". > So nothing real special here. If I take out the I18n transformation, > everything is quite ok

Re: I18n Performance

2002-05-21 Thread Nicola Ken Barozzi
From: "Michael Zehrer" <[EMAIL PROTECTED]> > I'm using I18n just for simple translations, no number, date, > currency formatting and just one substitution. My log level is already > "ERROR". > So nothing real special here. If I take out the I18n transformation, > everything is quite ok, if it's i

RE: I18n Performance

2002-05-21 Thread Michael Zehrer
r a little while and pipeline processing takes very long. The machine is a Sun Netra X1 (500Mhz/2GB RAM) Michael -Ursprüngliche Nachricht- Von: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. Mai 2002 17:26 An: [EMAIL PROTECTED] Betreff: Re: I18n Performance i18

Re: I18n Performance

2002-05-21 Thread Konstantin Piroumian
i18n transformer output too much data into logs, so changing the log level from "DEBUG" to something else should help a lot. Can you provide more info on what is the cause? Are you using number, date, currency formatting? Are you using param substitution? The more info you'll provide the more we

Re: i18n

2002-05-07 Thread Konstantin Piroumian
> Hi, > > I'm wondering what is the preferred use of i18n. I'm developing a > bi-lingual site. > > I've looked at message catalogs, but I don't want to insert all my content > in a single file (of course). You don't have to. You can use as many files as you wish. See latest i18n samples (/samples

  1   2   >