Author |
Topic |
|
TSAloha
Junior Member
USA
151 Posts |
Posted - 10 December 2006 : 12:47:49
|
Unicode/UTF-8 encoding supported V3.4.06 is one approach for supporting multilingual contents in Snitz Forum.
This is a "partial" solution for internationalization/localization of Snitz Forum, but a quick and "clean" way to support multilingual contents with base V3.4.06 codes.
What this does for you? 0. No need to deep tweak codes. 1. You can use locale language input method to create Category (Admin only), Topic Title and description, and contents. 2. Category (only Admin), Topic Title and description, and topic contents can have multilingual texts. 3. Allows Preview and Printer-Friendly to display multilingual contents. 4. As most email support MIME formats, email components "should" work with multilingual texts.
What this approach does not do: 1. Forum U/I and messages (such as FAQ) remains in US English (default language, 1033).
Enabling V3.4.06 with UTF-8 encoding:
To Enable Unicode/UTF-8 encoding support with V3.4.06 base forum:
1. Change inc_header.asp and inc_header_short.asp, with following modifications:
(a) Find the following lines in inc_header.asp and inc_header_short.asp
If strDBType = "" then Response.Write "<html>" & vbNewLine & _ "<head>" & vbNewline & _ "<title>" & strForumTitle & "</title>" & vbNewline
'## START - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
(b) Make change with the following modifications. Change to make is to add & _ at the end of "<title>" ... line and add "<META HTTP-EQUIV=""Content-Type"" content=""text/html; charset=UTF-8"">" & vbNewline
as below:
If strDBType = "" then Response.Write "<html>" & vbNewLine & _ "<head>" & vbNewline & _ "<title>" & strForumTitle & "</title>" & vbNewline & _ "<META HTTP-EQUIV=""Content-Type"" content=""text/html; charset=UTF-8"">" & vbNewline
'## START - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
2. Save files and follow V3.4.06 Installation guide (Readme) for setting up your Unicode/UTF-8 encoding support enabled Snitz Forum V3.4.06!
Here is a link to a PDF file describing the procedure, with some screenshots included: Link
< |
|
|
TSAloha
Junior Member
USA
151 Posts |
Posted - 10 September 2008 : 17:20:50
|
Updating the post regarding: Enabling V3406 with unicode #1
Separate post on this: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=64712
Below is a recap.
There has been some recent discussion on how to enable Snitz Forums 2000 V3406, a current release version, whose default encoding is with ISO 8859-1, Latin-1 Western Europe, with unicode/utf-8 support, and I would like to mention this as a further note on converting V3406 base codes to support utf-8.
If one is to convert a base V3406 with a full unicode/utf-8 support, it is recommended to use an approach discussed in the seprate topic (#2) mentioned above.
Setting your forums with unicode support
In config.asp add: Session.Codepage = 65001 Response.Charset = "utf-8"
above Session.LCID = "1033"
This will enable V3406 to handle utf-8 encoding/charsets while retaining all forum user interface (including Admin Sections) in the base languge of English-US, LCID =1033. Session.LCID can be commented out. For a further discussion on this, please see i18n/l10n with Snitz in my sig link.
Hope this will help.< |
|
|
|
|
Topic |
|
|
|