You are here

README.txt in Language Selection Page 7

Same filename and directory in other branches
  1. 8.2 README.txt
  2. 6 README.txt
  3. 7.2 README.txt
CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Installation
 * Maintainers

INTRODUCTION
------------

This module allows you to present visitors of your website with a landingpage / splash page
where they can select the language of their choice, based on the languages
that have been enabled on your Drupal site.

This is useful in situations where you don't want to enforce a default language to users
(e.g. because of political or corporate sensitivities) if they come to your website
without a language preference available (url, cookie, ...)

The language selection page can be overridden through Drupal's template system.

It is recommended that you move the "Selection Page" language detection method near the bottom.
Preferably you need to have another method of detection activated above it,
such as "URL" or "Cookie" (via the contrib module http://drupal.org/project/language_cookie),
if you don't want to have users arrive on the language selection page too frequently.

INSTALLATION
------------

1. You need to have the Locale module enabled, and more than 1 enabled language on your website.
2. Copy the module into sites/default/modules or another directory that Drupal can find.
3. Enable the module with Drush or through the web interface.
4. Check the status report page to see if everything is good.
5. Go to admin/config/regional/language/configure to configure language detection and selection
   - enable the "Selection Page" detection method
   - it is recommended to position this method near the bottom, just above "Default".

THEMING
-------
Customize the template by copying the .tpl.php file to your current theme directory.
If you selected "Template in theme", you might want to add a page--languageselection.tpl.php file to your theme, that removes any sidebars or regions that could intervene with the language selection task.

MAINTAINERS
------------
Drupal 6 version and initial Drupal 7 port: Pol Dell'Aiera <drupol@about.me>
Drupal 7 version: Sven Decabooter <sven@svendecabooter.be>

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Installation
  5. * Maintainers
  6. INTRODUCTION
  7. ------------
  8. This module allows you to present visitors of your website with a landingpage / splash page
  9. where they can select the language of their choice, based on the languages
  10. that have been enabled on your Drupal site.
  11. This is useful in situations where you don't want to enforce a default language to users
  12. (e.g. because of political or corporate sensitivities) if they come to your website
  13. without a language preference available (url, cookie, ...)
  14. The language selection page can be overridden through Drupal's template system.
  15. It is recommended that you move the "Selection Page" language detection method near the bottom.
  16. Preferably you need to have another method of detection activated above it,
  17. such as "URL" or "Cookie" (via the contrib module http://drupal.org/project/language_cookie),
  18. if you don't want to have users arrive on the language selection page too frequently.
  19. INSTALLATION
  20. ------------
  21. 1. You need to have the Locale module enabled, and more than 1 enabled language on your website.
  22. 2. Copy the module into sites/default/modules or another directory that Drupal can find.
  23. 3. Enable the module with Drush or through the web interface.
  24. 4. Check the status report page to see if everything is good.
  25. 5. Go to admin/config/regional/language/configure to configure language detection and selection
  26. - enable the "Selection Page" detection method
  27. - it is recommended to position this method near the bottom, just above "Default".
  28. THEMING
  29. -------
  30. Customize the template by copying the .tpl.php file to your current theme directory.
  31. If you selected "Template in theme", you might want to add a page--languageselection.tpl.php file to your theme, that removes any sidebars or regions that could intervene with the language selection task.
  32. MAINTAINERS
  33. ------------
  34. Drupal 6 version and initial Drupal 7 port: Pol Dell'Aiera
  35. Drupal 7 version: Sven Decabooter