Is it possible to have localizations within the CMS in Webflow, such as urlnamehere.com/da-dk/ and urlnamehere.com/en-gb/, while also having one page with no locale? Would it be best to create separate CMS collections for each language or are there any other suggestions?

Published on
September 22, 2023

Yes, it is possible to have localizations within the CMS in Webflow. To achieve this, you can follow the steps below:

  1. Create a single CMS Collection for your content: Instead of creating separate CMS collections for each language, it is more efficient to have a single CMS Collection that includes all the localized content. This way, you can easily manage and update your content without duplicating efforts.

  2. Add a Field for localization: In your CMS Collection, create a Field to store the localization for each item. This can be a dropdown, multi-reference, or any other field type that suits your needs. Let's call this field "Locale".

  3. Create different URLs for each language: To have localized URLs such as "urlnamehere.com/da-dk/" and "urlnamehere.com/en-gb/", you can utilize Webflow's built-in language routing feature.

  • Go to your project settings and navigate to the "Hosting" tab.
  • Enable "Language Routing" and add the desired languages and their respective locales.
  • Webflow will automatically generate localized URLs based on the locale specified in your CMS Collection.
  1. Set up a default locale: For the page with no locale or a fallback content, you can set a default locale in your CMS. This allows you to display content from a specific locale if there is no specific locale associated with a page. For example, if a user visits "urlnamehere.com/" without a locale specified, you can display the content from the default locale.

  2. Implement dynamic content: Now, you can use the "Locale" field to dynamically display the localized content on your website. Use conditional visibility or filtering to show the relevant content based on the current locale.

By following these steps, you can have localizations within the CMS in Webflow and achieve localized URLs while still having one page without a specific locale. This approach eliminates the need for separate CMS collections for each language, making it easier to manage and update your content.

Additional Tips:

  • Ensure that your localized content is well-translated and optimized for SEO in each language.
  • Make sure to set the correct hreflang tags for each page to signal the language and geographical targeting to search engines.
  • Consider using automatic redirects to redirect visitors to the correct language version based on their browser settings or IP address, providing a better user experience.

Additional Questions:

  1. How can I enable language routing in Webflow?
  2. What is the best practice for managing localized content in Webflow CMS?
  3. How do I set up a default locale for pages without a specific localization in Webflow CMS?