# gitk fails to start after upgrading to 2.6.3 (cannot load translation)

3 messages from 2015-11-10 to 2015-11-10. Participants: Peter Krefting, Dennis Kaarsemaker, Beat Bolli.
Thread: https://gitlist.dev/t/40758

## Peter Krefting, 2015-11-10 09:48

Subject: gitk fails to start after upgrading to 2.6.3 (cannot load translation)
Message-ID: <alpine.DEB.2.00.1511101040180.27599@ds9.cixit.se>
URL: https://gitlist.dev/e/alpine.DEB.2.00.1511101040180.27599%40ds9.cixit.se

```
Hi!

After upgrading Git to 2.6.3 (from 2.5.0), gitk refuses to start when 
trying to load the Swedish translation if I pass it a commit range:

   $ gitk v2.5.0..v2.6.3
   Error in startup script: bad menu entry index "Ändra vy..."
       while executing
   ".bar.view entryconf [mca "Edit view..."] -state normal"
       invoked from within
"if {$cmdline_files ne {} || $revtreeargs ne {} || $revtreeargscmd ne {}} {
     # create a view for the files/dirs specified on the command line
     se..."
     (file "/usr/local/bin/gitk" line 12442)

If I start it without any parameters, it does start up, but the main 
menu is untranslated.

The translation for this entry is defined in gitk-git/po/sv.po line 135 
and hasn't changed since 2008, even if the sv.po file does have a few 
updates since the previous version in some other places.

-- 
\\// Peter - http://www.softwolves.pp.se/

```

## Dennis Kaarsemaker, 2015-11-10 10:09

Subject: Re: gitk fails to start after upgrading to 2.6.3 (cannot load translation)
Message-ID: <1447150189.5074.22.camel@kaarsemaker.net>
URL: https://gitlist.dev/e/1447150189.5074.22.camel%40kaarsemaker.net
In-Reply-To: <alpine.DEB.2.00.1511101040180.27599@ds9.cixit.se>

```
On di, 2015-11-10 at 10:48 +0100, Peter Krefting wrote:
> Hi!
> 
> After upgrading Git to 2.6.3 (from 2.5.0), gitk refuses to start when
> trying to load the Swedish translation if I pass it a commit range:

Hi Peter,

This bug has been reported a few times already and a fix will be in git
2.7.
-- 
Dennis Kaarsemaker
www.kaarsemaker.net

```

## Beat Bolli, 2015-11-10 19:38

Subject: Re: gitk fails to start after upgrading to 2.6.3 (cannot load translation)
Message-ID: <564247CC.5060702@drbeat.li>
URL: https://gitlist.dev/e/564247CC.5060702%40drbeat.li
In-Reply-To: <alpine.DEB.2.00.1511101040180.27599@ds9.cixit.se>

```
On 10.11.15 10:48, Peter Krefting wrote:
> Hi!
> 
> After upgrading Git to 2.6.3 (from 2.5.0), gitk refuses to start when
> trying to load the Swedish translation if I pass it a commit range:

The patch can be found here:

http://article.gmane.org/gmane.comp.version-control.git/278863

Cheers,
Beat

```
