Results 1 to 2 of 2

Thread: Incorrect language on ssh shell in opensuse 13.2

  1. #1
    Join Date
    Aug 2008
    Location
    Bergen, Norway
    Posts
    45

    Default Incorrect language on ssh shell in opensuse 13.2

    All machines I have with opensuse 13.2 have wrong language on the command line through SSH, although not locally on the console or in konsole with KDE.
    The system language should be English, while keyboard, time zone and region should be norwegian.

    Here is an example
    Code:
    jonas@echoes:~> ls test
    Code:
    ls: klarte ikke å åpne test: Ingen slik fil eller filkatalog
    This is norwegian. But primary Language in YaST2 > Language is set to English (US)

    However on konsole in KDE it works:

    Code:
    jonas@echoes:~> ls test
    ls: cannot access test: No such file or directory
    


    Code:
    jonas@echoes:~> grep 'RC_LANG=' /etc/sysconfig/language        
    RC_LANG="en_US.UTF-8"
    jonas@echoes:~> echo $LANG
    nb_NO.UTF-8
    


    I tried to create a new user with a blank profile, still the same problem, so it's not related to the user.

    I do not have this problem on 42.1 Leap, it this works correctly. Even though /etc/sysconfig/language is identical.



  2. #2
    Join Date
    Aug 2008
    Location
    Bergen, Norway
    Posts
    45

    Default Re: Incorrect language on ssh shell in opensuse 13.2

    Code:
    
    ## Path:        System/Environment/Language
    ## Type:        string(ibus,fcitx,gcin,scim,scim-bridge,uim,kinput2,kinput2-canna,kinput2-wnn,nabi,wnn,atokx,xcin,none)
    ## Default:     ""
    #
    # A default input method to be used in X11 can be selected here.
    # If this variable is set and a script with the same name
    # as the value of this variable exists in the directory /etc/X11/xim.d/
    # this script is sourced when X11 is started to start an input method.
    #
    # The special value "none" (/etc/X11/xim.d/none) means:
    # Do not use any input method at all.
    #
    # For more details see the comments at the top of /etc/X11/xim.
    #
    INPUT_METHOD=""
    ## Path:        System/Environment/Language
    ## Description:
    ## Type:        string(POSIX,ca_ES.ISO-8859-1,ca_ES.UTF-8,cs_CZ.ISO-8859-2,cs_CZ.UTF-8,da_DE@euro,da_DK.ISO-8859-1,da_DK.UTF-8,de_DE@euro,de_DE.ISO-8859-1,de_DE.UTF-8,el_GR.ISO-8859-7,el_GR.UTF-8,en_GB.ISO-8859-1,en_GB.UTF-8,en_IE@euro,en_IE.ISO-8859-1,en_US.ISO-8859-1,e
    s_ES@euro,es_ES.ISO-8859-1,es_ES.UTF-8,fr_FR@euro,fr_FR.ISO-8859-1,fr_FR.UTF-8,gl_ES@euro,gl_ES.ISO-8859-1,gl_ES.utf-8,hr_HR.ISO-8859-2,hu_HU.ISO-8859-2,hu_HU.UTF-8,it_IT@euro,it_IT.ISO-8859-1,it_IT.UTF-8,ja_JP.eucJP,ja_JP.UTF-8,lt_LT.ISO-8859-13,lt_LT.UTF-8,nl_NL@euro,n
    l_NL.ISO-8859-1,nl_NL.UTF-8,ru_RU.ISO-8859-5,ru_RU.KOI8-R,ru_RU.UTF-8,sk_SK.ISO-8859-2,sk_SK.UTF-8,tr_TR.ISO-8859-9,tr_TR.UTF-8,ko_KR.eucKR,ko_KR.UTF-8,zh_TW.Big5,zh_TW.UTF-8,zh_CN.GB2312,zh_CN.UTF-8)
    ## Default:     ""
    ## Config:      OpenOffice.org,groff,ispell,kde,kdm,profiles,susehelp,susewm,tetex,wdm
    #
    #
    # Local users will get RC_LANG as their default language, i.e. the
    # environment variable $LANG . $LANG is the default of all $LC_*-variables,
    # as long as $LC_ALL is not set, which overrides all $LC_-variables.
    # Root uses this variable only if ROOT_USES_LANG is set to "yes".
    #
    RC_LANG="en_US.UTF-8"
    
    ## Type:        string
    ## Default:     ""
    #
    # This variable will override all LC-variables!!
    # Again, ROOT_USES_LANG must be set to "yes", if an effect on the superuser
    # account is desired.
    #
    RC_LC_ALL=""
    
    ## Type:        string
    ## Default:     ""
    #
    # This defines the locale in which messages of programs and
    # libraries with i18n-support should appear if a translated
    # message catalog for the library or the program is installed.
    # This also provides localized yes/no answers.
    #
    RC_LC_MESSAGES=""
    
    ## Type:        string
    ## Default:     ""
    #
    # This defines the locale for character handling and classification.
    # The libc uses this value in language dependent function calls, such
    # as e.g. uppercase/lowercase mapping of foreign characters.
    #
    RC_LC_CTYPE=""
    
    ## Type:        string
    ## Default:     ""
    #
    # This defines the locale for sorting strings and characters.
    # It is used by the libc to obtain the alphabetical order of characters
    # (e.g. for string comparisons).
    #
    RC_LC_COLLATE=""
    
    ## Type:        string
    ## Default:     ""
    #
    # This defines the locale for date and time output formats.
    # i.e.: 06/09/1999 vs. 09.06.1999
    #
    RC_LC_TIME=""
    
    ## Type:        string
    ## Default:     ""
    #
    # This defines the locale for formatting and reading numbers.
    # i.e.: 1,234.56 vs. 1.234,56
    #
    RC_LC_NUMERIC=""
    
    ## Type:        string
    ## Default:     ""
    #
    # This defines the locale for formatting and reading money values.
    #
    RC_LC_MONETARY=""
    
    ## Type:        string
    ## Default:     ""
    #
    # This defines the locale for format of paper.
    #
    RC_LC_PAPER=""
    
    ## Type:        string(ctype)
    ## Default:     ctype
    #
    # This defines if the user "root" should use the locale settings
    # which are defined here.
    # Value "ctype" means that root uses just LC_CTYPE.  
    # Value "yes" means that root uses the full settings..  
    #
    ROOT_USES_LANG="ctype"
    
    ## Type:        yesno
    ## Default:     no
    #
    # Workaround for missing forward of LANG and LC variables
    # of e.g. ssh login connections.
    #
    AUTO_DETECT_UTF8="no"
    
    ## Type:        string
    ## Default:     ""
    #
    # List of installed language supports, use by YaST2
    #
    #INSTALLED_LANGUAGES=""
    INSTALLED_LANGUAGES="en_GB,en_US,nb_NO"
    
    

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •