Print Page | Close Window

bilingual RTE

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=27440
Printed Date: 29 March 2026 at 9:20am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: bilingual RTE
Posted By: icimimi
Subject: bilingual RTE
Date Posted: 07 June 2009 at 8:09am
Hi all,
 
I am new to RTE and I search a way to have the RTE in two languages : French and English, my website being bilingual.
 
I tried several ways to do it and none work, or I have to create two different folders, one RTE_FR and one RTE_EN
 
As soon as the visitor comes on my website, I create a session("lang"), (="FR" by default)
 
But if I write
<% if session("lang")="EN" then %>
HERE the original language code
<% else %>
HERE the FR language code
<% end if %>
 
I have an error with   
WebWizRTEtoolbar('myForm');
and
initialiseWebWizRTE();
 
object not found
 
I don't really understand what can happen... Someone has an idea?
 
Thanks a lot
 
Michelle



Replies:
Posted By: icimimi
Date Posted: 07 June 2009 at 8:50am
In fact, I am discovering that my French file is the problem but I can't see why!
 
If I use the French file alone, I have exactly the same errors.
I used &acute; instead of the  '  character that is often a problem, but it doesn'"t correct the problem.
 
Any idea??? Thanks.


-------------
Michelle


Posted By: icimimi
Date Posted: 07 June 2009 at 9:43am
I have corrected the French file replacing all the special characters.
 
I come back to my initial problem!
 
I cannot use
<% if session("lang")="EN" then %>
HERE the original language code
<% else %>
HERE the FR language code
<% end if %>
 
I still have an error with   
WebWizRTEtoolbar('myForm');
and
initialiseWebWizRTE();
 
object not found
 
Using either the french alone or the english alone works...
 
???
Thanks


-------------
Michelle


Posted By: WebWiz-Bruce
Date Posted: 08 June 2009 at 10:53am
You would need to remove all the 'Const' from both the files. You woudl then need to create a new file with all the variables but with Dim infrom of them.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: icimimi
Date Posted: 08 June 2009 at 11:08am
OK, thanks, I'll do this and tell you the result...Smile

-------------
Michelle



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net