Skip to Content
Menu
This question has been flagged
1 Odpoveď
324 Zobrazenia

I have a website with 50 pages in English (example), but only want to translate the 10 most important pages into French (example). 

Is there a way to only show the language selector for translated pages and leave the English version for the rest (and not show a language selector)? It seems that adding a language automatically creates copies of ALL pages in English on the French version pages, which will then be translated. So if we do not translate, the default English text is shown (again) on the French page and there may be problems with duplicate content?

I have also tried to unpublish only the French version of certain pages, but it seems that unpublish always applies to all language versions, not only to the French page.

Avatar
Zrušiť
Best Answer

Translating a subset of your website's pages in Odoo while managing the language selector and mitigating duplicate content concerns is achievable through careful configuration. Here's how you can approach this:​

1. Selective Page Translation:

  • Install Necessary Languages:
    • Navigate to WebsiteConfigurationSettings.​
    • In the Website Info section, click on Install languages.​
    • Choose the desired language (e.g., French) and add it to your website.​
  • Translate Specific Pages:
    • Access the page you wish to translate.​
    • Use the Translate option to manually input translations for the selected pages.​
    • Untranslated pages will default to the original language content.​

2. Managing the Language Selector:

  • Conditional Display:
    • By default, the language selector appears on all pages. However, you can customize its visibility:​
      • Edit the website template to conditionally display the language selector only on translated pages.
      • This may require custom development to assess whether a page has translations and adjust the selector's visibility accordingly.

3. Addressing Duplicate Content Risks:

  • Implement hreflang Tags:
    • Odoo automatically manages hreflang tags, which inform search engines about the language and regional targeting of a page.​
    • Ensure that these tags are correctly implemented to prevent duplicate content issues and guide search engines to the appropriate language version.​
  • Utilize Canonical URLs:
    • Set canonical URLs to indicate the preferred version of content when similar pages exist across different languages.​
    • This helps consolidate SEO value and avoid penalties for duplicate content.​

At Wan Buffer Services, we've assisted clients in configuring their Odoo websites for selective translation, ensuring optimal user experience and SEO performance.

Avatar
Zrušiť