Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Language changed without any action


chrishajer
Participant

@chrishajer

It’s OK to start a new topic for a new problem.

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:

check out this very nice R-t-L Arabic bbPress

To install a language file, the instructions are right in that area of bb-config.php:

// 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 'de'
// to enable German language support.
define('BB_LANG', '');

 

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:

define('BB_LANG', 'ar_AR.mo');

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.

Skip to toolbar