You are here

README.txt in IP Language Negotiation 8

Same filename and directory in other branches
  1. 7 README.txt
Module: IP Language Negotiation
Author: Baris Wanschers <https://drupal.org/user/107229>


Description
===========
Detect the user's language by IP for language negotiation.

Requirements
============
* IP-based Determination of a Visitor's Country (ip2country)

Installation
============
* Enable the ip2country and the ip_language_negotiation module.

Usage
=====
Navigate to admin/config/regional/language/detection.

* Enable the Country method.
* You usually want the user to be able to override the automatic detected
  settings. You can do this by using URL detection. Set a unique domain, or
  a path prefix FOR EACH LANGUAGE. Eg: /en and /nl. Don't use a prefix for
  one language only, because in that case the user is not able to override
  the automatic detected setting.
* Make sure that the user-overrideable setting is on top. A good setting is
  URL detection first, and Country detection as second.
* Go to admin/config/regional/language/detection/ip and set the default
  language per country. As a fall-back, the default language is used.
* To test the module, use the 'Debug preferences' settings on the
  ip2country admin page (admin/config/people/ip2country).

File

README.txt
View source
  1. Module: IP Language Negotiation
  2. Author: Baris Wanschers
  3. Description
  4. ===========
  5. Detect the user's language by IP for language negotiation.
  6. Requirements
  7. ============
  8. * IP-based Determination of a Visitor's Country (ip2country)
  9. Installation
  10. ============
  11. * Enable the ip2country and the ip_language_negotiation module.
  12. Usage
  13. =====
  14. Navigate to admin/config/regional/language/detection.
  15. * Enable the Country method.
  16. * You usually want the user to be able to override the automatic detected
  17. settings. You can do this by using URL detection. Set a unique domain, or
  18. a path prefix FOR EACH LANGUAGE. Eg: /en and /nl. Don't use a prefix for
  19. one language only, because in that case the user is not able to override
  20. the automatic detected setting.
  21. * Make sure that the user-overrideable setting is on top. A good setting is
  22. URL detection first, and Country detection as second.
  23. * Go to admin/config/regional/language/detection/ip and set the default
  24. language per country. As a fall-back, the default language is used.
  25. * To test the module, use the 'Debug preferences' settings on the
  26. ip2country admin page (admin/config/people/ip2country).