cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item14633 (13 Jun 2018, GeorgeClark)Edit Attach

Item14633: wrong language in tag

pencil
Priority: Normal
Current State: Closed
Released In: 2.1.6
Target Release: patch
Applies To: Extension
Component: PatternSkin
Branches: master Release02x01 Item14288
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
The <html lang="..."> value is supposed to hold the language of the document and or interface that the user visits. This has been implemented using VarLANG. However this is the server's default language given it uses locales. Instead, it should be the user's browser language as per VarLANGUAGE. Actually I can't see what the %LANG% would be good for.

Setting the user's language setting in the =<html> tag is require for the javascript i18n setting to switch to the proper translations. See JQueryI18N.

-- MichaelDaum - 21 Feb 2018

 
Topic revision: r7 - 13 Jun 2018, GeorgeClark - This page was cached on 21 Jul 2018 - 13:16.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy