cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hong Gia Dinh <hgd...@sdcgrp.com>
Subject RE: i18n more!!
Date Fri, 29 Nov 2002 11:08:04 GMT
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:kpiroumian@apache.org]
Sent: 27 November 2002 16:58
To: cocoon-users@xml.apache.org
Subject: Re: i18n more!!


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/apache/cocoon/acting/LocaleAction.h
tml for more.

Konstantin

----- Original Message -----
From: Hong Gia Dinh
To: cocoon-users@xml.apache.org
Sent: Wednesday, November 27, 2002 12:54
Subject: 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 know the current language i chose?
can u all tell me?
cheers
GD


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>

Mime
View raw message