Item15322: normalize language tags before comparing them

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: DeeplPlugin
Branches:
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
Browser locales, those that you get from navigator.language may either be a 2 char expression or a 5 char one, e.g. en, en-US, en-GB etc. However Deepl takes two char language codes as well as Foswiki's internal I18N module does.

-- MichaelDaum - 03 May 2024

 

ItemTemplate edit

Summary normalize language tags before comparing them
ReportedBy MichaelDaum
Codebase
SVN Range
AppliesTo Extension
Component DeeplPlugin
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r1 - 03 May 2024, MichaelDaum
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