permalinks and multi lanuguage

4 posts by 3 authors in: Forums > CMS Builder
Last Post: February 13, 2019   (RSS)

By moh3 - February 9, 2019

Dear CMS builder i was wondering if you could provide points to follow on how to manage content in 2 or more languages and have links manged using permalinks plugin

example:

en: http://example.com/en/blog/article-1

ar: http://example.com/ar/blog/article-1

By daniel - February 12, 2019

Hi moh3,

Here is a similar question that was brought up recently: https://www.interactivetools.com/forum/forum-posts.php?postNum=2242766#post2242766

Let me know if that helps give you any ideas, or if you have any more specific questions.

Thanks!

Daniel
Technical Lead
interactivetools.com

Last year we built a bilingual CMSB driven site using Permalinks and wanted to share our approach.

We utilized a server aliased sub-domain (versus sub-directory) for the alt language. For example, both https://www.exampledomain.com and https://es.exampledomain.com pointed to the same server web space.

Then, as Daniel mentioned, we duplicated fields in the section editors to hold the translated content.

In our site code we check the HTTP_HOST and SERVER_NAME to see if it's the primary English domain or the Spanish sub-domain, then output the appropriate fields. 

Lastly, we installed a Multi-Domain (SAN) Certificate to run the site(s) via https from the same web space.

Just to note, the client wasn't concerned about having translated URLs so we used the same set of English permalinks (no alt translated version).

I guess it's a bit more advanced of a setup, but that's the brief overview of what we had done.

- Steve