gnuscash only starts in other language after logout/login

Bug #320481 reported by UweBrauer
6
Affects Status Importance Assigned to Milestone
gnucash (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gnucash

Hello

I would like to use gnucash in english, german and spanish.
I can set via the control center the default language (say german)
logout login and start gnucash indeed in german.
I even can do
env LANG=en gnucash
and it starts in english.

I cannot however
env LANG=es_ES gnucash

No I have again to change the default language and login/logout.
According to the gnucash mailing list this procedure should not be necessary.

Uwe Brauer

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Thanks for your bug report.

The behavior that you report is normal because your environment variable misses ".UTF-8". First of all, you need to install language support for "es" locale in ubuntu and then you should be able to start gnucash in that locale without restarting GNOME with this command :

LANG=es_ES.UTF-8 gnucash

If you can still reproduce that issue, can you set back the status of the bug report to "New" and give more information? Thanks again for your bug report.

Changed in gnucash:
status: New → Invalid
Revision history for this message
UweBrauer (oub) wrote : Re: [Bug 320481] Re: gnuscash only starts in other language after logout/login

>>>>> "Saïvann" == Saïvann Carignan <email address hidden> writes:

   > Thanks for your bug report.

   > The behavior that you report is normal because your environment
   > variable misses ".UTF-8". First of all, you need to install
   > language support for "es" locale in ubuntu and then you should be
   > able to start gnucash in that locale without restarting GNOME with
   > this command :

   > LANG=es_ES.UTF-8 gnucash

I tried this as well, and I ensure I do have installed the relevant
language support for es and de!

   > If you can still reproduce that issue, can you set back the status
   > of the bug report to "New" and give more information? Thanks again
   > for your bug report.

I can reproduce this error. Note please I am using Kubuntu! Could it be
caused by the KDE env?

Uwe Brauer

Revision history for this message
UweBrauer (oub) wrote :

Saïvann Carignan wrote:
> Thanks for your bug report.
>
> The behavior that you report is normal because your environment variable
> misses ".UTF-8". First of all, you need to install language support for
> "es" locale in ubuntu and then you should be able to start gnucash in
> that locale without restarting GNOME with this command :
>
> LANG=es_ES.UTF-8 gnucash
>
> If you can still reproduce that issue, can you set back the status of
> the bug report to "New" and give more information? Thanks again for your
> bug report.
>
> ** Changed in: gnucash (Ubuntu)
> Status: New => Invalid
>
I forget to add:

I obtain

nc.bin-Message: main: binreloc relocation support was disabled at configure
time.

  WARN <Gtk> Locale not supported by C library.

Uwe Brauer

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Hmm, this is indeed not normal. Can you copy here the result of this command in a terminal?

apt-cache policy language-pack-es

Changed in gnucash:
status: Invalid → Incomplete
Revision history for this message
UweBrauer (oub) wrote :

Saïvann Carignan wrote:
> Hmm, this is indeed not normal. Can you copy here the result of this
> command in a terminal?
>
> apt-cache policy language-pack-es
>
> ** Changed in: gnucash (Ubuntu)
> Status: Invalid => Incomplete
>
Hm

I obtain

language-pack-es:
   Installed: (none)
   Candidate: 1:8.04+20080805
   Version table:
      1:8.04+20080805 0
         500 http://es.archive.ubuntu.com hardy-updates/main Packages
      1:8.04+20080415 0
         500 http://es.archive.ubuntu.com hardy/main Packages

but I installed
language-support-es

So that might be the problem?
I installed language-pack-es

apt-cache policy language-pack-es

gives.

language-pack-es:
   Installed: 1:8.04+20090105.1
   Candidate: 1:8.04+20090105.1
   Version table:
  *** 1:8.04+20090105.1 0
         500 http://es.archive.ubuntu.com hardy-updates/main Packages
         100 /var/lib/dpkg/status
      1:8.04+20080415 0
         500 http://es.archive.ubuntu.com hardy/main Packages

but alas it still does not work!

Uwe Brauer

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Thanks for your testing!

Now that you have necessary packages installed, can you reboot and try again to launch gnucash with LANG=es_ES.UTF-8 gnucash ? Does the problem persist?

Revision history for this message
UweBrauer (oub) wrote :

Saïvann Carignan wrote:
> Thanks for your testing!
>
> Now that you have necessary packages installed, can you reboot and try
> again to launch gnucash with LANG=es_ES.UTF-8 gnucash ? Does the problem
> persist?
>
Oh i have to reboot, I thought I tested it already.

Ok I reboot.

Uwe

Revision history for this message
UweBrauer (oub) wrote :

>>>>> "Saïvann" == Saïvann Carignan <email address hidden> writes:

   > Thanks for your testing!
   > Now that you have necessary packages installed, can you reboot and try
   > again to launch gnucash with LANG=es_ES.UTF-8 gnucash ? Does the problem
   > persist?

Now it works but I have to specify:

 LANG=es_ES.UTF-8 gnucash

the menus are in english but the new accounts which are created are in
spanish.

 LANGUAGE=es_ES.UTF-8 gnucash

Menus are in spanish, but new accounts are created in english.

So finally it was the

language-pack-es

Instead of the

language-support-es

Which made the difference. Is language-pack-es included in recommended
pkg? It should I'd say.

Thanks for your help

Uwe Brauer

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Thank you for the confirmation.

Concerning the fact that gnucash is not 100% translated, you can use both LANGUAGE and LANG environment variables at the same time :

export LANGUAGE=es_ES.UTF-8
export LANG=es_ES.UTF-8
gnucash

Of course, accounts that have been created in the past will keep the same name, however the rest of gnucash should be translated. If it is still not 100% translated, then gnucash translations are probably not 100% complete for es locale and that can be reported at http://bugzilla.gnome.org/enter_bug.cgi?product=GnuCash

Concerning the language support, language-pack-es and other necessary language packages are normally installed through the language support tool which comes with ubuntu (I'm pretty sure that it exist somewhere in Kubuntu menus).

Thanks again for your bug report, according to the fact that it was due to a missing package, I mark the status to "Invalid". Don't hesitate to report bugs again in the future.

Revision history for this message
Victor Vargas (kamus) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in gnucash (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.