This guide is only for Yclas Self Hosted!

Yclas Self Hosted allows you to have more than 1 language active at the same time.

This means that you can easily change the site translation to any language you have in the site. Then simply add links in your sidebar or header using our widgets or the menu generator to link languages.

Languages Widget

The languages widget let users choose in which language your website will be translated to them. To create this widget, go to your panel, Appearance -> Widgets and click to create the Languages Widget.

After that, a list with your selected languages will appear in your website so users can choose their prefered language. For more information about it, check out this guide.

Different languages - the same installation

This is an an example of our demo in different languages: EnglishBengaliCatalan. This has some benefits and some negative things too.

Pros:

  • Easy to activate
  • Share the same users and ads database
  • The same domain
  • The same theme license

Cons:

  • Ads don’t have language attribute, this means you can not filter by language
  • Categories and locations are not by language either, so once you write a category name it would be the same for all languages.

I don’t like this option at all. As a better alternatives and also better for SEO, we recommend the 3 other options. How to configure:

  1. Go to http://yourdomain.com/oc-panel/config/update/allow_query_language
  2. Set Config Value to 1
  3. Save
  4. Now to link to a language simply : http://domain.com/?language=ca_ES


Domain per language

This is probably the best option, imagine you have: MyDomain.com, and you want to add Spanish and Italian translations, you will buy the domains MyDomain.es and MyDomain.it and you will have the separate sites per language. It’s more expensive, but it allows you to use a local name in the domain name and for google to crawl it better.

Pros:

  • Better SEO per domain language, THIS IS A HUGE difference
  • Can use the same design
  • User is not confused and not lost between languages
  • If you want, you can add a localized server for the domain extension, so the domain is in the language of the country.

Cons:

  • You need a license for each domain for your premium theme
  • You need different domain names (which costs)
  • Separate administration of the site, software updates and moderation
  • Maybe more expenses on hosting


Sub-Domain per language

If you don’t want to have many domains and want to save some money then this would be a better option.  Imagine you have: MyDomain.com, and you also want to add Spanish and Italian translations, you will create sub domains like es.MyDomain.com and it.MyDomain.com and you will have separate sites per language.

Pros:

  • It’s better SEO per domain language
  • You can use the same design
  • The user will not be confused and not lost between languages two different languages
  • Same domain / hosting
  • If you want, you can add a localized server for the sub-domain, so the sub-domain is in the language of the country
  • 1 license works on as many subdomains as you want!

Cons:

  • Separate administration of the site, software updates and moderation


Folder per language

If you don’t want to have many domains/sub domain and save some money maybe this is the option for you. I don’t prefer this option, but it will work better than the first one. Example: you have MyDomain.com, and you also want to add an Spanish and an Italian translations, you will create folders like MyDomain.com/es and MyDomain.com/it and you will have different OC installations per language.

Pros:

  • You can use the same design, theme and license
  • The same domain / hosting
  • The same license

Cons:

  • Separate administration of the site, software updates and moderation

How to configure:

  • You simply do a new installation at a new folder within your website, follow the screenshot below to see how to do it using Softaculous.

multilingual


Hope these suggestions can help you. Feel free to post a comment below and share any thoughts or ideas you might have.

Regards from Chema and the Yclas team