Print Page | Close Window

Multiple Languages

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=19308
Printed Date: 29 March 2026 at 7:40pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Multiple Languages
Posted By: languser
Subject: Multiple Languages
Date 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



Replies:
Posted By: WebWiz-Bruce
Date 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'


Posted By: languser
Date 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


Posted By: voxuanvy
Date Posted: 30 April 2006 at 6:04am
yes, that a good idea


Posted By: nstankovic
Date 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.


Posted By: BrownGhost
Date 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?


Posted By: slayer051
Date Posted: 02 November 2006 at 2:30am
this work? I Need a Multiple Language please let me know I need this !


Posted By: Gando
Date 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


Posted By: javi712
Date Posted: 03 November 2006 at 7:31pm
I agree... a multi-language feature would be a great addtition to WWF. Maybe borg will hear our cries and implemente it in a future version



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