1 medya Jan 22, 2005 05:17
3 medya Jan 22, 2005 06:04
Oh ! yeah Right now I found out the problem ,
in the Custom Skin's Folder
I had tried to edit the _FeedBack.php but there was nothing there except a link to import the _feedback in the "root" directory .
in fact I had to edit the _Feedback.php in the root skin folder.
thanks !
but still have a problem , when it generates the last comment page
"berreza.medyadaily.com/index.php?disp=comments " this page's encoding (charpset) is
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
for middle eastern languages like Kurdi ,Farsi ,Arabic and... the Unicode (Charpset ) must be :UTF-8
I don't know how we can make , B2 to generate this page in UTF
(i just know a little PHP , can you tell me where should I add this code
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
in that PHP file ? normally in HTML it should be between HEAD, or before Head
)
One day I want to hang glide Kurdistan. During the war I couldn't understand the people who had to watch all the time, but when your mountains started showing up I couldn't stop! I decided if ever I could get me and a hang glider over there I would foot launch it and soar your mountains. Probably never happen - but I can dream!
Thanks for both help and your nice heart !
Kurdistan is always , a freind you westerns , and you always feel welcome here .
and it would be my pleasure to help to tranlate it to Kurdish .
(you can see a my photoblog , contain kurdistan photos ,
www.fonf.medyadaily.com
)
4 edb Jan 22, 2005 06:49
That line comes from _main.php but the actual charset comes from the locale selection.
<meta http-equiv="Content-Type" content="text/html; charset=<?php locale_charset() ?>" />
If you make a Kurdish locale, which you can do in the back office on the settings then regional tab, you could tell it the correct encoding as well as how you want your dates and times displayed. Plus you can add the Kurdish flag if you want. After you make up the locale you would have to set your blog and your profile to use the new locale. I THINK that's all it will take.
You will find the English text displayed in skins/_feedback.php (or possibly skins/skinname/_feedback.php towards the end of the file after
You might consider making a whole new language file. Everything inside a "T_('blah blah blah')" can be translated through a language file. Being an American I figured English was close enough for me so I never bothered learning, but http://b2evolution.net/man/2004/06/16/localization_howto is the instructions for creating a new language file. You will need a free software called poedit and a bit of patience, but once you have the language done it can be included in b2evolution's future releases. I can't imagine the dev team would not include a new language!
One day I want to hang glide Kurdistan. During the war I couldn't understand the people who had to watch all the time, but when your mountains started showing up I couldn't stop! I decided if ever I could get me and a hang glider over there I would foot launch it and soar your mountains. Probably never happen - but I can dream!