MapTools.org

[Chameleon] language change

Debbie Pagurek pagurekd@agr.gc.ca
Tue, 23 Mar 2004 17:18:59 -0500
This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=_36171BC9.80E18041
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi all, 
can anyone give me some pointers on how to use the language widget?

<cwc2 type="language">
<language name="en-CA"/>
<language name="fr-CA"/>
</cwc2>

What are the supporting things needed to make this work?

I would like to switch between english and french.  What else needs to
be in my template files (both the english and french .html files) to
make the switch happen?  I see that there is a function
CWCSetLanguage(szTmpLanguage)  in the cwcjsapi.js file - do I need to
use this?  And if so, how?  I'm not sure if that .js file is for the old
CWC2 product or not.

Please, anyone who can provide info for me on how to switch language
templates, I'd really appreciate the help.

Thanks,
D. Pagurek

--=_36171BC9.80E18041
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Description: HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px">
<DIV>Hi all, </DIV>
<DIV>can anyone give me some pointers on how to use the language widget?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;cwc2 type="language"&gt;<BR>&lt;language 
name="en-CA"/&gt;<BR>&lt;language name="fr-CA"/&gt;<BR>&lt;/cwc2&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>What are the supporting things needed to make this work?</DIV>
<DIV>&nbsp;</DIV>
<DIV>I would like to switch between english and french.&nbsp; What else needs to 
be in my template files (both the english and french .html files) to make the 
switch happen?&nbsp; I see that there is a function 
CWCSetLanguage(szTmpLanguage)&nbsp; in the cwcjsapi.js file - do I&nbsp;need to 
use this?&nbsp; And if so, how?&nbsp; I'm not sure if that .js file is for the 
old CWC2 product or not.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please, anyone who can provide info for me on how to switch language 
templates, I'd really appreciate the help.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>D. Pagurek</DIV></BODY></HTML>

--=_36171BC9.80E18041--


This archive was generated by Pipermail.