| Author |
Topic Search Topic Options
|
languser
Newbie
Joined: 15 April 2006
Status: Offline
Points: 7
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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'
|
 |
languser
Newbie
Joined: 15 April 2006
Status: Offline
Points: 7
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
voxuanvy
Newbie
Joined: 30 April 2006
Location: Vietnam
Status: Offline
Points: 2
|
Post Options
Thanks(0)
Quote Reply
Posted: 30 April 2006 at 6:04am |
|
yes, that a good idea
|
 |
nstankovic
Newbie
Joined: 03 January 2006
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
BrownGhost
Groupie
Joined: 26 November 2002
Status: Offline
Points: 193
|
Post Options
Thanks(0)
Quote Reply
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?
|
 |
slayer051
Newbie
Joined: 14 July 2006
Status: Offline
Points: 21
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 November 2006 at 2:30am |
|
this work? I Need a Multiple Language please let me know I need this !
|
 |
Gando
Groupie
Joined: 30 June 2005
Location: Turkey
Status: Offline
Points: 52
|
Post Options
Thanks(0)
Quote Reply
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 
Regards
GR
|
 |