<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>170492</bug_id>
          
          <creation_ts>2008-09-06 00:19:36 +0000</creation_ts>
          <short_desc>Problem with LANGUAGE variable in embedded terminal</short_desc>
          <delta_ts>2008-09-23 15:57:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konsole</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Debian testing</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>149300</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Lisandro Damián Nicanor Pérez Meyer">perezmeyer</reporter>
          <assigned_to name="Konsole Bugs">konsole-bugs-null</assigned_to>
          <cc>hein</cc>
    
    <cc>lord_jotape</cc>
    
    <cc>niko.cava</cc>
    
    <cc>robertknight</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>643966</commentid>
    <comment_count>0</comment_count>
    <who name="Lisandro Damián Nicanor Pérez Meyer">perezmeyer</who>
    <bug_when>2008-09-06 00:19:36 +0000</bug_when>
    <thetext>Version:           2.9.3-1 (using KDE 4.1.1)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Yakueake set the LANGUAGE variable bad.
For reproducing this, you have to set the system&apos;s locale to any other thing than en_US, for example, es_AR. 
Open konsole and run locale. It will show:

LANGUAGE=es

Now, do the same with Yakuake:

LANGUAGE=en_US

I could not find where the problem is :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>644028</commentid>
    <comment_count>1</comment_count>
    <who name="Eike Hein">hein</who>
    <bug_when>2008-09-06 10:42:33 +0000</bug_when>
    <thetext>The terminal inside Yakuake is provided by the Konsole KPart component. Reassigning &amp; renaming.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>646800</commentid>
    <comment_count>2</comment_count>
    <who name="Eike Hein">hein</who>
    <bug_when>2008-09-16 11:12:59 +0000</bug_when>
    <thetext>*** Bug 171131 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>647941</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Knight">robertknight</who>
    <bug_when>2008-09-22 00:28:14 +0000</bug_when>
    <thetext>Hi Eike,

The value of the LANGUAGE variable comes from the parent process, in this case Yakuake.  Konsole just passes it to the child process.  I remember KCatalog doing funny things on startup with this environment variable (see the comments in Konsole::Pty::start())</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>648339</commentid>
    <comment_count>4</comment_count>
    <who name="Eike Hein">hein</who>
    <bug_when>2008-09-23 15:52:14 +0000</bug_when>
    <thetext>Hmm - on this system, Konsole and Yakuake both reset LANGUAGE to en_US when started from an xterm with LANGUAGE=de, but LC_ALL/LANG are inherited correctly (with the normal system locale being en_US). So there does indeed appear to be some form of activity on behalf of / interference by the KDE frameworks that I&apos;m going to have to figure out more closely to either suggest a change or come up with a workaround for. 

I&apos;m going to try your setEnv() trick from Pty::start(), but given that Konsole and Yakuake seem to act the same here with regard to screwing with LANGUAGE, my hopes are pretty slim.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>648342</commentid>
    <comment_count>5</comment_count>
    <who name="Eike Hein">hein</who>
    <bug_when>2008-09-23 15:56:14 +0000</bug_when>
    <thetext>In fact, even with LANGUAGE unset, Konsole and Yakuake both add it with &apos;en_US&apos; to the terminal environment when started from an xterm with a de_DE.UTF-8 environment. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>648343</commentid>
    <comment_count>6</comment_count>
    <who name="Eike Hein">hein</who>
    <bug_when>2008-09-23 15:57:28 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 149300 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>