localized-strings icon indicating copy to clipboard operation
localized-strings copied to clipboard

Documentation on getInterfaceLanguage

Open JaccoGoris opened this issue 6 years ago • 2 comments

It might be useful to document in which format the language is returned, because now that's a little unclear. Thanks

JaccoGoris avatar May 30 '18 10:05 JaccoGoris

Updated in readme

getInterfaceLanguage() - to get the current device interface language (from Navigation.language in browsers, BCP-47, https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/language)

fbacker avatar Sep 28 '18 12:09 fbacker

Thanks! this is great!

JaccoGoris avatar Sep 28 '18 20:09 JaccoGoris