You are here

README.txt in Language Cookie 8

Same filename and directory in other branches
  1. 7.2 README.txt
  2. 7 README.txt
CONTENTS OF THIS FILE
---------------------
 * Introduction
 * Usage
 * Support
 * Compatibility


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

Adds an extra "Cookie" field to the Language Negotiation settings, allowing the
language to be set according to a cookie.

The cookie name & expiration date are configurable in the settings page.


USAGE
------

- Enable the module and go to: Administration » Configuration » Regional and
  language » Languages » Detection and selection (available at the following
  URL: 'admin/config/regional/language/detection/language_cookie').

- Enable the "Cookie" detection method and re-arrange the user interface
  language detection as you see fit. The language cookie will be set to
  whichever language the user interface turns out to be in. The recommended
  setup is (from top to bottom):
    URL -> Cookie -> Language Selection Page -> Default.

  Just to illustrate, another possible setup is:
    User -> Session -> Cookie -> Default

- If you use URL-based caching such as Varnish and want the cookie to be set on
  all pages, there is a setting for this in the administration interface: Go to
  'admin/config/regional/language/configure/cookie' and check the relevant
  checkbox. If you want cookie-based automatic language selection without
  invoking Drupal, you will need to implement a Javascript based solution which
  reads the cookie and redirects the user to the right page.


SUPPORT
-------

If you find a bug or have a feature request please file an issue:

http://drupal.org/node/add/project-issue/language_cookie

COMPATIBILITY
-------------

A lot of work has gone into ensuring maximum compatibility with other contrib
modules. If you find a bug please use the issue tracker for support. Thanks!

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Usage
  5. * Support
  6. * Compatibility
  7. INTRODUCTION
  8. ------------
  9. Adds an extra "Cookie" field to the Language Negotiation settings, allowing the
  10. language to be set according to a cookie.
  11. The cookie name & expiration date are configurable in the settings page.
  12. USAGE
  13. ------
  14. - Enable the module and go to: Administration » Configuration » Regional and
  15. language » Languages » Detection and selection (available at the following
  16. URL: 'admin/config/regional/language/detection/language_cookie').
  17. - Enable the "Cookie" detection method and re-arrange the user interface
  18. language detection as you see fit. The language cookie will be set to
  19. whichever language the user interface turns out to be in. The recommended
  20. setup is (from top to bottom):
  21. URL -> Cookie -> Language Selection Page -> Default.
  22. Just to illustrate, another possible setup is:
  23. User -> Session -> Cookie -> Default
  24. - If you use URL-based caching such as Varnish and want the cookie to be set on
  25. all pages, there is a setting for this in the administration interface: Go to
  26. 'admin/config/regional/language/configure/cookie' and check the relevant
  27. checkbox. If you want cookie-based automatic language selection without
  28. invoking Drupal, you will need to implement a Javascript based solution which
  29. reads the cookie and redirects the user to the right page.
  30. SUPPORT
  31. -------
  32. If you find a bug or have a feature request please file an issue:
  33. http://drupal.org/node/add/project-issue/language_cookie
  34. COMPATIBILITY
  35. -------------
  36. A lot of work has gone into ensuring maximum compatibility with other contrib
  37. modules. If you find a bug please use the issue tracker for support. Thanks!