Topic-icon languages issues

Active Subscriptions:

None
12 years 8 months ago #37211 by agmnet
languages issues was created by agmnet
Dear sir,
i am using jfbconnect and i declared the language in it ar_AR, when i test my site. it gives me an error: Declared: ar-aa Detected: en how can i fix it please?
The topic has been locked.
Support Specialist
12 years 8 months ago #37234 by alzander
Replied by alzander on topic languages issues
Can you explain a bit more about where you're declaring that language string and where you're seeing the error message? ar_AR and ar-aa should be value language strings. Let me know where you see the error (in the admin area, in the front end, in a popup, etc) and we'll gladly help investigate further.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #37297 by agmnet
Replied by agmnet on topic languages issues
i THINK i fix it when i unpublished en language from the site, thank you so much,
still have 1 question please:
when i test my website: www.elmarada.org in facebook debug tools, it gives me this warning:

Open Graph Warnings That Should Be Fixed
Inferred Property: The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
og:image should be larger: Provided og:image is not big enough. Please use an image that's at least 200x200 px. Image 'www.elmarada.org/images/banners/advertise_with_us.jpg' will be used instead.


how can i fix it pleae?
The topic has been locked.
Support Specialist
12 years 8 months ago #37304 by alzander
Replied by alzander on topic languages issues
The message is stating that there is no Open Graph image set for your home page, so Facebook is automatically choosing an image as best it can.

The best way to fix is to go to the Open Graph -> Configuration area and in the Defaults box, add the following line:
image=http://www.elmarada.org/link-to-your-logo.jpg
Update that link to a good, generic image on your site, like a logo. Then, that image will be used on all pages of your site that doesn't have an image explicitly set, like your home page.

I hope that helps, but if not, let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #37309 by agmnet
Replied by agmnet on topic languages issues
It worked, thank you very much
The topic has been locked.
Support Specialist
12 years 8 months ago #37317 by alzander
Replied by alzander on topic languages issues
Awesome! Very glad to hear we got you going. Should you need anything else, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #37341 by agmnet
Replied by agmnet on topic languages issues
Dear Alex,
here are two codes from page source.
google chrome: <html prefix="og: ogp.me/ns#" xmlns:og="ogp.me/ns#" xmlns:fb="ogp.me/ns/fb#" xmlns:elmaradaapp="ogp.me/ns/fb/elmaradaapp#" xmlns="www.w3.org/1999/xhtml" xml:lang="en-gb" dir="rtl" lang="en-gb">
<head>
Firefox: <html prefix="og: ogp.me/ns#" xmlns:og="ogp.me/ns#" xmlns:fb="ogp.me/ns/fb#" xmlns:elmaradaapp="ogp.me/ns/fb/elmaradaapp#" xmlns="www.w3.org/1999/xhtml" xml:lang="ar-aa" dir="rtl" lang="ar-aa">
<head>

notice between them the language codes: in chrome it is en-gb and firefox it is ar-aa.
that 's what i was telling you about the error: (declared ar-aa detected en-gb)
The topic has been locked.
Support Specialist
12 years 8 months ago #37362 by alzander
Replied by alzander on topic languages issues
Joomla has automatic language detection built-in based on the browser that is being used. If Firefox is setting the language to en_GB, there is something in your browser that is telling Joomla your language is en_GB.

If you want to hard-code the language in JFBConnect, you can do so in the Configuration -> Facebook area by using the "Facebook Locale Override" setting. If you always want the language to be ar_aa, put that value in that setting.

I hope that helps,
Alex
The topic has been locked.