Jump to content
Sign in to follow this  
Sourena

Widgetized Areas and Arabic

Recommended Posts

Sourena

To set up a website for Arabic language, regardless of the country, one needs to add this line to "wp-config.php":

define ('WPLANG', 'ar');

Using this setting one can see the site in Arabic without associating it with any specific country. In Pagelines certain widgetized areas such as "Universal Sidebar" and "Full Width Sidebar" do not show anything in the widgetized areas unless a country code is specified in "wp-config.php". Is there any way to fix this issue?


alefba.us

Web Development & Design for Right-to-Left languages

Share this post


Link to post
Share on other sites
Danny

Hi Sourenaa, I am not quite sure what you're referring to, can you explain in greater detail the issue and/or provide screenshots please.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Sourena

Ok. Here is an example: When I configure the site to be in English, Hebrew, or any other language it shows the widgets I have placed in Universal Sidebar but when I set the language to Arabic the widgets do not show up. Please see the screenshot. In the following image Universal Sidebar is placed above the Primary sidebar. It contains widgets that show up in any other language except Arabic: I5ePd.png When I think about it I see only one difference between Arabic and the other languages: In the configuration file ("wp-config.php") Arabic is set up this way:

define ('WPLANG', 'ar');
But languages such as English or Hebrew are set up this way:
define ('WPLANG', 'en_US');
or
define ('WPLANG', 'he_IL');

As you see in these cases the language code is followed by the name of the country. I am not sure this is related to the problem but this is the only difference I see between Arabic and other languages. I think maybe something in the setup of the Pagelines widgets does not accept such language setting.


alefba.us

Web Development & Design for Right-to-Left languages

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×