Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to force language on facebook debugger?

By
Pascal Tremblay
on 6/27/16, 6:11 PM 409 views

Hello there,

since some days, when we share a url on facebook, it's only the description and name in english who appears.

did you notice a change? how did you manage it?

Before, we got name and description of the product in french if the shared url was in french.

I'm on the last version of Odoo 8 (nightly) and I use nginx.

idea?


EDIT #1

Each time that I scrape again a french link in the Facebook debugger, I note those lines in my log. An error 301 for the french url, and after, the english url is ok :

2016-06-29 22:20:29,330 2859 INFO odoo-test werkzeug: 127.0.0.1 - - [29/Jun/2016 22:20:29] "GET /shop/product/robe-transparente-chaude-et-rose-taille-unique-984 HTTP/1.0" 301 -

2016-06-29 22:20:29,728 2859 INFO odoo-test werkzeug: 127.0.0.1 - - [29/Jun/2016 22:20:29] "GET /en_US/shop/product/pink-lipstick-amnesia-seamless-hot-dress-one-size-984 HTTP/1.0" 200 -


EDIT #2

If I put a french url in my browser address bar, the site is correctly loaded in the correct language. ???

But if I put the same french url in Facebook, error 301.


EDIT #3

I had two languages on my site : french and english. Everytime I use the facebook debugger, all french links are redirected to the english one (see above).

I have made a test. I have disabled the english on my site. Only the french is still active (in website settings). Now, all my french posts on facebook debugger are well in french. That's great.... But I don't have the english anymore on my site....

I'm asking to me if this problem should be managed with my nginx installation...

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/27/16, 6:11 PM
Seen: 409 times
Last updated: 7/1/16, 9:12 PM