Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Sergio Alen
26,726 PointsMultilingual websites
Hi guys, Does anyone have any idea on how to create multilingual websites? a client just asked me to make an english and russian website for her.. would that mean creating an entire new site? Cheers!
4 Answers
Michael Austin
Courses Plus Student 7,814 PointsHi,
It depends on your approach. Are you building on a CMS such as Wordpress as Drupal? You’ll be able to find multilingual plugins for both of them (and for a lot of other CMS systems). Without installing plugins you could setup Wordpress as a multisite installation. This would allow you to maintain the Russian and English sites separately, but from within the same Wordpress login.
If you’re going the bespoke route, you could either setup two separate sites or you could just pass a query string to the url (e.g. my domain.com?lang=ru) that then grabs the corresponding content (by either something simple such as an if statement with flat content, or a DB query). The same premise could be made for subdomains (ru.mydomain.com) with the www.mydomain.com being the english.
Everything depends on how big the sites are (and how big they could be in the future), and of course the budget. There are multiple options available though :)
Sergio Alen
26,726 PointsHi Austin, thanks for your reply. and yes I'm using wordpress.. can you recommend any plugins? Thanks for your help!!!
Michael Austin
Courses Plus Student 7,814 PointsHi,
There aren’t any plugins I could personally recommend, but I did research and play around with http://wpml.org/ which seemed to do a good job. Again it depends on the scale of the project, but this may be ideal for you. Please note that it does require a purchase of a license, so a lot of it revolves around your budget, but do take into consideration that though it costs between $79-$195 it may save you $500 worth of time just for one site.
Otherwise if there is no budget, I’d create a local installation of wordpress and just download any plugins I could find on Wordpress.org for “multilingual”, “translation” and “languages”. If the site’s small you may not even need these, and you should just go the Wordpress Multisite route.
Thanks
Sergio Alen
26,726 PointsGreat help! thank you so much!!!