Provide tools for translation and display of text in multiple languages and support for regionalization/localization for dates, numbers, currency, measurement, or other local contexts.

Web Experience Toolkit: Language

Integrates multilingual support via Internationalization for the WxT-Drupal distro.

Key Features

Locale Language Switcher Settings

locale_language_switcher_settings

When you have untranslated content, the language switcher is showing a lined-through link to the languages, that are untranslated.

Translation Set Links

Providing a quick and easy way for multilingual users to access multilingual content can be time consuming. This module creates a block with links to your translated pages dynamically with minimal setup.

geoip_lang

logo geoip

This module allows you to use free GeoIP Lite database by MaxMind to redirecting users based on their country or location for an i18n site
For using this module geoip should be insatlled on your webserver .

$ sudo -s
# apt-get install build-essential php5-dev php5-cli libgeoip-dev libgeoip1 php-pear
# pecl install geoip

Next

# echo "extension=geoip.so" >> /etc/php5/cli/php.ini
# echo "extension=geoip.so" >> /etc/php5/apache2/php.ini
# wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
# gunzip GeoLiteCity.dat.gz
# mv GeoLiteCity.dat /usr/share/GeoIP/GeoIPCity.dat

to test use this code

var_dump(geoip_record_by_name('209.202.168.22'));

The Logic

Basically this module tests to see

  • If you have a writable session.
  • If you have already been redirected.
  • Which country you are in.
  • If the URL you requested already has a country code.
  • Which languages are provided for on the site.

This project is inspired by this tutorial.

What this module do ?

  1. Detect the user location

Pages

Subscribe with RSS Subscribe to RSS - Multilingual