Topic-icon How to change language of displayed JFBConnect components

Active Subscriptions:

None
Still same problem
Please Help me

File Attachment:


File Attachment:
The topic has been locked.
Support Specialist
Ok.. I'm getting confused. You may need to help me. The second part of that code I gave you must end with 'ar_AR'. Right now, the language on the page is getting incorrectly set to 'ar_AA'. I *think* ar_AA is what your Joomla site is trying to set it to and the code I gave you should be trying to replace that with ar_AR.

So, let's try this one last time:
$locale = ($locale == 'ar_AA') ? 'ar_AR' : $locale;
If you do the echo statement, and the language code comes out as anything other than ar_AR, please use that code in the first part of the code above.. so, if somehow, ab_CD is what appears, update the code to:
$locale = ($locale == 'ab_CD') ? 'ar_AR' : $locale;

Please let me know how that goes and sorry for the issues!
Alex
The topic has been locked.
Active Subscriptions:

None
It's ok now
Thank you
The topic has been locked.