EE 1
EE 2
Multi Language Module

Developer

PutYourLightsOn - Ben Croker

3rd Party (Commercial)
Current Version: 2.0
Release Date: Jun 9, 2010

License Agreement

Buy Now!

$39.95
Qty:

Compatibility

Requirements

  • jQuery for the Control Panel

Categories

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 January 12, 2012, 12:51 am.

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!

4 Reviews:

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.