Multi-Language & RTL Support
Directory WordPress Plugin supports multilingual websites and Right-to-Left (RTL) text direction for users across different languages and regions. This section covers how to use WPML or TranslatePress for translation management and how to enable RTL layouts for Arabic, Hebrew, and other RTL language websites.
Using WPML or TranslatePress
To create a multilingual directory website, you can use plugins like WPML or TranslatePress. Both of these plugins are compatible with the Directory WordPress Plugin and allow you to translate the directory listings, categories, and other site elements into multiple languages.
Step 1: Install WPML or TranslatePress
WPML
Purchase and download the WPML plugin from WPML.org.
Go to Plugins > Add New in your WordPress dashboard.
Click Upload Plugin and select the WPML zip file.
Click Install Now and then Activate.
Follow the WPML setup wizard to configure your website’s languages.
TranslatePress
Install the TranslatePress plugin by going to Plugins > Add New in WordPress.
Search for TranslatePress, click Install Now, and then click Activate.
After activation, go to Settings > TranslatePress to configure your website’s languages.
Step 2: Translating Directory Listings and Content
With WPML
Once WPML is activated, go to WPML > Languages and add your desired languages.
Go to Pages > All Pages to translate the directory pages.
WPML will add language options for each page, allowing you to translate the content into each language.
For directory listings, go to Directory > Listings and click on a listing to translate it.
WPML will allow you to add translations for listing titles, descriptions, categories, and other fields.
With TranslatePress
Once TranslatePress is installed, go to Settings > TranslatePress and select the default and additional languages.
Use the Visual Editor to translate pages and listings directly from the front-end.
Click on any text element (e.g., a listing title or description) and add translations for it in the desired language.
For directory categories, go to Directory > Categories and use the TranslatePress interface to translate category names and descriptions.
Step 3: Language Switcher
Both WPML and TranslatePress provide language switchers that can be added to your website so users can easily switch between languages.
WPML:
Go to WPML > Languages.
Configure the language switcher settings and add the switcher to your website’s header, footer, or widget areas.
TranslatePress:
Go to Settings > TranslatePress.
Enable the Language Switcher option and choose its location (e.g., in the menu, footer, or as a floating button).
Last updated