Website URL Translation: Translated SEO URLs per Language for Website Pages
by Modvanta https://modvantaapps.tech/odoo-apps/website-url-translation/$ 8.97

Give every website page its own address in every language
Odoo serves a translated page at /fr/about-us. With this module it lives at /fr/a-propos-de-nous and /de/uber-uns, the old address redirects to the new one, and the translated addresses are in your sitemap.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
On a multilingual Odoo website, a page keeps its English address in every language: the French visitor reads /fr/about-us and the German one /de/about-us. Search engines and visitors expect the address in their own language.
This module adds a translated URL per page and language. The page then answers at the translated address, the language switcher and the menus link to it, and the untranslated address redirects to it with a 301 (or 302) redirect. Translated addresses are written to sitemap.xml.
You do not have to type every address. A wizard builds them from the translated title of each page - its menu entry, SEO title or first heading - in latin letters without accents or in the letters of the language. Addresses can also be exported to CSV, edited and imported back.
Who it is for
Multilingual company websites Pages such as About Us, Services and Contact in two or more languages. | SEO-minded marketing teams Addresses that contain the words people search for in their language. | Agencies running Odoo sites Translate the addresses of a whole site in one run, then fine-tune them. |
Key features
All screenshots were taken on Odoo 19 with this module installed on a clean demo database (company Northwind Trading Co, default website theme, English, French and German). Three pages were created on the bench with translated menu names.
Feature 1
Generate addresses from page titles
Website -> Translated URLs -> Generate from Page Titles: choose the languages, latin letters without accents or the letters of the language, optionally only some pages, and whether existing addresses are replaced.

Feature 2
One click for the whole site
On the bench the wizard created 11 translated addresses for French and German in one run. Pages whose title is not translated are skipped and listed, so nothing gets a wrong address.

Feature 3
All translated addresses in one list
Each line shows the page, its normal address, the language, the translated address, the public address, the number of old addresses redirected and a status that flags conflicts. Lines are edited right in the list.

Feature 4
The page at its French address
Opening /fr/about-us redirected (301) to /fr/a-propos-de-nous, where the page is served; the footer menu shows A propos de nous. The language switcher on that page links to /de/uber-uns.

Feature 5
And at its German address
The same page answered at /de/uber-uns, with the German menu entry.

Feature 6
Reserved addresses are refused
Typing /shop as a translated address was refused: the address /shop is reserved (an application, a technical route or a language code already uses it). A page also cannot get a second translated address in the same language.

Feature 7
Import and export as CSV
Export gives one line per page and language with website, language, page_url and translated_url. Fill in the last column and import the file back; empty cells change nothing.

Feature 8
Redirect and sitemap settings
In Website settings choose a permanent (301) or temporary redirect from the untranslated address, and whether translated addresses go in sitemap.xml. On the bench sitemap.xml listed /fr/a-propos-de-nous and /de/uber-uns next to /about-us.

How it works, step by step
| 1 | Install the module It depends on Odoo Website only. Add your languages to the website as usual. |
| 2 | Translate the page titles Translate the menu entries (or SEO titles) of your pages. |
| 3 | Generate the addresses Website -> Translated URLs -> Generate from Page Titles, pick the languages and click Generate. |
| 4 | Check and adjust Review the list, change any address by hand, or export to CSV and import it back. |
Settings
Website settings, under Translated URLs, and the generate wizard.
| Redirect | 301 (permanent) or 302 (temporary) from the untranslated address to the translated one. |
| In sitemap.xml | List the translated addresses in the sitemap. |
| Letters (wizard) | Latin letters without accents (/a-propos) or the letters of the language. |
| Only these pages (wizard) | Limit generation to some pages. |
| Replace existing translated URLs (wizard) | Overwrite addresses that already exist. |
Frequently asked questions
What happens to the old address?
It redirects to the translated one. On the bench /fr/about-us and /fr/contactus answered with a 301 to /fr/a-propos-de-nous and /fr/contactez-nous.
Does the home page get a translated address?
No. The home page is / in every language, and the module refuses a translated address for it.
Can a translated address clash with an app route?
No. Addresses already used by an application, a technical route or a language code are refused when you save; on the bench /shop was refused.
Which pages can be translated?
Website pages (website.page records) such as About Us, Contact Us and the pages you create.
Do search engines see the new addresses?
Yes, when In sitemap.xml is on: the translated addresses are listed in sitemap.xml.
Compatibility
Odoo 19 Community and Enterprise | Depends on Website | Tested 47 automated tests |
Speak your visitors' language, right up to the address bar
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by email |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) |
| Lines of code | 1008 |
| Technical Name |
mdv_website_url_translation |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/website-url-translation/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module