Skip to content
  • Doris Tam's avatar
    Bug 914019: Default to the first language listed in Accept-Language for lang dropdown · b53830ef
    Doris Tam authored and Robert Lyon's avatar Robert Lyon committed
    Set the default language when no preferences have been set to the first language
    in the request header Accept-Language where there is a lang pack installed,
    otherwise default to en.utf8.
    
    Default string only appears when the current language is not the Accept-Language
    
    Added a method to match lang packs to Accept-Language list
    
    Change-Id: I7ed02c5be10ede0967861cba353bd0fc4ccb650e
    b53830ef