How to Add Multiple og:locale Tags in Shack Open Graph Pro

If you have a multi-lingual Joomla site, you may want to make its content in every language to be Facebook-friendly.

You achieve this with the Shack Open Graph Pro Joomla plugin by enabling Facebook's og:locale tag for every language.

Here is how:

  • In your Joomla administrator panel, go to "Extensions" > "Plugins":

go to extensions plugins

  • This will bring you to the "Plugins" screen, as you can see on the next image. Click "System - Shack Open Graph Pro":

click shack open graph

  • You will see the "Plugins: System - Shack Open Graph Pro" page. Click the "Open Graph" tab:

click the open graph tab

  • At the bottom of the page, find the "Include Locale" parameter and click "Yes":

click yes

  • Click "Save" and check the HTML source code of your Joomla site.
  • You will see the og:locale tag displayed now, but only for the default language:

og locale tag for the default language only

  • To include the og:locale Facebook tag for other languages, click inside the "Selected Locales" field:

click inside the selected locales field

  • Click on the required language, as you can see on the next image:

click on the required language

  • Click "Save" or "Save & Close".
  • Check the HTML source code of your site. You will see the additional og:locale tag for your selected language displayed:

the additional og locale tag displayed