Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Multiple Languages
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Multiple Languages

 Post Reply Post Reply Page  12>
Author
languser View Drop Down
Newbie
Newbie


Joined: 15 April 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote languser Quote  Post ReplyReply Direct Link To This Post Topic: Multiple Languages
    Posted: 15 April 2006 at 7:35am
In 7.x I was using the mod to allow for multiple languages... basicaly I had the language_files\ folder divided up so that images, and strings were broken into \language_folders\en, fr, de, etc.

With the new system, it seems that I can't do that, that thsi mod is effectively worthless and that the language is centrally controlled through an admin interface.

In other words, 8.0 was not written with localization totally in mind.  Am I wrong?  Is there an eas way to get multiple langs going based on the user clicking on a specified link?

Also, it would be really helpful if the ASP files had the codepage set to UTF-8 instead of left for the default. 

Anyway, hope to hear back soon.

Chris
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: 15 April 2006 at 11:10am
Version 8 uses the same language file as in version 7 with just a few more text strings added.

Version 8 also allows you to change the page encoding and text direction even simpler by editing the single file 'includes/browser_page_encoding_inc.asp' and selecting from the list the character encoding that the user wants.

For backward compatibility with older versions the default install uses 'iso-8859-1'
Back to Top
languser View Drop Down
Newbie
Newbie


Joined: 15 April 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote languser Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2006 at 7:19am
I have a multi langauge forum at http://www.Acrocat.com/bbs - you can see from the links in the top right that the user can set the language they want to see.

For example, I put the lanauges_files files in sub folders and replaced the files in language files with similar things like:

<%
'****************************************************************************************
'**
'**  Multi-language MOD by SiC/CYAN for Web Wiz Forum 7.5
'**  ----------------------------------------------------
'**
'**  Edit this file to enable more languages. It's quite easy.
'**  What you need to do is just add a link like "default.asp?lang=chs" to let the forum
'**  users select their prefer language.
'**
'**  Any questions & ideas please mail to sic666@163.com
'**
'**  For the original forum please visit:
'**  http://www.webwiz.net/forum
'**
'****************************************************************************************
%>
<!-- #include file="var_admin_language_file_inc.asp" -->
<%
select case lang
    case "chs"
        '-----------Chinese Simplified-----------
        %><!-- #include file="chs/admin_language_file_inc.asp" --><%
    case "fr"
        '-----------French-----------
        %><!-- #include file="fr/admin_language_file_inc.asp" --><%
    case "br"
        '-----------Portuguese-----------
        %><!-- #include file="br/admin_language_file_inc.asp" --><%
    case "de"
        '-----------German-----------
        %><!-- #include file="de/admin_language_file_inc.asp" --><%
    case "it"
        '-----------Italian-----------
        %><!-- #include file="it/admin_language_file_inc.asp" --><%
    case "es"
        '-----------Spanish-----------
        %><!-- #include file="es/admin_language_file_inc.asp" --><%
    case "fi"
        '-----------Finnish-----------
        %><!-- #include file="fi/admin_language_file_inc.asp" --><%
    case "nl"
        '-----------Dutch-----------
        %><!-- #include file="nl/admin_language_file_inc.asp" --><%
    case "se"
        '-----------Swedish-----------
        %><!-- #include file="se/admin_language_file_inc.asp" --><%
    case "tr"
        '-----------Turkish-----------
        %><!-- #include file="tr/admin_language_file_inc.asp" --><%
    case "jp"
        '-----------Japanese-----------
        %><!-- #include file="jp/admin_language_file_inc.asp" --><%   
    case "ru"
        '-----------Russian-----------
        %><!-- #include file="ru/admin_language_file_inc.asp" --><%
    case "il"
        '-----------Hebrew-----------
        %><!-- #include file="il/admin_language_file_inc.asp" --><%
    case "ar"
        '-----------Arabic-----------
        %><!-- #include file="ar/admin_language_file_inc.asp" --><%
    case "sk"
        '-----------Slovene-----------
        %><!-- #include file="sl/admin_language_file_inc.asp" --><%
    case "gr"
        '-----------Greek-----------
        %><!-- #include file="gr/admin_language_file_inc.asp" --><%       
    case "ro"
        '-----------Romanian-----------
        %><!-- #include file="ro/admin_language_file_inc.asp" --><%       
    case else
        '-----------English-----------
        %><!-- #include file="en/admin_language_file_inc.asp" --><%
end select
%>


My question is with this new forum, would this apprach still sork, or is the only option to have one specific language?

Chris
Back to Top
voxuanvy View Drop Down
Newbie
Newbie


Joined: 30 April 2006
Location: Vietnam
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote voxuanvy Quote  Post ReplyReply Direct Link To This Post Posted: 30 April 2006 at 6:04am
yes, that a good idea
Back to Top
nstankovic View Drop Down
Newbie
Newbie


Joined: 03 January 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote nstankovic Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2006 at 10:15am

It will still work languser...  you may have to hack the mod a bit... i am working on it now.

The language in the admin control interface only controls encoding of the page.  Setting utf-8 should cover most languages.
 
I only use Chinese and English and I encode all my pages as Chinese.  English works under Chinese encoding, but Chinese doesn't work under English encoding.


Edited by nstankovic - 09 May 2006 at 10:19am
Back to Top
BrownGhost View Drop Down
Groupie
Groupie


Joined: 26 November 2002
Status: Offline
Points: 193
Post Options Post Options   Thanks (0) Thanks(0)   Quote BrownGhost Quote  Post ReplyReply Direct Link To This Post Posted: 04 June 2006 at 7:23pm
did you get this to work ?
i need multi language mod for my Version 8.xx
can you help?
Back to Top
slayer051 View Drop Down
Newbie
Newbie


Joined: 14 July 2006
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote slayer051 Quote  Post ReplyReply Direct Link To This Post Posted: 02 November 2006 at 2:30am
this work? I Need a Multiple Language please let me know I need this !
Back to Top
Gando View Drop Down
Groupie
Groupie


Joined: 30 June 2005
Location: Turkey
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gando Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2006 at 11:25am
Hi There,
 
I really need a multiple language forum too.
How can I do that, please help me dear members..
I wish WWF has default multi language fetaure Unhappy
 
Regards
GR
Back to Top
 Post Reply Post Reply Page  12>

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.