Firefox PHP

Russian language

Posted by NeBuLuS 
EdB
Re: Russian language
June 10, 2005 12:06PM
Hi! I'm using russian 5.0.16 for win-1251 and having following problem: in censor list, the bad words I type in in russian (cyrillic) do not work on forum. Any idea? Thanks, EdB



Edited 1 time(s). Last edit at 06/14/2005 03:54PM by EdB.
Re: Russian language
June 13, 2005 02:34PM
Hi!
Can you tell me, where did you get russian localization for Phorum v. 5.0.16???? Does it exist???? If it does, post here the URL!
Thanks.
Re: Russian language
June 13, 2005 03:28PM
and81 Wrote:
-------------------------------------------------------
> Hi!
> Can you tell me, where did you get russian
> localization for Phorum v. 5.0.16???? Does it
> exist???? If it does, post here the URL!

[phorum.org]

?




---
-=[ Panu ]=-
Re: Russian language
June 17, 2005 04:18PM
EdB Wrote:
-------------------------------------------------------
> Hi! I'm using russian 5.0.16 for win-1251 and
> having following problem: in censor list, the bad
> words I type in in russian (cyrillic) do not work
> on forum. Any idea? Thanks, EdB
>
>
>
> Edited 1 times. Last edit at 06/14/05 02:54PM by
> EdB.


Most likely because the admin section uses another encoding. You must change the encoding not only in the template but also in the admin section when you type. So in your case use windows-1251.

However, if you look at the post Thomas posted a while ago, I would suggest UTF-8 instead. That way others can use the Alhabets as well without problem and your forum is really multilingual.

Sergej

------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Re: Russian language
August 10, 2005 02:59AM
Although I changed my /include/admin/header.php according to /templates/default/header.tpl (which I use), the (Admin) definition of "Scheiß", "Scheiße" etc. as a Bad Word in the Censor List does not show any effect on Message bodies.

What else do I have to check?

PS: Bad words with normal ASCII work fine.
Re: Russian language
August 10, 2005 05:52AM
What does this have to do with the russian language?


Thomas Seifert
Re: Russian language
August 10, 2005 10:37AM
Beats me, maybe Scheiße even happens in Russia :-p

Sergej

------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Re: Russian language
August 29, 2005 08:48AM
I had some troubles with Russian symbols in HTML_HEAD and mail messages.
I resolved it and want to tell about it.

1). use language pack for russian-5.0.13a posted by Vladimir Dyakov
2). in file '/include/admin/header.php' add:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
3).in 'read.php' and 'list.php' comment string:
$PHORUM["DATA"]["HTML_TITLE"] = htmlentities( $PHORUM["DATA"]["HTML_TITLE"] );
'htmlentities' - is useless for russian.
4). need to change MIME header in file 'email_functions.php':
mail($address, $mailsubject, $mailmessage, "X-Mailer: Phorum5$msgid\nFrom: $from_address\nMIME-Version: 1.0\nContent-Type: text/plain; charset=windows-1251\nContent-Transfer-Encoding: 8bit\n");

Will be glad hear anything about it.
Re: Russian language
August 29, 2005 08:54AM
2Banberry - thnx 4u.
kaa
Re: Russian language
August 30, 2005 05:56AM
Banberry Wrote:
-------------------------------------------------------
[skipped]
>
> Will be glad hear anything about it.
>

works smoothly, thanks alot man
Sorry, only registered users may post in this forum.

Click here to login