How to make dynamic pages multilingualSOLVE
Nov 5, 2019 9:55 AM
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.
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.
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
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.
Solved! Go to Solution.
Dec 23, 2019 11:00 AM
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).