Reply is not in correct language

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
robroy
Posts: 6
Joined: Sun Jan 08, 2006 1:08 pm

Reply is not in correct language

Post by robroy »

Script URL: www.i-zy.net/mboard121
Version of script: most recent
Version of PHP: 4.3
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:

Translated mboard.php to Japanese.
Edited HTML between lines 80- 120.

Write your message below:

New message Form is in Japanese but
"Reply" action still has the Form Headlines in English!

Where can I edit further to correct this?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello robroy

Open the mboard.php file and do a search for the strings (or partial strings) of text which are still in english.

Hint:
Take a look at lines 271 - 444, there are a lot of strings that can be translated there.

Greetings,
Henrie
robroy
Posts: 6
Joined: Sun Jan 08, 2006 1:08 pm

Post by robroy »

Cheers Mate!

Pushed me in the right direction.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hi robroy,

The first lines 80-120 are indeed regular html.
The other lines are inside php functions and are inside variables, so this is somehow different.
I'm not that good at php so i don't know if the japanese characters can be placed inside these variables. Maybe some additional code has to be entered to correctly insert japanese characters.

I searched a bit and think it has something to do with php parsing the multibyte characters. I read this http://www.php.net/manual/en/ref.mbstring.php.
Problem is I think that this is probably causing the problem, but I can not give you a solution.:(
Maybe someone with better understanding of php can.

Greetings,
Henrie
robroy
Posts: 6
Joined: Sun Jan 08, 2006 1:08 pm

Post by robroy »

Henrie

Sorry for my too breif earlier reply.
Your hint did indeed push me in the right direction and I found the remaining area to change. All Hunky Dory now!

My text editor did not show this by color distinction like usual, which had confused me.

Thanks.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello Robroy,

It seems you have edited your message from Sun Jan 15, 2006 3:33 pm.
Now my answer to that post looks a little bit strange, but it answered the question you asked in that post.

But I'm glad you got it working.

Greetings,
Henrie
Locked