You are here: Foswiki>Tasks Web>Item14633 (13 Jun 2018, GeorgeClark)Edit Attach

Item14633: wrong language in tag

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
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