RE: i18n locale in Cocoon 2.1
Try this in your sitemap: true true true false and then for example: look into samples of i18n... try do this in the same way. ar > -Original Message- > From: Beat De Martin [mailto:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 11:05 AM > To: [EMAIL PROTECTED] > Subject: RE: i18n locale in Cocoon 2.1 > > I already changed the namespaces. > At the pipeline I use only > ... > > ... > > Maybe I have to use the following: > > > > > > Is this required if I want to use session attribute locale ? > > > > > Check namespace i18n in transformed files. > > Cocoon 2.1 has: http://apache.org/cocoon/i18n/2.1 instead of > > http://apache.org/cocoon/i18n/2.0 > > > > ar > > > > > -Original Message- > > > From: Beat De Martin [mailto:[EMAIL PROTECTED] > > > Sent: Friday, August 08, 2003 10:47 AM > > > To: [EMAIL PROTECTED] > > > Subject: i18n locale in Cocoon 2.1 > > > > > > Hi all > > > I'm using Cocoon 2.1 and I have some problem with translation > > > Until Cocoon 2.0.4 I just set the session attribute locale to the > > desired > > > language and it worked. > > > When I do this in 2.1 it doesn't seem to work. This is an excerpt from > > my > > > logfile: > > > > > > > > > SESSION ATTRIBUTES: > > > > > > PARAM: 'locale' VALUE: 'fr_CH' > > > ... > > > DEBUG (2003-08-08) 10:38.54:938 [core] (/GIS/selektion_gv.html) > > > Thread-17/I18nTransformer: I18nTransformer: using locale de_CH > > > > > > > > > sitemap: > > > > > > > > src="org.apache.cocoon.transformation.I18nTransformer" > > logger="core"> > > > > > > > > location="i18n/translations"/> > > > > name="messages_fehler" > > > location="i18n/translations"/> > > > > > > > > untranslated > > >true > > > > > > > > > Cheers > > > > > > > > > > > > -- > > > COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test > > > -- > > > 1. GMX TopMail - Platz 1 und Testsieger! > > > 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! > > > 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. > > e- > > > Post > > > > > > > > > - > > > 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] > > > > -- > COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test > -- > 1. GMX TopMail - Platz 1 und Testsieger! > 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! > 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e- > Post > > > - > 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]
RE: i18n locale in Cocoon 2.1
Check namespace i18n in transformed files. Cocoon 2.1 has: http://apache.org/cocoon/i18n/2.1 instead of http://apache.org/cocoon/i18n/2.0 ar > -Original Message- > From: Beat De Martin [mailto:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 10:47 AM > To: [EMAIL PROTECTED] > Subject: i18n locale in Cocoon 2.1 > > Hi all > I'm using Cocoon 2.1 and I have some problem with translation > Until Cocoon 2.0.4 I just set the session attribute locale to the desired > language and it worked. > When I do this in 2.1 it doesn't seem to work. This is an excerpt from my > logfile: > > > SESSION ATTRIBUTES: > > PARAM: 'locale' VALUE: 'fr_CH' > ... > DEBUG (2003-08-08) 10:38.54:938 [core] (/GIS/selektion_gv.html) > Thread-17/I18nTransformer: I18nTransformer: using locale de_CH > > > sitemap: > > src="org.apache.cocoon.transformation.I18nTransformer" logger="core"> > > location="i18n/translations"/> > location="i18n/translations"/> > > untranslated >true > > > Cheers > > > > -- > COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test > -- > 1. GMX TopMail - Platz 1 und Testsieger! > 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! > 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e- > Post > > > - > 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]
Re: i18n locale in Cocoon 2.1
Thank you Konstantin One more question: I defined two catalogues, is it possible to use them at the same time, i.e. if one key is not found in catalogue 1 is it possible that Cocoon moves to the catalogue 2 I know with default-catalogue-id I can choose the catalogue but I' like to use both during the same i18n transformation process. untranslated true ... ... > From: "Beat De Martin" <[EMAIL PROTECTED]> > > > > I already changed the namespaces. > > At the pipeline I use only > > ... > > > > ... > > > > Maybe I have to use the following: > > > > > > > > > > > > Is this required if I want to use session attribute locale ? > > Yes, in 2.1 you should externally specify the current locale. This gives > more freedom in locale selection algorythm, but as a drawback - not > backword > compatible. > > Please see 2.1 Changes for more details at: > http://cocoon.apache.org/2.1/changes.html (search for i18n). > > -- Konstantin > > > > > > > > > > Check namespace i18n in transformed files. > > > Cocoon 2.1 has: http://apache.org/cocoon/i18n/2.1 instead of > > > http://apache.org/cocoon/i18n/2.0 > > > > > > ar > > > > > > > -Original Message- > > > > From: Beat De Martin [mailto:[EMAIL PROTECTED] > > > > Sent: Friday, August 08, 2003 10:47 AM > > > > To: [EMAIL PROTECTED] > > > > Subject: i18n locale in Cocoon 2.1 > > > > > > > > Hi all > > > > I'm using Cocoon 2.1 and I have some problem with translation > > > > Until Cocoon 2.0.4 I just set the session attribute locale to the > > > desired > > > > language and it worked. > > > > When I do this in 2.1 it doesn't seem to work. This is an excerpt > from > > > my > > > > logfile: > > > > > > > > > > > > SESSION ATTRIBUTES: > > > > > > > > PARAM: 'locale' VALUE: 'fr_CH' > > > > ... > > > > DEBUG (2003-08-08) 10:38.54:938 [core] (/GIS/selektion_gv.html) > > > > Thread-17/I18nTransformer: I18nTransformer: using locale de_CH > > > > > > > > > > > > sitemap: > > > > > > > > > > > src="org.apache.cocoon.transformation.I18nTransformer" > > > logger="core"> > > > > > > > > > > > location="i18n/translations"/> > > > > > > name="messages_fehler" > > > > location="i18n/translations"/> > > > > > > > > > > > untranslated > > > > true > > > > > > > > > > > > Cheers > > > > > > > > > > > > > > > > -- > > > > COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test > > > > -- > > > > 1. GMX TopMail - Platz 1 und Testsieger! > > > > 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! > > > > 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - > 8. > > > e- > > > > Post > > > > > > > > > > > > > - > > > > 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] > > > > > > > -- > > COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test > > -- > > 1. GMX TopMail - Platz 1 und Testsieger! > > 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! > > 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. > e-Post > > > > > > - > > 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] > -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: i18n locale in Cocoon 2.1
Thanx I'm using now: and it works ! > Try this in your sitemap: > > src="org.apache.cocoon.acting.LocaleAction"> > true > true > true > false > > > > > and then for example: > > > > > > > > > > look into samples of i18n... try do this in the same way. > > ar > > > -Original Message- > > From: Beat De Martin [mailto:[EMAIL PROTECTED] > > Sent: Friday, August 08, 2003 11:05 AM > > To: [EMAIL PROTECTED] > > Subject: RE: i18n locale in Cocoon 2.1 > > > > I already changed the namespaces. > > At the pipeline I use only > > ... > > > > ... > > > > Maybe I have to use the following: > > > > > > > > > > > > Is this required if I want to use session attribute locale ? > > > > > > > > > Check namespace i18n in transformed files. > > > Cocoon 2.1 has: http://apache.org/cocoon/i18n/2.1 instead of > > > http://apache.org/cocoon/i18n/2.0 > > > > > > ar > > > > > > > -Original Message- > > > > From: Beat De Martin [mailto:[EMAIL PROTECTED] > > > > Sent: Friday, August 08, 2003 10:47 AM > > > > To: [EMAIL PROTECTED] > > > > Subject: i18n locale in Cocoon 2.1 > > > > > > > > Hi all > > > > I'm using Cocoon 2.1 and I have some problem with translation > > > > Until Cocoon 2.0.4 I just set the session attribute locale to the > > > desired > > > > language and it worked. > > > > When I do this in 2.1 it doesn't seem to work. This is an excerpt > from > > > my > > > > logfile: > > > > > > > > > > > > SESSION ATTRIBUTES: > > > > > > > > PARAM: 'locale' VALUE: 'fr_CH' > > > > ... > > > > DEBUG (2003-08-08) 10:38.54:938 [core] > (/GIS/selektion_gv.html) > > > > Thread-17/I18nTransformer: I18nTransformer: using locale de_CH > > > > > > > > > > > > sitemap: > > > > > > > > > > > src="org.apache.cocoon.transformation.I18nTransformer" > > > logger="core"> > > > > > > > > > > > location="i18n/translations"/> > > > > > > name="messages_fehler" > > > > location="i18n/translations"/> > > > > > > > > > > > untranslated > > > > true > > > > > > > > > > > > Cheers > > > > > > > > > > > > > > > > -- > > > > COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test > > > > -- > > > > 1. GMX TopMail - Platz 1 und Testsieger! > > > > 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! > > > > 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - > 8. > > > e- > > > > Post > > > > > > > > > > > > > - > > > > 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] > > > > > > > -- > > COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test > > -- > > 1. GMX TopMail - Platz 1 und Testsieger! > > 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! > > 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. > e- > > Post > > > > > > - > > 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] > -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: i18n locale in Cocoon 2.1
I already changed the namespaces. At the pipeline I use only ... ... Maybe I have to use the following: Is this required if I want to use session attribute locale ? > Check namespace i18n in transformed files. > Cocoon 2.1 has: http://apache.org/cocoon/i18n/2.1 instead of > http://apache.org/cocoon/i18n/2.0 > > ar > > > -Original Message- > > From: Beat De Martin [mailto:[EMAIL PROTECTED] > > Sent: Friday, August 08, 2003 10:47 AM > > To: [EMAIL PROTECTED] > > Subject: i18n locale in Cocoon 2.1 > > > > Hi all > > I'm using Cocoon 2.1 and I have some problem with translation > > Until Cocoon 2.0.4 I just set the session attribute locale to the > desired > > language and it worked. > > When I do this in 2.1 it doesn't seem to work. This is an excerpt from > my > > logfile: > > > > > > SESSION ATTRIBUTES: > > > > PARAM: 'locale' VALUE: 'fr_CH' > > ... > > DEBUG (2003-08-08) 10:38.54:938 [core] (/GIS/selektion_gv.html) > > Thread-17/I18nTransformer: I18nTransformer: using locale de_CH > > > > > > sitemap: > > > > > src="org.apache.cocoon.transformation.I18nTransformer" > logger="core"> > > > > > location="i18n/translations"/> > > name="messages_fehler" > > location="i18n/translations"/> > > > > > untranslated > > true > > > > > > Cheers > > > > > > > > -- > > COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test > > -- > > 1. GMX TopMail - Platz 1 und Testsieger! > > 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! > > 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. > e- > > Post > > > > > > - > > 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] > -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: i18n locale in Cocoon 2.1
From: "Beat De Martin" <[EMAIL PROTECTED]> > I already changed the namespaces. > At the pipeline I use only > ... > > ... > > Maybe I have to use the following: > > > > > > Is this required if I want to use session attribute locale ? Yes, in 2.1 you should externally specify the current locale. This gives more freedom in locale selection algorythm, but as a drawback - not backword compatible. Please see 2.1 Changes for more details at: http://cocoon.apache.org/2.1/changes.html (search for i18n). -- Konstantin > > > > > Check namespace i18n in transformed files. > > Cocoon 2.1 has: http://apache.org/cocoon/i18n/2.1 instead of > > http://apache.org/cocoon/i18n/2.0 > > > > ar > > > > > -Original Message- > > > From: Beat De Martin [mailto:[EMAIL PROTECTED] > > > Sent: Friday, August 08, 2003 10:47 AM > > > To: [EMAIL PROTECTED] > > > Subject: i18n locale in Cocoon 2.1 > > > > > > Hi all > > > I'm using Cocoon 2.1 and I have some problem with translation > > > Until Cocoon 2.0.4 I just set the session attribute locale to the > > desired > > > language and it worked. > > > When I do this in 2.1 it doesn't seem to work. This is an excerpt from > > my > > > logfile: > > > > > > > > > SESSION ATTRIBUTES: > > > > > > PARAM: 'locale' VALUE: 'fr_CH' > > > ... > > > DEBUG (2003-08-08) 10:38.54:938 [core] (/GIS/selektion_gv.html) > > > Thread-17/I18nTransformer: I18nTransformer: using locale de_CH > > > > > > > > > sitemap: > > > > > > > > src="org.apache.cocoon.transformation.I18nTransformer" > > logger="core"> > > > > > > > > location="i18n/translations"/> > > > > name="messages_fehler" > > > location="i18n/translations"/> > > > > > > > > untranslated > > > true > > > > > > > > > Cheers > > > > > > > > > > > > -- > > > COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test > > > -- > > > 1. GMX TopMail - Platz 1 und Testsieger! > > > 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! > > > 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. > > e- > > > Post > > > > > > > > > - > > > 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] > > > > -- > COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test > -- > 1. GMX TopMail - Platz 1 und Testsieger! > 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! > 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post > > > - > 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]