<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Topic: Language changed without any action</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: Language changed without any action</description>
<language>en</language>
<pubDate>Sun, 07 Sep 2008 03:58:36 +0000</pubDate>

<item>
<title>chrishajer on "Language changed without any action"</title>
<link>http://bbpress.org/forums/topic/language-changed-without-any-action#post-18645</link>
<pubDate>Mon, 25 Aug 2008 05:33:23 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">18645@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It's OK to start a new topic for a new problem.&#60;/p&#62;
&#60;p&#62;To change the language, you need to make a change to the bb-config.php file, and you need to install the language files.  There is an Arabic language file shared here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://bbpress.org/forums/topic/check-out-this-very-nice-r-t-l-arabic-bbpress&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/check-out-this-very-nice-r-t-l-arabic-bbpress&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;To install a language file, the instructions are right in that area of bb-config.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Change this to localize bbPress.  A corresponding MO file for the
// chosen language must be installed to bb-includes/languages.
// For example, install de.mo to bb-includes/languages and set BB_LANG to &#38;#39;de&#38;#39;
// to enable German language support.
define(&#38;#39;BB_LANG&#38;#39;, &#38;#39;&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#38;nbsp;&#60;br /&#62;
You put the file (downloaded from Google Code) into the `bb-includes/languages/ directory.  Then enter the name of the file here in between the single quotes for the BB_LANG constant.  For Arabic, I think the file is ar_AR.mo, so your config line would be:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;define(&#38;#39;BB_LANG&#38;#39;, &#38;#39;ar_AR.mo&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;There are more files available at that code.google.com site for an Arabic bbPress. It's actually very nice that someone shared all their work.  Looks like there is a localized version of bbPress there as well, possibly with more items translated that were not translatable with a language file.
&#60;/p&#62;</description>
</item>
<item>
<title>hithamsmadi on "Language changed without any action"</title>
<link>http://bbpress.org/forums/topic/language-changed-without-any-action#post-18643</link>
<pubDate>Mon, 25 Aug 2008 03:14:38 +0000</pubDate>
<dc:creator>hithamsmadi</dc:creator>
<guid isPermaLink="false">18643@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;hi i have website and i want change the languages to Arabic how i can do that
&#60;/p&#62;</description>
</item>
<item>
<title>jetson on "Language changed without any action"</title>
<link>http://bbpress.org/forums/topic/language-changed-without-any-action#post-8054</link>
<pubDate>Thu, 14 Jun 2007 14:52:04 +0000</pubDate>
<dc:creator>jetson</dc:creator>
<guid isPermaLink="false">8054@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I found a solution for this problem. It's a known bug from wordpress because of 64bit systems. Here's the fix:&#60;/p&#62;
&#60;p&#62;Open &#34;bb-includes/gettext.php&#34; and change the following code passage to:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// $MAGIC1 = (int)0x950412de; //bug in PHP 5
    $MAGIC1 = (int) - 1794895138;
    // $MAGIC2 = (int)0xde120495; //bug
    $MAGIC2 = (int) - 569244523;

    $this-&#38;gt;STREAM = $Reader;
    $magic = $this-&#38;gt;readint();
    if ($magic == ($MAGIC1 &#38;#38; 0xffffffff)) {
      $this-&#38;gt;BYTEORDER = 0;
    } elseif ($magic == $MAGIC2) {
      $this-&#38;gt;BYTEORDER = 1;
    } else {
      $this-&#38;gt;error = 1; // not MO file
      return false;
    }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Source: &#60;a href=&#34;http://forum.wordpress-deutschland.org/sprachdatei/24-wordpress-deutscher-sprache-5.html&#34; rel=&#34;nofollow&#34;&#62;http://forum.wordpress-deutschland.org/sprachdatei/24-wordpress-deutscher-sprache-5.html&#60;/a&#62; (German) &#60;/p&#62;
&#60;p&#62;Then it should work!&#60;/p&#62;
&#60;p&#62;Greets,&#60;/p&#62;
&#60;p&#62;jetson
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Language changed without any action"</title>
<link>http://bbpress.org/forums/topic/language-changed-without-any-action#post-8028</link>
<pubDate>Wed, 13 Jun 2007 15:09:10 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">8028@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;There is none. You make this setting in config.php.
&#60;/p&#62;</description>
</item>
<item>
<title>Cyprus on "Language changed without any action"</title>
<link>http://bbpress.org/forums/topic/language-changed-without-any-action#post-8021</link>
<pubDate>Wed, 13 Jun 2007 12:28:54 +0000</pubDate>
<dc:creator>Cyprus</dc:creator>
<guid isPermaLink="false">8021@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Where can Ifind the DB entry?
&#60;/p&#62;</description>
</item>
<item>
<title>jetson on "Language changed without any action"</title>
<link>http://bbpress.org/forums/topic/language-changed-without-any-action#post-7901</link>
<pubDate>Tue, 05 Jun 2007 22:23:36 +0000</pubDate>
<dc:creator>jetson</dc:creator>
<guid isPermaLink="false">7901@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hehe, hi fel64. ;-) Thanks for your reply!&#60;/p&#62;
&#60;p&#62;I just put an underscore at the end of the folder name and it worked.&#60;/p&#62;
&#60;p&#62;Yes, there wasn't any change before concerning my language problem. I tried to switch to the spanish language file but it doesn't get recognized by bbpress, too. No change.
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Language changed without any action"</title>
<link>http://bbpress.org/forums/topic/language-changed-without-any-action#post-7900</link>
<pubDate>Tue, 05 Jun 2007 22:18:24 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">7900@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Dear individual,&#60;/p&#62;
&#60;p&#62;that is strange. What did you change the name of that made it work? &#60;code&#62;my-templates&#60;/code&#62; to what, or was it the name of the forum?&#60;/p&#62;
&#60;p&#62;There is no such DB entry as far as I know.&#60;/p&#62;
&#60;p&#62;There was absolutely no change just before bb switched to english?
&#60;/p&#62;</description>
</item>
<item>
<title>jetson on "Language changed without any action"</title>
<link>http://bbpress.org/forums/topic/language-changed-without-any-action#post-7899</link>
<pubDate>Tue, 05 Jun 2007 20:42:00 +0000</pubDate>
<dc:creator>jetson</dc:creator>
<guid isPermaLink="false">7899@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Dear community,&#60;/p&#62;
&#60;p&#62;today my bbpress just changed its language to english and it seems like it doesn't care about the german language file. I haven't changed the configuration file or something else on the server. Renaming the language file didn't show any results. Yesterday bbPress didn't accept my template-folder, so that I had to change its name and then it worked. &#60;/p&#62;
&#60;p&#62;You can see, there are many strange things happening on my installation. I talked to my server host and he said everything is alright. &#60;/p&#62;
&#60;p&#62;I'm using bbPress 1.0 alpha, but even the stable version, which I installed on the same database, shows the same problem.&#60;/p&#62;
&#60;p&#62;Does anybody have an idea? Is there any database entry which contents the language settings?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;jetson
&#60;/p&#62;</description>
</item>

</channel>
</rss>
