As 2008 was coming to a close we were contracted by Aquent, one of the largest global talent agencies for creative staffing to implement their new website(s) using Dotcms. Although excited by this opportunity, we knew there would be hurdles implementing an easily manageable and maintainable deployment. With those hurdles behind us, the new Aquent website is delivered in 42 languages, some of them the same but localized for different countries.
Some of the challenges were:
We're currently working with an online gambling website to help them develop their new websites in Dotcms in 22 different languages.
More than any aspect of implementation, defining all multi-lingual requirements first thing in the process is well worth the effort. This will save you a lot of time and headaches down the road. Some examples of things to consider are:
As a direct result of implementing these multi-lingual projects, we have started developing a plugin that will include the following features:
Following is a list of some recommended best practices when implementing multi-lingual sites in Dotcms:
< img src="/global/images/${languageKey}/myimage.jpg" >
Then save the image on each language folder like this:
/global/images/en_us/myimage.jpg
/global/images/es_es/myimage.jpg
+type:content +structureInode:5
es.mysite.com
en.mysite.com
fr.mysite.com
You need to create one host: www.mysite.com and create all other hosts as aliases.
/en_us/myfolder/mypage.dot
/es_es /myfolder/mypage.dot
These can be virtual folders or real folders in Dotcms.
com.mysite. navigation. home=Home
com.mysite. navigation. about=About Us
com.mysite. navigation. about.our_company=Our Company
When using these variables on the templates you need to call the Dotcms macro that allows you to get the variable value based on the language selected like this:
$$text.get('com.mysite.homePage.title')
If you'd like help implementing some of these features on your website you can always call us and we can have one of our professional services team work with you in having a successful multilingual implementation in Dotcms. If you have specific requirements please contact us. We are here to help.
Explore the transformative journey of dotCMS as it unveils a new design system that harmonizes user interfaces and enhances cross-team collaboration.
Explore how design tokens streamline consistency and adaptability across digital platforms, essential for modern design systems.
dotCMS has enhanced our customers' experience by embracing continuous delivery (CD) practices.