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 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 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 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, 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 message 
catalogues: messages_xx.xml and menu_xx.xml and they are used in different 
pipelines.

Konstantin

  - Original Message - 
  From: 
  Hong Gia 
  Dinh 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, January 14, 2003 
  06:32
  Subject: 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 into number of messages such as messages_en_1.xml 
  messages_en_1_1.xml . . . . can i do something like that or can i separate 
  into small files to manage clearer?
  Thanks a lot in advance GD 
  


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 
  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 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 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 
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, 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 message catalogues: messages_xx.xml and menu_xx.xml and they are used 
  in different pipelines.
  
  Konstantin
  
- Original Message - 
From: 
Hong Gia 
Dinh 
To: [EMAIL PROTECTED] 

Sent: Tuesday, January 14, 2003 
06:32
Subject: 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 into number of messages such as messages_en_1.xml 
messages_en_1_1.xml . . . . can i do something like that or can i 
separate into small files to manage clearer?
Thanks a lot in advance GD 



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 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, 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 message 
  catalogues: messages_xx.xml and menu_xx.xml and they are used in different 
  pipelines.
  
  Konstantin
  
- Original Message - 
From: 
Hong Gia Dinh 

To: [EMAIL PROTECTED] 

Sent: Tuesday, January 14, 2003 
06:32
Subject: 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 
into number of messages such as messages_en_1.xml messages_en_1_1.xml . . . 
. can i do something like that or can i separate into small files to manage 
clearer?
Thanks a lot in advance GD 



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 message catalogues: 
messages_xx.xml and menu_xx.xml and they are used in different 
pipelines.

Konstantin

  - Original Message - 
  From: 
  Hong Gia Dinh 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, January 14, 2003 
  06:32
  Subject: 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 into 
  number of messages such as messages_en_1.xml messages_en_1_1.xml . . . . can i 
  do something like that or can i separate into small files to manage 
  clearer?
  Thanks a lot in advance GD 



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 
image as well as i change the text 

Thanks 
a lot
GD


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 into number of messages such as messages_en_1.xml messages_en_1_1.xml . . . . can i do something like that or can i separate into small files to manage clearer?

Thanks a lot in advance
GD





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=fr_CH height=7 width=11/
  topmenu name=HEADER_CHLOCALE_E i18n:attr=name
target=groups.html?locale=en_CH height=7 width=11/
/imageheader

and in message catalog file :

message key=HEADER_CHLOCALE_Gimages/de.gif/message


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 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 image
 as well as i change the text 
  
 Thanks a lot
 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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]