Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - bilingual RTE
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum Lockedbilingual RTE

 Post Reply Post Reply
Author
icimimi View Drop Down
Newbie
Newbie
Avatar

Joined: 03 June 2009
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote icimimi Quote  Post ReplyReply Direct Link To This Post Topic: bilingual RTE
    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
Back to Top
icimimi View Drop Down
Newbie
Newbie
Avatar

Joined: 03 June 2009
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote icimimi Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
icimimi View Drop Down
Newbie
Newbie
Avatar

Joined: 03 June 2009
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote icimimi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
icimimi View Drop Down
Newbie
Newbie
Avatar

Joined: 03 June 2009
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote icimimi Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2009 at 11:08am
OK, thanks, I'll do this and tell you the result...Smile
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.