Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
How to translate BD for non-English language
Business Directory Support
September 4, 2012 - 3:56 pm
Member Since: July 6, 2011
Forum Posts: 1463
sp_UserOfflineSmall Offline

NOTE: This post has been updated to reflect changes to WP 4.x language handling. Please read carefully!

To translate Business Directory's strings to your native language, OR to change the values of the labels for your own purposes, here is a set of instructions to follow:

1. Make sure BD is installed and working FIRST.

2. Download poEdit for your operating system here: http://www.poedit.net/download.php

3. Once in poEdit, go to File > Open... and find WPBDM.po (downloaded from wp-content/plugins/business-directory-plugin/languages on your installation of WordPress)

4. Right-click on the field you want to change and choose "Copy original to translation field."

5. In the bottom box, change the wording to how you want it. For example, I changed "Item Price" to "Item Price (don't use a dollar sign)"

6. Repeat the last step for ALL strings in the file or those you wish to change.

7. Save as WPBDM-[language_code].po. It will automatically create the .mo file: WPBDM-[language_code].mo, where [language_code] is your ISO country/language code, like en_US (English in the US), fr_FR (French in France), de_DE (German), es_ES (Spanish from Spain), etc.

8. Upload both these files to the wp-content/plugins/business-directory-plugin/languages directory.

9. WP 3.x Users ONLY: For non-English users, make sure your wp-config.php has "WPLANG" defined for the language code that you used above. Save the changes.

define ('WPLANG', 'es_ES');

10. WP 4.x Users ONLY: Under the Settings->General area of your Admin dashboard, select the appropriate target language for your site. Save the changes.

NOTE: Not every string is included in the PO file. For example, all field labels are translated by going to Directory Admin->Manage Form Fields. Some strings are also in the General tab of Directory Admin->Manage Options as well. Please be aware of this.

Furthermore, here's a guide for translating WP (3.x) plugins in general (including language codes, naming conventions, and encodings):


Last, but not least: If you are upgrading from an older version of BD and have an old translation file, you can UPGRADE the translation file instead of starting from scratch! See this article on how to do that: http://businessdirectoryplugin.com/support-forum/faq/how-to-upgrade-a-translation-file/

Documentation: http://businessdirectoryplugin.com/docs FAQ: http://businessdirectory.com/support-forum/faq
Business Directory Support
June 8, 2014 - 9:07 pm
Member Since: July 6, 2011
Forum Posts: 1463
sp_UserOfflineSmall Offline

French translation for BD 3.3 (and AWPCP 3.2.2): http://www.securysee.fr/telech.....raduction/

Documentation: http://businessdirectoryplugin.com/docs FAQ: http://businessdirectory.com/support-forum/faq
Forum Timezone: UTC 0

Most Users Ever Online: 103

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 2884

Members: 1661

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 5364

Posts: 22860

Newest Members: CrystalRon

Administrators: Business Directory Support: 1463