Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8999329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:09:59+00:00 2026-06-16T00:09:59+00:00

I have a grails application with meta og tags like this: <meta property=og:description content=${message(code:’description’)}/>

  • 0

I have a grails application with meta og tags like this:

<meta property="og:description" content="${message(code:'description')}"/>

The message properties works fine for i18n if the user’s browser send the request. But in case of Facebook it is different. Facebook seems to request alwas the en_US version on my page which means that the meta og tags are always in the wrong language if the user requests the page from a de_DE browser.

Is there a way to tell facebook to use a different request language than en_US?

I tried:

<meta property="og:locale" content="de_DE" />

but this does not change the requested language as well.

What can I do to get the correct i18n?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:10:00+00:00Added an answer on June 16, 2026 at 12:10 am

    If you setup some og:locale:alternate meta tag, Facebook will rescrape the page by passing a get parameter fb_locale with the value of the locale. For example, if your site is http://mysite.com/share and it present these alternative locales:

    <html>
    <head>
        <meta property="og:locale:alternate" content="fr_FR" />
        <meta property="og:locale:alternate" content="es_ES" />
        ...
    </head>
        ...
    </html> 
    

    Facebook will call these url on your site.

    http://mysite.com/share
    http://mysite.com/share?fb_locale=fr_FR
    http://mysite.com/share?fb_locale=es_ES
    

    You then just need to localize you content (and set og:locale) correctly.

    Doc is here: https://developers.facebook.com/docs/technical-guides/opengraph/internationalization/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Vote domain class from my grails application containing properties like article_id
I have this Grails application wherein I installed JQuery, JQuery-UI, and JQGrid plugin. I
I have a groovy/grails application that needs to serve images It works fine on
Let's say we have a grails web application exposing several resources. tags urls users
I have this problem having to display my jasper report on my grails application.
I have this task: realize Grails application with ExtJS. And one part of this
I have a grails application. When I finish the web design of this project,
I have a grails application which works with a legacy database. I have in
I have a grails application with a JavaCC parser integrated. In this parser I
I have a grails application using hibernate .Under grails 1.3.7 everything works properly, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.