FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » What about Vietnamese? :-)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
What about Vietnamese? :-) [message #3243] Fri, 14 June 2002 20:28 Go to next message
thaing is currently offline  thaing   United States
Messages: 8
Registered: May 2002
Karma: 0
Junior Member
Hi there,

May be I will do the translation later but for now I am just look into displaying the body message in Vietnamese.
I can use Unicode (UTF-8) to post the message in Vietnamese but the problem is the display because the HTML header set the charset=ISO-8859-15
--------------------------------------------------------------
<head>
<title>FUD Forum</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-15">
<script language="javascript" src="lib.js"></script>
<link rel="StyleSheet" href="forum.css" type="text/css">
</head>
--------------------------------------------------------------
Is there a way to set the charset=UTF-8 in the headers?

I look at the "Template Editor" under "Admin Control Panel" and under "header.tmpl" and the meta is set by this variable:
{META-CONTENT-LANGUAGE}. I am stucked there.

Please help!

Hmm, Look like it is hardcoded ???

[Updated on: Fri, 14 June 2002 20:58]

Report message to a moderator

Re: What about Vietnamese? :-) [message #3244 is a reply to message #3243] Fri, 14 June 2002 20:52 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
Hi,
no it isn't hardcoded. Unless u specify a different language default is set to English. U may have noticed the location of the msg file which contains all messages the forum may spit out from time to time. in the same folder there's a file called charset. it keeps the encoding for the pages. if u change this to utf-8 it may already work. Search support for multibye characters has already been added in CVS (according to prottoss). In case u don't know the location it's
ur-hidden-directory/template/i18n/english/
after editing the charset file u need to recompile the forum to make changes take effect.

there's also an instruction on how to build ur own translation:
http://fud.prohost.org/forum/msg.php?th=546&start=0

bye Ken

Re: What about Vietnamese? :-) [message #3246 is a reply to message #3243] Fri, 14 June 2002 20:56 Go to previous messageGo to next message
thaing is currently offline  thaing   United States
Messages: 8
Registered: May 2002
Karma: 0
Junior Member
I can cheat by edit the file:
$DEPEND/forums/template/i18n/english/charset
and put UTF-8 there instead of ISO-8859-15

Is there a elegent way to do this?

Thanks in advance
Re: What about Vietnamese? :-) [message #3247 is a reply to message #3244] Fri, 14 June 2002 20:57 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Inside GLOBALS.php change the value of $CHARSET variable to the value you want.

FUDforum Core Developer
Re: What about Vietnamese? :-) [message #3248 is a reply to message #3247] Fri, 14 June 2002 20:59 Go to previous messageGo to next message
thaing is currently offline  thaing   United States
Messages: 8
Registered: May 2002
Karma: 0
Junior Member
I could not find the $CHARSET variable in GLOBAL.php
Re: What about Vietnamese? :-) [message #3249 is a reply to message #3244] Fri, 14 June 2002 21:01 Go to previous messageGo to next message
thaing is currently offline  thaing   United States
Messages: 8
Registered: May 2002
Karma: 0
Junior Member
Yeah, you are right. It's not hardcoded.
Thanks! I just found out about template/i18n/english...

Cools Cools
Re: What about Vietnamese? :-) [message #3890 is a reply to message #3244] Mon, 08 July 2002 21:38 Go to previous messageGo to next message
thaing is currently offline  thaing   United States
Messages: 8
Registered: May 2002
Karma: 0
Junior Member
Hi there,

Just upgraded to the newest version (2.2.1) and the option to recompile the forums gone.(?)
Also both links (Template Editor and Message Editor) brought me to the same page which is "Template Set Selection"

Regards,

Thai Nguyen
Re: What about Vietnamese? :-) [message #3891 is a reply to message #3890] Mon, 08 July 2002 21:54 Go to previous message
thaing is currently offline  thaing   United States
Messages: 8
Registered: May 2002
Karma: 0
Junior Member
thaing wrote on Mon, 08 July 2002 17:38

Hi there,

Just upgraded to the newest version (2.2.1) and the option to recompile the forums gone.(?)
Also both links (Template Editor and Message Editor) brought me to the same page which is "Template Set Selection"

Regards,

Thai Nguyen

All right, the "recompile" is now under "Theme Manager" called "Rebuild Theme"
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how do i delete forum files? - permissions error
Next Topic: How two work with cookies from 2 computers/places
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 13:34:01 GMT 2024

Total time taken to generate the page: 0.02672 seconds