Detects language and automatically displays pages in vistor's preferred language.
Until now, a multilingual Job Board served the first page in default language, even if visitor's language was other. The visitor then had to locate the link (a flag icon) to switch to language they understood. This was a big problem, because many visitors were unable to find the link even if it was right in front of their eyes.
(A general rule of "good user experience" is that a user must find sought-after information within 1-2 clicks. Otherwise they will be lost forever.)
But no longer! LANGDET will detect user's preferred language and
upon the first request serve the correct page. (Assuming that their language is available.)
LANGDET is a '
must-have' plugin for all bilingual and multilingual sites.
Version 2.x features additional enhancement of alternative language detection method based on geographical location. This method will be enabled only if you also use the TRAFFIC COP plugin.
(LANGDET doesn't need TRAFFIC COP in order to work properly, but it will work better if you use TRAFFIC COP.)
HOW LANGDET WORKS?
There are 2 methods to determine user's language: 1.) by parsing the header (from the user's browser) "ACCEPT-LANGUAGE", and 2.) choosing language from user's geographical location (country).
LANGDET uses both of these methods. First, LANGDET parses the header "ACCEPT-LANGUAGE". If unsuccessful, the latter method is used. (However, to enable the latter method, it is necessary to use the TRAFFIC COP plugin.) When the latter method is unsuccessful, the default language is chosen as a last resort.
It must be mentioned that the browser header "ACCEPT-LANGUAGE" is not always present, and if it is, it may be empty. This is why an alternative language detection method is helpful, so that
a page is served in correct language upon first request.
SITUATIONS WHEN HEADER 'ACCEPT-LANGUAGE' IS NOT PRESENT
- User deletes language preferences from his browser settings.
- Search engine robots don't use a browser to access your pages. Header 'ACCEPT-LANGUAGE' may or may not be present.
- .... etc.
When installing, please read and follow instructions in README.txt.
NEW IN VERSION 1.02:
Added path for cookie. (2010-06-15)
NEW IN VERSION 2.00:
Added method for language detection based on country. (2010-06-18)
NEW IN VERSION 2.01:
Improved diagnostics to show detection method. (2010-06-19)
NEW IN VERSION 2.02:
Improved error messages. (2010-06-20)
NEW IN VERSION 2.03:
Fixed bug in function countryToLanguage(). (2010-09-09)
END-USER LICENSE AGREEMENT FOR LANGDET
PLEASE READ THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT CAREFULLY
BEFORE CONTINUING WITH INSTALLATION AND USAGE OF THE SOFTWARE PRODUCT.
BY EXERCISING ANY RIGHTS TO THE SOFTWARE PRODUCT PROVIDED HERE, YOU
ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR
GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE
OF SUCH TERMS AND CONDITIONS.
This End-User License Agreement (hereinafter "EULA") is a legal
agreement between you and DEZZIGNZ (hereinafter "Licensor") for the
SOFTWARE PRODUCT identified above which may include associated software
components, media, printed materials, and "online" or electronic
documentation ("SOFTWARE PRODUCT"). By installing, copying, or otherwise
using the SOFTWARE PRODUCT, you agree to be bound by the terms of this
EULA. This license agreement represents the entire agreement between you
and Licensor, and it supersedes any prior proposal, representation, or
understanding between you and Licensor. If you do not agree to the terms
of this EULA, do not install or use the SOFTWARE PRODUCT.
The SOFTWARE PRODUCT is protected by copyright laws and international
copyright treaties, as well as other intellectual property laws and
treaties. The SOFTWARE PRODUCT is licensed, not sold.
1. DEFINITIONS
a.) "Licensor" means the individual or entity that offers the
SOFTWARE PRODUCT under the terms of this EULA.
b.) "SOFTWARE PRODUCT" means the copyrightable work of authorship
identified above and offered under the terms of this EULA.
c.) "You" means an individual or entity exercising rights under this
EULA who has not previously violated the terms of this EULA with
respect to the SOFTWARE PRODUCT, or who has received express
permission from the Licensor to exercise rights under this EULA
despite a previous violation.
2. GRANT OF LICENSE
Subject to the terms and conditions of this EULA, Licensor hereby
grants a non-exclusive, perpetual license to exercise the rights in the
SOFTWARE PRODUCT as stated below:
a.) Installation and Use.
Licensor grants you the right to install and use one copy of the
SOFTWARE PRODUCT on one webserver and one domain name.
b.) Backup Copies.
You may also make copies of the SOFTWARE PRODUCT as may be
necessary for backup and archival purposes.
3. DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS
a.) Maintenance of Copyright Notices.
You must not remove or alter any copyright notices on any and
all copies of the SOFTWARE PRODUCT.
b.) Distribution.
You may not distribute registered copies of the SOFTWARE PRODUCT
to third parties.
c.) Prohibition on Reverse Engineering, Decompilation, and
Disassembly.
You may not reverse engineer, decompile, or disassemble the
SOFTWARE PRODUCT, except and only to the extent that such
activity is expressly permitted by applicable law
notwithstanding this limitation.
d.) Rental.
You may not rent, lease, or lend the SOFTWARE PRODUCT.
e.) Support Services.
Licensor may provide you with support services related to the
SOFTWARE PRODUCT ("Support Services"). Any supplemental software
code provided to you as part of the Support Services shall be
considered part of the SOFTWARE PRODUCT and subject to the terms
and conditions of this EULA.
f.) Compliance with Applicable Laws.
You must comply with all applicable laws regarding use of the
SOFTWARE PRODUCT.
4. TERMINATION
Without prejudice to any other rights, Licensor may terminate this EULA
if you fail to comply with the terms and conditions of this EULA. In
such event, you must destroy all copies of the SOFTWARE PRODUCT in your
possession.
5. COPYRIGHT
All title, including but not limited to copyrights, in and to the
SOFTWARE PRODUCT and any copies thereof are owned by Licensor or its
suppliers. All title and intellectual property rights in and to the
content which may be accessed through use of the SOFTWARE PRODUCT is the
property of the respective content owner and may be protected by
applicable copyright or other intellectual property laws and treaties.
This EULA grants you no rights to use such content. All rights not
expressly granted are reserved by Licensor.
6. NO WARRANTIES
Licensor expressly disclaims any warranty for the SOFTWARE PRODUCT. The
SOFTWARE PRODUCT is provided 'As Is' without any express or implied
warranty of any kind, including but not limited to any warranties of
merchantability, noninfringement, or fitness of a particular purpose.
Licensor does not warrant or assume responsibility for the accuracy or
completeness of any information, text, graphics, links or other items
contained within the SOFTWARE PRODUCT. Licensor makes no warranties
respecting any harm that may be caused by the transmission of a computer
virus, worm, time bomb, logic bomb, or other such computer program.
Licensor further expressly disclaims any warranty or representation to
Authorized Users or to any third party.
7. LIMITATION OF LIABILITY
In no event shall Licensor be liable for any damages (including, without
limitation, lost profits, business interruption, or lost information)
rising out of 'Authorized Users' use of or inability to use the SOFTWARE
PRODUCT, even if Licensor has been advised of the possibility of such
damages. In no event will Licensor be liable for loss of data or for
indirect, special, incidental, consequential (including lost profit),
or other damages based in contract, tort or otherwise. Licensor shall
have no liability with respect to the content of the SOFTWARE PRODUCT
or any part thereof, including but not limited to errors or omissions
contained therein, libel, infringements of rights of publicity, privacy,
trademark rights, business interruption, personal injury, loss of
privacy, moral rights or the disclosure of confidential information.