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