Re: i18n

2003-06-25 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

i18n

2003-06-24 Thread Kavitha Ramesh
Hi, I read the following in a documentation: untranslated-text: text used for untranslated keys (default is to output the key name). But when I dont have translations in my messages.xml, i get something like "untranslated-text".Actually it should display the key name.I use IBM Websphere 4.0

Re: i18n not working

2003-06-04 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.1m2

i18n not working

2003-06-03 Thread Mato Mira, Fernando
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. Cocoon version: 2.1m2 Thanks -- Fernando D. Mato Mira [EMAIL PROTECTED] Thomson Dialog www.dialog.com E-MAIL NOTICE

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 before

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

Dynamic i18n catalogs?

2003-03-26 Thread Björn Voigt
Hi cocooners, is it possible to create dynamic catalogues for the i18n-Transformer? I mean XSP or Generator createt catalogues. Thank you Björn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Dynamic i18n catalogs?

2003-03-26 Thread Jens Maukisch
Hi, is it possible to create dynamic catalogues for the i18n-Transformer? I mean XSP or Generator createt catalogues. iirc you can point the catalogue location to a cocoon pipeline which generates your catalogue. hth -- * best regards * Jens Maukisch

Re: Dynamic i18n catalogs?

2003-03-26 Thread Björn Voigt
Jens Maukisch schrieb: Hi, is it possible to create dynamic catalogues for the i18n-Transformer? I mean XSP or Generator createt catalogues. iirc you can point the catalogue location to a cocoon pipeline which generates your catalogue. hth map:match pattern=file-*.xml map:generate

Re[2]: Dynamic i18n catalogs?

2003-03-26 Thread Jens Maukisch
Hi, map:match pattern=file-*.xml map:generate src=file.xml/ map:transform type=i18n map:parameter name=locale value=../locale/ ... Is it possible, to give the i18n-transformer within the pipeline a catalogue location, because I need

i18n namespace attribute in wml output

2003-03-05 Thread Dr. Hans M. Rupp
Hallo! We trying to use Cocoon with the i18n Transformer to generate wml output. We have noticed that the generated wml code contains an i18n namespace attribute. This causes the Nokia Wap toolkit not to recognize the output as wml. How can we configure the i18n Transformer so that no namespace

Re: AW: i18n namespace attribute in wml output

2003-03-05 Thread Joerg Heinicke
If the i18n transformer is the last transformer in the pipe, it has nothing to do with copying elements to the output. It is not Hans' fault, but probably Mr I18n Konstantin's ;-) On the other hand the Nokia's logic is very poor, because it is not correctly namespace aware. What you can do

Re: sitemap and {session:locale} for i18n?

2003-02-27 Thread Enke, Michael
Stephane Amaudruz wrote: First,a s you are using input module, you must ensure that they are declared in your Cocoon.xconf. Second the session input module allows you to access session properties, such as creationTime, id, lastAccessedTime and so on. I think that if you want to access

RE: sitemap and {session:locale} for i18n?

2003-02-26 Thread Stephane Amaudruz
First,a s you are using input module, you must ensure that they are declared in your Cocoon.xconf. Second the session input module allows you to access session properties, such as creationTime, id, lastAccessedTime and so on. I think that if you want to access attribute, you must use the session

sitemap and {session:locale} for i18n?

2003-02-25 Thread Enke, Michael
Hello, I need some help with one issue concerning sitemap configuration: I have this which is working well: map:act type=locale map:read src=abc.xml/ map:transform type=i18n map:parameter name=locale value={locale}/ /map:transform map:serialize/ /map:act Somewhere earlier I created

I18n and DB

2003-02-18 Thread Hong Gia Dinh
Title: I18n and DB Hi all, I am wondering if Cocoon support I18N and DB? I mean if i choose one language for example English and then in page english i input some data and then save to database, the DB then must save this data for english part and then if i type these data but in french

i18n: setting the clients character coding/charset to utf

2003-02-04 Thread leo leonid
is set to ISO-8859-1. Only if I manually select Unicode from the menu everything displays fine. But if I reload the page the coding switches back to ISO-8859-1! I get the same results when calling the cocoon i18n samples page. (tested with Mozilla 1.2 on Mac OSX and Linux) Any ideas how I can force

i18n translation with attributes: 2 questions

2003-01-30 Thread Cyril Vidal
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 attributes. I have basicaly a HTML

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

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Cyril Vidal
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 attributes. I have basicaly a HTML form with a submit button. As described

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Joerg Heinicke
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 attributes. I have basicaly a HTML form with a submit button. As described

Re: i18n + XSLT transformation

2003-01-30 Thread Joerg Heinicke
, but by another way: via the use of i18n Transformer. To translate a static xml file, I've no difficult, and the following except of sitemap.xmap, (supposed I've created a catalogue directory named translation with message_en.xml and message_fr.xml) works well: map:match pattern=try_it

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Cyril Vidal
: 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: input type=submit value=submit i18n:attr=value/ The name is only interesting for DOM

Re: i18n + XSLT transformation

2003-01-30 Thread Cyril Vidal
Thanks for your help Joerg!! Yes, I found a solution to my problem but I can't really explain it... This runs well: map:match pattern=essai1 map:generate src=documents/participants.xml/ map:transform src=stylesheets/participantsINT.xsl type=xslt-with-parameters/ map:transform type=i18n

Re: i18n + XSLT transformation

2003-01-30 Thread Joerg Heinicke
-parameters value=true/ /map:transform map:transform type=i18n/ map:serialize type=html/ /map:match So it should work. Do you really need the request parameters in XSL? Because XSLT is always cached with the passed params, you thwart more or less effective caching. Regards, Joerg Cyril Vidal wrote

RE: FW: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException

2003-01-29 Thread Thomas Haselberger
[mailto:[EMAIL PROTECTED]] Sent: Sonntag, 26. Jänner 2003 03:52 To: [EMAIL PROTECTED] Subject: Re: FW: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException Hello Thomas, once upon the time there was a buggy Xerces version having problem with I18n attributes. We had this problem

i18n + XSLT transformation

2003-01-26 Thread Cyril Vidal
this. Now, I would like to perform exactly the same task, but by another way: via the use of i18n Transformer. To translate a static xml file, I've no difficult, and the following except of sitemap.xmap, (supposed I've created a catalogue directory named translation with message_en.xml

FW: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException

2003-01-25 Thread Thomas Haselberger
another try to get feedback for my problem: -Original Message- From: Thomas Haselberger Sent: Dienstag, 21. Jänner 2003 10:52 To: Cocoon-Users (E-mail) Subject: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException I use cocoon 2.0.4 in tomcat 4.1.18 with j2sdk1.4.0_03

Re: FW: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException

2003-01-25 Thread Joerg Heinicke
Hello Thomas, once upon the time there was a buggy Xerces version having problem with I18n attributes. We had this problem in the Cocoon 2.0.3 release with (I think) Xerces 2.0. After we upgraded the Xerces version everything works ok again. Lines like

Re: Antwort: i18n more!!!!!!!!! :(

2003-01-23 Thread Konstantin Piroumian
RE: Antwort: i18n more! :(Take a look at the i18n samples XSP page (/samples/i18n/simple.xsp) source. There is a form field where you can enter text in any (supported by Java/Xalan) encoding and then get it back on the same page (see Hello Tomcat! message). I've checked that for all

Re: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException

2003-01-22 Thread Konstantin Piroumian
, 2003 12:52 Subject: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException I use cocoon 2.0.4 in tomcat 4.1.18 with j2sdk1.4.0_03. the i18n samples that use i18n:attr work ok, but my i18n transformation throws an ArrayIndexOutOfBoundsException. this is my source xml

Antwort: i18n more!!!!!!!!! :(

2003-01-22 Thread manfred . weigel
come in. (inside the pipeline!!!) cheers manfred [EMAIL PROTECTED] am 22.01.2003 11:59:04 Bitte antworten an [EMAIL PROTECTED]@inet An: [EMAIL PROTECTED] Kopie: Thema: i18n more! :( Hi all I am deploying my application on JBoss 3.0.4 and jdk 1.4 and cocoon 2.0.4 i can set

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

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

2003-01-22 Thread Hong Gia Dinh
Title: RE: Antwort: i18n more! :( Thanks a lot, i applied it with encoding=utf-8 but it just can display some international character!!! some cant!! so .. do you know why and how to fix it?? i changed the encoding to ISO-8859-1 but i can not display any thing!!! does cocoon

i18n problem with i18n:attr : ArrayIndexOutOfBoundsException

2003-01-21 Thread Thomas Haselberger
I use cocoon 2.0.4 in tomcat 4.1.18 with j2sdk1.4.0_03. the i18n samples that use i18n:attr work ok, but my i18n transformation throws an ArrayIndexOutOfBoundsException. this is my source xml: = ?xml version=1.0 encoding=UTF-8

Re: i18n again

2003-01-16 Thread Konstantin Piroumian
Title: i18n again Currently there is no way to do it. It was in my todo list fora long time and probably someday or someone will implement multiple dictionary support (or dictionary include/import) capabilities. I'll take a look at it if I have time. Another possibility is to use

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 fora long time and probably

RE: i18n again

2003-01-15 Thread Hong Gia Dinh
Title: i18n again Thanks. I had a look there and also applied it! I have a question, can i have a common.xml and common_xx.xml including common vocabularies that will be used in many files!! (the example uses aggregate to get it) but in case i dont use aggregate, so how can i use??? (i dont

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

i18n again!!!!

2003-01-13 Thread Hong Gia Dinh
Hi all, I know that we can change language from text, button, attribute now if i want to change image according to languages!!! because some of my images having the text on it!! how can i do that?? with cocoon 2.0.3 ?? because i cant use i18n:when in cocoon 2.0.3 how can i change

i18n again

2003-01-13 Thread Hong Gia Dinh
Title: i18n again Hi all, I have rather large messages files! Can i have any way to define many messages for each language??? My messages_en.xml contains too many data! and i dont want a too large message, because it is very hard to managed and supervised! now i want to separate

RE: Useful directory structure (was AW: i18n with sub sitemaps)

2003-01-13 Thread Hong Gia Dinh
Title: RE: Useful directory structure (was AW: i18n with sub sitemaps) Hi Piroumian I found that you declare that : One thing I'd do for sure: move some of the used resources to the WEB-INF, so they would not be accidentally sent to the user. So, WEB-INF can look like: WEB-INF

Re: i18n again!!!!

2003-01-13 Thread Kim Jelmoni
you can for example: in xml : ?xml version=1.0 encoding=UTF-8? imageheader xmlns:i18n=http://apache.org/cocoon/i18n/2.0; topmenu name=HEADER_CHLOCALE_G i18n:attr=name target=groups.html?locale=de_CH height=7 width=10/ topmenu name=HEADER_CHLOCALE_F i18n:attr=name target=groups.html?locale

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 input value=Search type=submit name=cocoon-action i18n:attr=value/input Actually depending upon the value of Button i.e. Search , i am calling a method, but if i apply

Re: i18n catalogue and sql

2003-01-08 Thread Konstantin Piroumian
to el_data.xml (i have do something similar using a action just like in i18n example from 2.1 version of cocoon but i'm wondering if there is another way to do this without action) Another possibility is to create an InputModule that will act exactly like the LocaleAction, so you'll be able to use

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

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 prefer

RE: i18n in combination with xsp:attribute

2003-01-07 Thread Nico Bekema
Hi, unfortunately that did not help and I am still wondering what is causing this. i18n:text xsp:attribute name=key prefix=i18n myKey /xsp:attribute defaultValue /i18n:text This always results in the defaultValue (myKey is defined) If I look at the an intermediate result using

RE: i18n in combination with xsp:attribute

2003-01-07 Thread Lai, Harry
Hi Nico, You need to use BOTH the prefix and uri attributes. So you should have: xsp:attribute name=key prefix=i18n uri=http://apache.org/cocoon/i18n/2.0; myKey /xsp:attribute Just as a caveat, I haven't actually tried this, but based on the documentation, that should work. =) Harry

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] Subject:RE: i18n in combination with xsp:attribute

Re: i18n catalogue and sql

2003-01-06 Thread Darren Petrie
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 a action just like in i18n example from 2.1 version of cocoon but i'm

i18n in combination with xsp:attribute

2003-01-06 Thread Nico Bekema
Hi, can somebody explain to me why the following piece of xsp does not work i18n:text xsp:attribute name=i18n:key myKey /xsp:attribute defaultValue /i18n:text while this piece does work i18n:text i18n:key=myKey defaultValue /i18n:text I would like to dynamically create the

RE: i18n in combination with xsp:attribute

2003-01-06 Thread Lai, Harry
that helps! Harry -Original Message- From: Nico Bekema [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 4:48 PM To: [EMAIL PROTECTED] Subject: i18n in combination with xsp:attribute Hi, can somebody explain to me why the following piece of xsp does not work i18n:text

i18n Transformation problem

2003-01-05 Thread Murari Dhoot
Hello Friends, I am applying a i18n Transformation on the following button input value=Search type=submit name=cocoon-action i18n:attr=value/input 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 changed

Re: i18n catalogue and sql

2003-01-05 Thread Martin Lüthi
You can use the request parameter like this: map:transform src=stylesheets/mystyle.xsl map:parameter name=use-request-parameters value=true/ map:parameter name=region value={request:locale}/ /map:transform Cheers Martin Cocoon User [EMAIL PROTECTED] writes: i know how to make

Re: i18n catalogue and sql

2003-01-05 Thread Cocoon User
a action just like in i18n example from 2.1 version of cocoon but i'm wondering if there is another way to do this without action) thnx stavros On 5 Jan 2003, Martin Lüthi wrote: You can use the request parameter like this: map:transform src=stylesheets/mystyle.xsl map:parameter name

Re: i18n Transformation problem

2003-01-05 Thread Cocoon User
i have a similar problem solved using child element and not attributes input valuei18n:text i18n:key=key_textsome text/i18n:text/value /input then i have 2 step transformation first i18n transformation to replace i18n tags with the right content secend xslt tranformation to generete

Re: i18n Transformation problem

2003-01-05 Thread Karel Vervaeke
that variable using onclick=this.form.my_var='search' in the submit button. Hello Friends, I am applying a i18n Transformation on the following button input value=Search type=submit name=cocoon-action i18n:attr=value/input Actually depending upon the value of Button i.e. Search , i am

Re: i18n catalogue and sql

2003-01-05 Thread aps olute
In an article by Steve Punte of candlelightsoftware.com, he uses xsl:value-of select=/http:request/http:requestParameters/http:parameter/http:value/ to pickoff input=5 in a url of http://localhost/mypage?input=5 and passed it to a template like this: xsl:call-template name=factorial

Re: i18n catalogue and sql

2003-01-01 Thread Cocoon User
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 document() function, sitemap aggregation, etc. Another possibility is to use separate

xmlform and i18n translation

2003-01-01 Thread Kirchhoff, Lars
could get it, because either the i18n:text or the xf:output element isn't translated correctly, when I tried to position the i18n action within the sitemap. With this I actually get the translation, but the xf:output element isn't transformed correctly. - code

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 document

i18n catalogue and sql

2002-12-28 Thread Cocoon User
hy people i have found very usefull the i18n processing but what happend when you have large text? is it possible for catalogues to retrieve data from an sql server mySQL for example xml page -ID- catalogue -ID- data from SQL thnx stavros

strange output when i use i18n transformation

2002-12-26 Thread Cocoon User
hello people i have a very strange output when i use i18n when i use element i18n:textsomething/i18n:text /element and i ask xsl:value-of select=//element disable-output-escaping=yes/ i get in output: %0D%0A%09%09%09%09%09%09%09%0D%0A%09%09%09%09%09%09%09%09something%0D%0A%09%09%09%09%09%09%09

Re: strange output when i use i18n transformation

2002-12-26 Thread Konstantin Piroumian
From: Cocoon User [EMAIL PROTECTED] hello people i have a very strange output when i use i18n when i use element i18n:textsomething/i18n:text /element and i ask xsl:value-of select=//element disable-output-escaping=yes/ i get in output: %0D%0A%09%09%09%09%09%09%09%0D%0A%09%09%09%09%09

i18n best practice

2002-12-19 Thread Martin Lüthi
Hello The i18n transformer is a great solution for the creation of multilingual content. So far I have found no documentation on how to best implement language change. ATM I see two possibilities: (1) create URL's with ?locale=xx_YY (2) store the state of the actual user locale in the session

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

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 responsible

Re: i18n best practice

2002-12-19 Thread Konstantin Piroumian
! [KP] i18n transformer is not responsible for language selection, it accepts a 'locale' parameter (since C2.0.4) which can be generated by a variety of ways: URI parts, request parameters, retrieved from a DB and of course generated by the LocaleAction. That's what I understood from

i18n - greek sample

2002-12-16 Thread Cocoon User
we have add greek language in i18n refactored sample where can we send all this files to be part of the official i18n refactored samples Stavros Kounis http://www.osmosis.gr - Please check that your question has

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 where

i18n and xmlform combination- HELP

2002-12-11 Thread Hong Gia Dinh
Title: i18n and xmlform combination- HELP -Original Message- From: Hong Gia Dinh Sent: 10 December 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

Re: i18n and xmlform combination- HELP

2002-12-11 Thread Konstantin Piroumian
i18n and xmlform combination- HELPPlease do not use HTML messages! Try to remove the LocaleAction and leave the: map:transform type=i18n / map:parameter name=locale value=vi/ /map:transform if this helps, move the action to the beginning of the matcher and wrap with it all the contents. Do

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 : map:match pattern=* map:act type=WizardAction map:parameter name=xmlform-validator-schema-ns value=http://www.ascc.net/xml

i18n transformer and serializer charset

2002-12-10 Thread Kirchhoff, Lars
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 needed to use the specific charset in the meta tag

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 needed to use

AW: i18n transformer and serializer charset

2002-12-10 Thread Kirchhoff, Lars
-Ursprüngliche Nachricht- Von: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 10. Dezember 2002 18:06 An: [EMAIL PROTECTED] Betreff: Re: i18n transformer and serializer charset From: Kirchhoff, Lars [EMAIL PROTECTED] Hello I'm currently trying to create an application

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

i18n and xmlform combination-HELP

2002-12-09 Thread Hong Gia Dinh
Title: i18n and xmlform combination-HELP could sb explain me why i cant use the message key in the message when i use i18n and xmlform ? i applied the sample in the how-to i18n and xml form for my application but it cant read the message key ? what will the link i will call

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 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

AW: i18n and xmlform combination-HELP

2002-12-09 Thread Kirchhoff, Lars
have you set the {locale} variable correctly or are you sure this working. my sitemap looks like this: - code - map:act type=locale map:transform type=i18n map:parameter name=locale value={locale}/ /map:transform /map:act

i18n and XMLForm declaration in sitemap

2002-12-08 Thread Hong Gia Dinh
Title: i18n and XMLForm declaration in sitemap hello can somebody show me how to declare XMLForm using i18n by calling action (both are actions) in sitemap? thanks a lot much GD

Re: i18n translator and thai support

2002-11-27 Thread Konstantin Piroumian
- Original Message - From: Kirchhoff, Lars [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 12:06 Subject: i18n translator and thai support Hi, I played around with the i18n translator and it worked perfectly for german and english translation. But now I tried

i18n more!!

2002-11-27 Thread Hong Gia Dinh
Title: i18n more!! I 'm a new user in cocoon, I have the case : i have a web site trying to apply cocoon into it. i have 2 languages, english and french now if in one page i choose a language such as 'french' i want all next page from that on will be in french. how can i do that? how can i

AW: i18n more!!

2002-11-27 Thread Kirchhoff, Lars
hi GD, you have to use the i18n Transformer, which sample and documentation is actually very good. try the instruction that can be found here http://xml.apache.org/cocoon/userdocs/transformers/i18n-transformer.html ciao Lars -Ursprungliche Nachricht- Von: Hong Gia Dinh [mailto:[EMAIL

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

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

[doc] New How-To: i18n with XMLForm

2002-11-01 Thread Diana Shannon
A new How-To was just added to the Cocoon cvs. Here are the details: Title: i18n within the XMLForm Framework Author: Mohamed El-Refaey (with German translations provided by Michael Enke) Description: This How-To shows you how to use the i18n for web site internationalization within the XMLForm

Useful directory structure (was AW: i18n with sub sitemaps)

2002-10-08 Thread Majcen, Kurt
-Ursprüngliche Nachricht- Von: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 07. Oktober 2002 16:10 An: '[EMAIL PROTECTED]' Betreff: RE: i18n with sub sitemaps From: Majcen, Kurt [mailto:[EMAIL PROTECTED]] Hi all! Is it possible to tell the i18n transformer to use

i18n with sub sitemaps

2002-10-07 Thread Majcen, Kurt
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-directories. This always creates a wrong path when entering such a sub

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-directories

i18n language choice

2002-10-02 Thread Lorenzo De Sio
Hi, I'm starting some work with the i18n transformer, and I'm facing a problem. I want to choose the i18n language with a sitemap parameter, but passing the locale parameter seems to not work. BTW, Everything works if I choose the language with a query string locale param. Here are a few

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

R: i18n language choice

2002-10-02 Thread Lorenzo De Sio
Hmmm...I'm working with 2.0.3. Actually, I've noticed this behavior: in my example, i18n transformation is not embedded into any LocaleAction; - if I don't pass anything, neither in sitemap, request or session, the client locale is used (I can tell since server is English, clients are Italian

RE: i18n language choice

2002-10-02 Thread Piroumian Konstantin
noticed this behavior: in my example, i18n transformation is not embedded into any LocaleAction; Actually, the LocaleAction is called internally, so it will lookup for a 'locale' in: - request parameters - session attributes - cookies - user's locale (request

Re: R: i18n language choice

2002-10-02 Thread Kim Jelmoni
Try something like (with .. = # levels where you are in the sitemap) to access locale in the session : map:transform type=i18n map:parameter name=locale value={../../locale}/ /map:transform Kim Lorenzo De Sio wrote: Hmmm...I'm working with 2.0.3. Actually, I've noticed

R: i18n language choice

2002-10-02 Thread Lorenzo De Sio
Thanks again :-) L. -Messaggio originale- Da: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] Inviato: mercoledi 2 ottobre 2002 16.46 A: '[EMAIL PROTECTED]' Oggetto: RE: i18n language choice From: Lorenzo De Sio [mailto:[EMAIL PROTECTED]] Hmmm...I'm working with 2.0.3. Yes, you

RE: i18n question

2002-09-25 Thread Piroumian Konstantin
. it causes a nullpointerexception: It should work. The error happens somewhere during XSLT transformation and not the i18n. Try the i18n without XSLT transformation to see if it works. -- Konstantin Original exception : org.apache.avalon.excalibur.xml.xslt.XSLTProcessorException: Exception

RE: using html tag in i18n

2002-09-25 Thread Piroumian Konstantin
From: Kavitha Ramesh [mailto:[EMAIL PROTECTED]] Hi, I have a problem using sup®/sup(which is for ® ) in messages_en.xml and messages_de.xml. I really dont know how to use these tags in messages.xml. If someone knows please help me,,, Unfortunately, in the current implementation

  1   2   3   4   >