jamuhl/i18next — pull request #20 by plouh (2012-06-20 09:42:13+00:00)
Title: Cookie expiration time as an option to 1.3.4_pre -version

Add cookieExpirationTime parameter to the options so that we can choose
whether the language selection should be extended outside current
session also.

cookieExpirationTime is the number of minutes the selection is
remembered, e.g. setting the value to 7*24*60 would remember the
setting for a weeks time.

Setting the cookieExpirationTime in detectLanguage has a smell in it and
maybe should be refactored into something simpler.