Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Internationalization (v4)
 International language support
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

cap333
Starting Member

5 Posts

Posted - 30 October 2001 :  14:01:10  Show Profile
HI:
I hope this is not a stupid question. I suggest a new category for "International language support." I can do Chineses Big5 translation if I can get permission and a few instructions from snitz forum development team. Thanks!

Cap

<

Deleted
deleted

4116 Posts

Posted - 30 October 2001 :  17:26:41  Show Profile
This forum (DEV Discussions (Internationalization)) is here for this purpose also. Whenever v4.0 (international version) becomes the "current" version, the normal help/support forums will there for the same purpose. Now it is under development, and has support for beta related problems.

I remember the Simplified & Traditional Chinise translation group, I don't know if they are compatible, but you can work with them as a starting point.

This is a freeware open source software, and you are welcome to join and share your work with us afterwards.


Here is QUICK START GUIDE FOR TRANSLATORS, and here is WORKGROUP: Chinese (Traditional)...

Before this make sure to:
1) Download v40b021 from sourceforge
2) Download the patches from my signature

Hope this helpes...


Think Pink
Test Site not ready yet | DL Post v40b02 Files<
Go to Top of Page

Rasco
Advanced Member

Germany
3192 Posts

Posted - 31 October 2001 :  14:54:46  Show Profile  Send Rasco an ICQ Message
http://prdownloads.sourceforge.net/sf2k/sf2k_v40_b03.zip

Is the actual patch file still necessary for V40B03?
Since the link from Snitz starting page was taken away from sourceforge, would be good, if the download can be distributed here somewhere

<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 01 November 2001 :  19:42:01  Show Profile
Hey, I didn't know that it was released. I was waiting for an announcement from the list server about this, or at least a post in the announcements portion of this forum.

Anyway, I'll keep the link on my signature for a couple more days for those who only need to change those files.

Think Pink
Test Site not ready yet | DL Post v40b02 Files<
Go to Top of Page

RusselHarvey
Starting Member

USA
24 Posts

Posted - 02 May 2002 :  03:20:55  Show Profile  Visit RusselHarvey's Homepage  Send RusselHarvey a Yahoo! Message
Not sure this is the right place to ask for support question. In fact, I like to contribute to LANG2052 (CHS) language pack as I could not find one and I am going to make one for myself anyway. The current CHS working group seems to be dead already. It's quite clear what to do after reading the the quick start guide.

However, I do find a problem, I could not see the language drop down list box on my installation of v4.3.4 (with latest patch applied). Am I suppose to modifiy the code to make one? Or some configuration I missed in this 'International' version?


<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 02 May 2002 :  12:01:37  Show Profile
quote:

However, I do find a problem, I could not see the language drop down list box on my installation of v4.3.4 (with latest patch applied). Am I suppose to modifiy the code to make one? Or some configuration I missed in this 'International' version?



Answered you question here: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=18900


Think Pink
==> Start Internationalization Here<
Go to Top of Page

n/a
deleted

593 Posts

Posted - 02 May 2002 :  16:41:09  Show Profile
quote:

Not sure this is the right place to ask for support question. In fact, I like to contribute to LANG2052 (CHS) language pack as I could not find one and I am going to make one for myself anyway. The current CHS working group seems to be dead already. It's quite clear what to do after reading the the quick start guide.

However, I do find a problem, I could not see the language drop down list box on my installation of v4.3.4 (with latest patch applied). Am I suppose to modifiy the code to make one? Or some configuration I missed in this 'International' version?






There is a 2052 version existing out there... This particular version, I believe, is "Big5 to 2052" converted from the original file translated by martopiggus I think. Probably it will be a good idea to take a look at this and add non-translated portions and also amend existing translated portion. The latest Traditional Chinese version you can get from Forum as you know. I have a copy of 2052 version so if you want, I can send it to you.

Although it is in UTF-8 format, you can see this 2052 version deployed in a multilingual forum by Dixon at:

http://www.websitetrans.com/translators/forums2002/

Leorat

--edited by Leorat

Lang2052.zip is sent to you.

Good luck.

LR

Edited by - leorat on 02 May 2002 23:30:17<
Go to Top of Page

RusselHarvey
Starting Member

USA
24 Posts

Posted - 03 May 2002 :  18:38:52  Show Profile  Visit RusselHarvey's Homepage  Send RusselHarvey a Yahoo! Message
Thank you. I've deployed 2052, which is in UTF8 format already. (curious what different 2052 and 2312 as refer to Chinese Simpl. 2052 is from the MS site for LEC, 2312 is display in IE6->Encoding option for Chinese Simpl, whatever)

The problem I am getting is how to display multilanguage as in the site you list above, the drop down won't display character in correct encode. I guess I have to save some file into UTF8 instead of ANSI (original), then which are these files that I have to convert, or all of them? Please hint me. Thank you



<
Go to Top of Page

n/a
deleted

593 Posts

Posted - 03 May 2002 :  19:24:48  Show Profile
Hi

The subject has been covered in Forum previously, but I will recap it here...

I am assuming that you will have English, Simplified Chinese (and perhaps Traditional Chinese) - at least a bilingual or tri-lingual.

You are correct - if you keep locale encoding scheme (ISO/ANSI), then, you will have corrupted display of locale languages when you select English-US (default) and also as you point out, it won't correctly show up in a language selector menu box.

As for a bilingual (EN/JA), I set lang1033.asp encoding to Shift-JIS and lang1041.asp with Shift-JIS, and it works ok. (check http://www26.brinkster.com/leorat2/forum/ - which is fully Shift-JIS for both EN/JA).(This is because JA is extended char sets and contains basic English char sets in it, and assume this is also the case for Chinese.... as CKJ are extended char sets groups).

Using unicode (utf-8) as a base encoding for a multilingual/bilingual forum, you have to do a couple of things.
1. First, you better to have all latest Snitz (V4.03) and its latest patches (check - http://forum.snitz.com/forum/topic.asp?TOPIC_ID=25195)
2. There are two basic changes you have to make to make your forum UTF-8/unicode based:
(a) in config.asp

* Select the DB (make sure you choose one in '## Make sure to uncomment one of the strConnString lines!

* Include langxxx.asp which you need to set up with "#", for example:

===== YOU CAN CUSTOMIZE BELOW THIS LINE ===========================================
Const blnLangSupport = True ' Controls Multi Language Support and the selector in menu. Default: FALSE

'== SINGLE LANGUAGE SUPPORT
' To support only one language, do the following:
' 1. Set the blnLangSupport to FALSE (its around 40 lines above)
' 2. Change the code NNNN (LCID code) in the include LangNNNN.asp below, be sure it exists
' 2. Remove the # signs infront of the include(s) in the
' MULTIPLE SIMULTANEOUS LANGUAGE SUPPORT section below
' NOTE: This is also the default language in Multi Language case
%>
<!--#INCLUDE FILE="Lang1033.asp" -->
<%
'== MULTIPLE SIMULTANEOUS LANGUAGE SUPPORT
' To support two user selectable languages, do the following:
' 1. Set the blnLangSupport to TRUE (its around 10 lines above)
' 2. Put a # sign infront of the include(s) just below
' 3. Change the code NNNN (LCID code) in the alternative Language include LangNNNN.asp below, be sure it exists
if blnLangSupport then
%>
<!--INCLUDE FILE="Lang1055.asp" -->
<!--#INCLUDE FILE="Lang1041.asp" -->
<!--#INCLUDE FILE="Lang1028.asp" -->
<!--#INCLUDE FILE="Lang2052.asp" -->
<!--INCLUDE FILE="Lang1036.asp" -->
<%
'===== DO NOT CHANGE THESE ========================================================

(2) in each langxxxx.asp, including 1033.asp, you have to change:

example:
arrLang (intLangIndexCount,0) = "1028" ' LCID Code
arrLang (intLangIndexCount,1) = "”ษ้“’†•ถ" ' Description of the language
arrLang (intLangIndexCount,2) = "utf-8" ' HTML Content-Type charset definition to be used in Header tag
arrLang (intLangIndexCount,3) = "HKTW|HKTW" ' Country Name (for future use)

*You should have saved each langxxx.asp file as utf-8 code page file.

-------------
This should enable your forum to be able to display whatever languages topics/messages written/posted, displaying language selector languages in each locale/native language, and all respective user interface (per lang selection) displaying selected language messages. In case of 2502 utf-8 you have, you will see some of user interface are not yet translated. Click FAQ and see how it is... (FAQ, Popup_Help, etc. were not translated yet).

---
There are related discussions in the forum, so check further.

Hope this helps. And let me/us know when you have 2502 fully translated.

LR



<
Go to Top of Page

RusselHarvey
Starting Member

USA
24 Posts

Posted - 03 May 2002 :  20:19:50  Show Profile  Visit RusselHarvey's Homepage  Send RusselHarvey a Yahoo! Message
Highly appreciate !

Basically, I'd like to have the forum looks like the link you've posted:
http://www.websitetrans.com/translators/forums2002/ and IE will automatically pick the correct encoding.

I presume the only way this forum can display all these many languages in the drop down language selection list as well as in each locale mode, is to use UTF8, does this sound right?

Regarding your hints: I've done everything you listed except this part:

quote:

(2) in each langxxxx.asp, including 1033.asp, you have to change:

example:
arrLang (intLangIndexCount,0) = "1028" ' LCID Code
arrLang (intLangIndexCount,1) = "”ษ้“’†•ถ" ' Description of the language
arrLang (intLangIndexCount,2) = "utf-8" ' HTML Content-Type charset definition to be used in Header tag
arrLang (intLangIndexCount,3) = "HKTW|HKTW" ' Country Name (for future use)

*You should have saved each langxxx.asp file as utf-8 code page file.




Here I found 2 problems,
1) is the forum front page, how to display the language selection drop down list correct, as here http://www.websitetrans.com/translators/forums2002/ did, when 'English-US' (default) selected, all the Chinese language (both 2052, 1028) show garbage chars (IE is not in utf-8 encoding, I have to manually select it, then 2052 shows OK in the drop down, but 1028 is still garbage no matter what I select from IE encoding).

Is this because all the forum pages coded in ANSI? should I save those all in UTF8 one by one? I mean the default.asp, inc_top.asp, config.asp, etc? (if so, we better make that standard in the release code as this is an International release, isn't it?)

But I don't know, I can't get hold the guy who owns http://www.websitetrans.com/translators/forums2002/ so he/she can enlight me.

2) The Simplified Chinese 2052 pack that you sent me was already saved in UTF8 and translated in UTF8 character, so once I select it from the langugae selection, the forum displays OK, I will go ahead finish the translation work.

But the Trandistion Chinese 1028 that I download from this forum official 1028 pack was coded in big5 and saved in big5, as well translated in big5. These are what it's like in the file:
arrLang (intLangIndexCount,0) = "1028"
arrLang (intLangIndexCount,1) = "”ษ้“’†•ถ"
arrLang (intLangIndexCount,2) = "big5"
arrLang (intLangIndexCount,3) = "HKTW|HKTW"

So, I guess I am out luck with this 1028 pack as it can only be used stand alone without other language in the same forum. Do you have a utf-8 1028 pack? it seems http://www.websitetrans.com/translators/forums2002/ has either gets the utf-8 1028 pack or made it work as the Trandision Chinese mode displays OK (IE automatically pick the locale).





Edited by - RusselHarvey on 04 May 2002 00:04:25<
Go to Top of Page

RusselHarvey
Starting Member

USA
24 Posts

Posted - 03 May 2002 :  22:40:57  Show Profile  Visit RusselHarvey's Homepage  Send RusselHarvey a Yahoo! Message
LeoRat,

I just tested, instead of convert every pages and saved via Notepad to utf-8 format, actually if I only convert lang1033.asp, modify the line:
arrLang (intLangIndexCount,2) = "utf-8"
and saved into utf-8 via notepad, leave the rest of asp files (except any language specific langxxxx.asp, in my opinion should all code in utf-8) as it is, ANSI, as in its original form.

This change will make the 'language selection' drop down list display correctly for any locale language, given the locale language also is coded in utf-8. All languages, including English-US 1033, should use utf-8, this will insure ie's encoding choose the utf-8 in any case, that any combination of different language character, as long as it's in utf-8, will display properly in the forum.

I will still need the 1028 pack in utf-8 character, would you send me one if you have it? Unless there is a way to convert the big5 character to utf-8?

Glad to figure all these out, thanks for all the help from you.


<
Go to Top of Page

n/a
deleted

593 Posts

Posted - 03 May 2002 :  23:52:00  Show Profile
That's correct.

I didn't mention clearly about 1033 in my above post, but that's also implied by langxxx.asp. YOU HAVE TO SET ALL LANGXXX.ASP CODEPAGE WITH UTF-8, and you will have Dixon's world and also mine. (Mine is showing only a few, but other language packs were installed to be activated as needed... for instance, if you look at i2asiaForum again, it now has both Simplified Chinese 2052 (partially complete) and Traditional Chinese (Big-5).

Way to convert and save langxxx.asp file in utf-8 format, go back to
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=26362 and read a discussion on how it's done. It's relatively simple.

I can send you 1028 in utf-8 format.

LR

PS....sent you 1028 big5 in utf8 encode. hope it helps.




Edited by - leorat on 04 May 2002 01:08:52<
Go to Top of Page

RusselHarvey
Starting Member

USA
24 Posts

Posted - 04 May 2002 :  17:50:12  Show Profile  Visit RusselHarvey's Homepage  Send RusselHarvey a Yahoo! Message
Thanks LeoRat, after a few of minor fix, the page looks great, now everything show up as it should be. Check it out, http://pub.webhostme.com/forum

I will go ahead translate the rest of 2052 pack. As you suggected, I could wrap the Chinese Simpl pack and submit to Bozden(?) to be included in official release. I guess I will need to make up a few of graphic file for this pack, is there any standard template for that?


<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 05 May 2002 :  05:25:52  Show Profile
If you send the langpack to me, I'll do my best to check it.

Look here for images: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=17373



Think Pink
==> Start Internationalization Here<
Go to Top of Page

n/a
deleted

593 Posts

Posted - 07 May 2002 :  00:24:16  Show Profile
quote:

Thanks LeoRat, after a few of minor fix, the page looks great, now everything show up as it should be. Check it out, http://pub.webhostme.com/forum

I will go ahead translate the rest of 2052 pack. As you suggected, I could wrap the Chinese Simpl pack and submit to Bozden(?) to be included in official release. I guess I will need to make up a few of graphic file for this pack, is there any standard template for that?






Nice Forum.... congrats!

LR

<
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07