- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to make dynamic pages multilingual
SOLVENov 5, 2019 9:55 AM
Hi guys,
I'm trying to find out the best way to use multi language pages with HubDB and dynamic pages. Since I cannot set the Meta Title and Meta Description per language or through Hubl code, I'm wondering what solution would be best to solve this.
Situation:
I'm setting up a HubDB for some pages that I'd like to create. These pages are available in two languages (English and Dutch). Each row holds content for both languages.
I can only set one Meta Title field, but I would need two. Same goes for Meta Description.
I could 'solve this' in a couple of ways, but I'd like your advice on this.
Solution 1:
Use a language column in the HubDB and enter each 'page' twice, one in English and one in Dutch. Use the template to only load the items in the language that is used.
Pro: easy fix
Con: extra rows
Solution 2:
Use a separate HubDB per language and use a template for English and a separate template for Dutch.
Pro: also quite easy fix
Con: extra HubDB and extra Template
I searched the forum and help articles on this, but none of the info I found is about multi language dynamic pages.
I would really appreciate any help or some indication to understand which one of my 'solutions' would be smartest.
Thanks!
Bart
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Accepted Solutions
Dec 23, 2019 11:00 AM
Hi,
I went for Solution 2. Seemed the easiest to implement and maintain for my marketing colleagues. Also this allows for duplicate url paths. Putting in all in 1 HubDB would not allow me to use the same path twice. Since I'm running 2 languages, I would like some of the paths to be the same (except for the language parameter ofcourse).
Best,
Bart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content