View Full Version : Where to translate PPC?
October 6th, 2005, 04:20 AM
1. I can not use PPC until I will translate it. How to do it? Should I translate english.php file and other in Language section?
2. In category description (and probable wherever) it is not supporting my language coding. I use easter-european language. How to change this? Am not really familiar with language codes etc. Please advise. Thank you.
FYI Vbulletin works flawless with my language symbols. I have translated it totally.
October 6th, 2005, 07:59 AM
Yes you would translate the english.php file etc to your language
You would need to edit pp-inc.php and specify the correct encoding type in the $contentmeta string
October 6th, 2005, 05:30 PM
Ok I have changed it to this:
$contentmeta = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=win-1250\" />";
and still having problem with two specific letters (showing question mark insted of that letters) and also when I write descrtiption for category, it translate the letters (that I see in admin fields) to code (I mean that I do not see my letter but the code instead).
Is not there also some encoding involved with php scripts and/or database?
October 7th, 2005, 05:22 AM
back again, I have changed meta also in adm-inc.php and adm-index.php
So far it works BUT...
Once I do edit category it brings codes again instead of letters and then if I save it - it is saved asi it shows and then also interpreted by browser in wrong "signs".
There are even two steps. First time I edit it shows different letters and save them. Second time I edit category, it shows codes...
This must be some translation during reading from database.... any idea how to get rid of it?
October 7th, 2005, 05:34 AM
although category and category description is showing properly in my language (until I do not edit them - see above post), translation of english.php file is not interpreting my language.
Is there any sort of encoding embeded (kind of) in php file? I have correct meta for charset in html code showing...
October 7th, 2005, 08:50 AM
I cant say what your issue is other than to use the right characterset for the proper language
$contentmeta = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-2\" />";
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.