Open Graph metadata

og:locale:alternate

Names another locale in which the page is available. Repeat the property for each alternate.

Code examples

Good example
<meta property="og:locale:alternate" content="fr_FR">
French as used in France is available as an alternate.
Good example
<meta property="og:locale:alternate" content="es_ES">
Spanish as used in Spain is available as an alternate.
Avoid this example
<meta property="og:locale:alternate" content="french">
Use the locale code rather than a language name.
Avoid this example
<meta property="og:locale:alternate" content="en-US">
Open Graph uses an underscore here, so write en_US.

Recommendations

  • 01
    Use the Locale Code
    Use language_TERRITORY form, such as fr_FR.
  • 02
    Declare the Primary Locale
    Set og:locale first, then list only the other locales available for this page.

Related documentation

Related meta tags

og:audio

property

Provides the URL of an audio file that accompanies the Open Graph object.

<meta property="og:audio" content="https://example.com/birdsong.mp3">
An absolute, public URL to the audio file.

Provides an alternate HTTPS URL for the audio declared by the preceding og:audio property.

<meta property="og:audio:secure_url" content="https://example.com/music/song.mp3">
A valid HTTPS alternate for the audio resource.

Provides the MIME type of the audio resource declared by the preceding og:audio property.

<meta property="og:audio:type" content="audio/mpeg">
The registered media type for MP3 audio.

og:audio:url

property

An alias of og:audio. It provides the URL of an audio file that accompanies the object.

<meta property="og:audio:url" content="https://example.com/audio.mp3">
An absolute URL to the audio file.

Provides a one or two sentence description of the Open Graph object.

<meta property="og:description" content="A practical guide to choosing and caring for indoor plants in low-light rooms.">
Explains the subject in one specific sentence.