Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lutris / usr / lib / python3 / dist-packages / lutris / util / i18n.py
Size: Mime:
"""Language and translation utilities"""
# Standard Library
import locale


def get_lang():
    """Return the 2 letter language code used by the system"""
    user_locale, _user_encoding = locale.getlocale()
    return user_locale[:2]