Multi Language Module

Developer

PutYourLightsOn - Ben Croker

3rd Party (Free)


EE Version Support

  • ExpressionEngine 1.x
  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Module

Tags

The Multi Language Module is an Expression Engine add-on that allows you to create phrases in multiple languages, which you can then display in your site templates and call from other add-ons. It comes with 3 languages by default (English, Spanish, Italian) but you can add and delete languages as you please.

Concept

To create a phrase you simply enter a phrase index and add the phrase in as many languages as you want.

To display a phrase, you simply use an expression of the format {exp:multi_language:phrase index=“hello”}. Depending on the user’s language, this will appear as “hello”, “hola”, “ciao”, etc., assuming you have already entered these translations.

The user’s language is determined by the url. So for a webpage at mysite.com/links/ the italian version will be at mysite.com/it/links/. This makes for easy navigation and setup in Expression Engine.

How It Works

The Multi Language Module uses a global variable in the path.php file to determine the current language. This is then used to retrieve phrases and weblog entries in the user’s current language.

Creating and retrieving multi-lingual phrases

Phrases can easily be created on the Multi Language Module page. Just enter a phrase index, which will be used to reference the phrase, and then enter it in as many languages as you want.

To retrieve a phrase in the templates, use {exp:multi_language:phrase index=“hello”}, replacing hello with the phrase index.

Multi Language Module Links

This entry was created November 10, 2009, 12:40 pm.
This entry was last updated June 24, 2013, 2:52 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

5 Reviews:

erikuix 10.17.13

Rating - {addon_rating_average}

Useful, but makes a SQL call for every phrase rather than loading the phrases one time and using appropriately. Had to alter for scale.

Miromo 11.03.11

Rating - {addon_rating_average}

Had a small hitch getting this setup due to a corrupted file (my fault). This developer helped identify and solve the issue for me quickly once I got him access to my environment. Works like a charm now, exactly as advertised. This module is going to be a life saver for my current project!

Oxford 05.26.11

Rating - {addon_rating_average}

As a designer I like to work with easy to implement add ons (it is not about the code!) with good support as a back up: this one offers just that.

Ryan Vosburg 03.19.11

Ryan Vosburg
Rating - {addon_rating_average}

Alittle problems initially setting up but developer helped me get them sorted. Need to have htaccess files updated in the main dir as well as all language dir’s then index.php is removed properly. Coding multilingual sites is a breeze with this plugin! Works great.

s.w.coughlan 12.02.10

Rating - {addon_rating_average}

Another great module from PutYourLightsOn! Easy to install and simple to use… will be using this for more projects in the future.