code: def print_locale_info (out=stderr):
      
      for key in ("LANGUAGE", "LC_ALL", "LC_CTYPE", "LANG"):
          print_env_info(key, out=out)
      print(_("Default locale:"), i18n.get_locale(), file=out)
docs: Print locale info.