414d4f98a184781bfeaa1603f8aab88b154ef031
og:url should be localized
Before this commit, with a website using multiple languages, when sharing any links with a language other than the original language on Facebook, the content of Optimize SEO always receives the value of the default language. The reason is that `og:url` does not change according to the language of the website because it's using `http.httprequest.url`. Note that `http.httprequest.url` doesn't contain the lang part since we already went through the dispatch's rerouting. So we need to localize `og:url` to fix this. Steps to reproduce: 1. Set up 2 different languages for your website (e.g. English, Vietnamese). Set the default language for the website to English. 2. Create any page, promote seo page for both languages. 3. Share this link on Facebook with Vietnamese language, see the title and description on preview are still in English. closes odoo/odoo#93998 X-original-commit: d47a2e4d08110df380c0060eebb1e9c2924b523e Signed-off-by: Romain Derie (rde) <rde@odoo.com>
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%