View Full Version : Language Problems
Dondor
07-23-2006, 02:41 PM
Hi,
I've translated almost entirely the language file and installed it in my language - hebrew, but yet, instead of hebrew all I see is question marks.
How do I fix that?
It's now installed at www.anything.co.il (http://www.anything.co.il)
Have you saved the file using hebrew charset, does your server use that charset too?
Dondor
07-23-2006, 03:30 PM
yes to both.
neurosis4u
07-23-2006, 06:30 PM
Try to change the charset in header etc....
At this time, your index shows me that it puts out charset utf-8
Dondor
07-23-2006, 06:46 PM
that's what I found so wierd.... it shows the language correct in the bar on the right side (where in english it says: " submit a link, latest links & Top Hits", but neither the categories, links or new inputs I use inside the administrative panel (such as name, site description) still doesn't work
neurosis4u
07-23-2006, 07:05 PM
Please tell me, which charset do you use?
Which editor do you use?
try to change in header.tpl the following line_
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Change utf-8 to the charset you are using.
also change in config.php following line:
@ header ('Content-Type: text/html; charset=utf-8');
change utf-8 to your charset.
But, dont forget to backup your files before changing. <--( i know,this warning is a dumb tip*gg)
And, your editor that you are using has to save the edited files in your charset
Dondor
07-23-2006, 07:38 PM
In all the sites I have in Hebrew I use only utf-8, otherwise there many features I cannot use.
Don't you think there's a way I can work around it so I can use the utf-8 encoding?
this is one of the sites: http://www.dobrovin.com
David
07-24-2006, 01:21 AM
It would be good if you could show a live url so we can see what you are talking about (or a screen shot).
Dondor
07-25-2006, 12:13 PM
you can look at http://www.anything.co.il - that's the main page where I installed the script, on the right upper side you can see hebrew fonts in the middle where the categories should appear there's ???????? instead of actual chars.
That's because it cannot translate on the fly.
Have you added category titles in english or hebrew? You should also make sure your database and transaction are running in your charset.
Boby
Dondor
07-25-2006, 01:06 PM
I've tried adding them in Hebrew.
Where do I make these changes? I went in to phpmyadmin and searched for the encoding, everywhere I looked it said: utf_general_ci, should it say something else?
To change DB charset use phpMyAdmin or ask your hoster. Here is also the SQL:
Content visible to registered users only.
There is hebrew_bin and hebrew_general_ci, what are you using?
This post might help you for the transaction between DB and script ;)
http://www.phplinkdirectory.com/forum/showthread.php?p=16720#post16720
Just change this from latin1 to your charset:
Content visible to registered users only.
Don't forget to backup everything up before you change anything.
Dondor
07-27-2006, 11:27 AM
It didn't work for me, apparently I need the utf8_unicode_ci, but my host manager is helping me with that now.
He managed to get the categories names in hebrew, but they still link to a domain.com/_______ instead of domain.com/category and still anything else in the admin panel that I need to change to hebrew just keeps translating back to ????????? instead.
Do you know which file I need to change exactly, I do not think it's the SQL.
I have another question: if I want to update the language file, how do I get it to effect the directory that is already installed? or should it happen automaticaly when I upload the new file?
Dondor
07-29-2006, 10:52 AM
don't jump on my questions.. :) anyone?
TheHaymatlos
09-05-2006, 02:08 PM
Hi All,
include/config.php line 35=
From This
header('Content-Type: text/html; charset=UTF-8');
This to change
header('Content-Type: text/html; charset=iso-8859-9');
templates/header.tpl line 6=
From This
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
This to change
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
lang folder add Turkish Language file tr.php
Later what will i do?
Thanks
mitrik
10-31-2006, 11:09 PM
Upload the files in the archive to your host.
Change permissions on the following file and four folders to 777
include/config.php
temp/
temp/adodb
temp/cache
temp/templates
If the folders do not exist please create them.
sujatashiv
07-23-2007, 07:20 PM
yes it looks that you have translated the whole page in that language.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.