Results 1 to 3 of 3

Thread: change locale for short time

  1. #1
    Join Date
    Jul 2008
    Location
    ukraine/mk/pervomaysk
    Posts
    528

    Default change locale for short time

    Hi ALL
    I am post here some info from terminal

    my local is ru.RU

    but when I try to post here some output from terminal
    for example
    Code:
    ~> zypper --help
      Использование:
    	zypper [--общие-параметры] <команда> [--параметры-команды] [аргументы]
    
      Общие параметры:
    	--help, -h		Справка.
    <skipped>
    the output is for local ru.RU this is not comfortable to most of people here

    so my question is

    how can I change my local for short time to local en.EN or what ever I need to post here
    that output will be in english?
    I am sure there is some variable in system I guess it should be something like this

    env local=en.EN zypper --help

    just like

    env WINEPREFIX=/home/USER/.anotherwinedir wine foo.exe

    hope you understand what I mean
    thank you in advantage )))
    intelGMA3100#amd|radeonHD4200+radeonHD5450@catalyst12.4
    WC5020B,PagePro1480MF,LBP2900,hpCP1510,PHOTO1290,Scanmaker3600,PerfectionV200

  2. #2
    Join Date
    Jul 2008
    Location
    ukraine/mk/pervomaysk
    Posts
    528

    Default Re: change locale for short time

    found solution

    Code:
    > LANG=en zypper --help
      Usage:
    	zypper [--global-options] <command> [--command-options] [arguments]
    
      Global Options:
    	--help, -h		Help.
    	--version, -V		Output the version number.
    	--quiet, -q		Suppress normal output, print only error
    				messages.
    <skipped>
    intelGMA3100#amd|radeonHD4200+radeonHD5450@catalyst12.4
    WC5020B,PagePro1480MF,LBP2900,hpCP1510,PHOTO1290,Scanmaker3600,PerfectionV200

  3. #3
    Camalen NNTP User

    Default Re: change locale for short time

    didencool wrote:

    > how can I change my local for short time to local en.EN or what ever I
    > need to post here
    > that output will be in english?


    ***
    LANG=en_EN.UTF-8 zypper --help
    ***

    That should do the trick :-)

    Greetings,

    --
    Camalen

Posting Permissions

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