I wanted to link to this lesser known area of the bbPress site for easier access to the available language translation files:
http://svn.automattic.com/bbpress-i18n/
currently contains:
* bg_BG Bulgarian * ja Japanese
* da_DK Danish * pt_BR Portuguese
* de_DE German * ru_RU Russian
* es_ES Spanish * sk_SK Slovak
* et_EE Estonian * sv_SE Swedish
* fr_FR French * ta_IN Tamil
* id_ID Indonesian * tr Turkish
* it_IT Italian * uz_UZ Uzbek
Here is a local mirror for many more language files for bbPress.
Language files by default are located:
in bbPress 0.9 go into bb-includes/languages/
in bbPress 1.0 they go into my-languages/
You need to make the directory as it does not exist by default.
You can change the default directly by changing BB_LANG_DIR in bb-config.php
Also see:
http://bbpress.org/blog/2006/10/bbpress-international/
http://bbpress.org/forums/topic/are-there-any-localization-files/page/3
http://codex.wordpress.org/Translating_WordPress
http://codex.wordpress.org/WordPress_in_Your_Language
More can be found on bbPress.org under certain tags:
http://bbpress.org/forums/tags/localization
http://bbpress.org/forums/tags/translation
http://bbpress.org/forums/tags/internationalization
http://bbpress.org/forums/tags/i18n
http://bbpress.org/forums/tags/i10n
Last but not least, here's how to localize a plugin or theme:
http://pressedwords.com/6-tips-for-localizing-your-wordpress-plugin/
http://weblogtoolscollection.com/archives/2007/08/27/localizing-a-wordpress-plugin-using-poedit/
The guide is for WordPress but bbPress uses the same method.
If you only have a .mo file and not the .po but wish to add/edit the translations, you can "decompile" and reverse the .mo file into a .po file from the command line with poedit , ie.
"\program files\poedit\bin\msgunfmt" ab_AB.mo > ab_AB.po
While poedit is the most well known there are many programs to edit translations:
- poEdit: Linux, MacOSX, and Windows
- OmegaT is another translation tool that can translate PO files. It is written in Java so it is available for multiple platforms (including GNU/Linux and Windows). It can be downloaded from SourceForge.
- For Mac OS X there is AquaEmacs and a port of GNU Emacs available using carbon for OS X. Also see the Emacs wiki for more usage help and tips. po-mode is not included, but is easy to add. Get it from the GNU gettext distribution.
- GNU Gettext (Linux/Unix) used for the GNU Translation Project. Gettext also provides msgmerge that makes merging translations easy.
- Vim (Linux/Unix and Windows versions available) with PO ftplugin for easier editing of GNU gettext PO files.
- LocFactory Editor (OS X).
- gted is an eclipse plugin that turns eclipse into a gettext editor. Eclipse is written in Java, so this editor is platform independent.
- XEmacs (with po-mode): runs on Unices with X
- GNU Emacs (with po-mode): runs on Unices and Windows
- KBabel: runs on KDE
- Lokalize: the replacement of KBabel in KDE4. Formally known as KAider
- gTranslator: editor for the GNOME 2.x platform