Could you make currency's names are shown in local language?

Phil Longstaff plongstaff at rogers.com
Thu Apr 22 10:24:48 EDT 2010


Yesterday's 2.3.12 release was meant to be string freeze.  If your change is judged to be really important, I guess it would need to be done and then 2.3.13 released with this change and *it* would be the string freeze release.

 Phil
---------
I used to be a hypochondriac AND a kleptomaniac. So I took something for it.




________________________________
From: Christian Stimming <stimming at tuhh.de>
To: Dancefire <dancefire at gmail.com>
Cc: gnucash-devel at gnucash.org
Sent: Thu, April 22, 2010 10:00:57 AM
Subject: Re: Could you make currency's names are shown in local language?

Zitat von Dancefire <dancefire at gmail.com>:
> The name of currency in the list should be translated to local language.
> 
> I found the discussion on bugzilla,
> https://bugzilla.gnome.org/show_bug.cgi?id=118391
> But it's 4 years ago. Any progress for using the package?

Unfortunately no. There hasn't been any work in that direction so far since the comments in the bugzilla entry.

> http://alioth.debian.org/projects/pkg-isocodes
> 
> Since the translation is already there, could you help me to make it
> localized?

The strings would need to be marked so that they get included into the gnucash.pot translation template. In iso-4217-currencies.scm you need to enclose the first string by the (N_ ... ) scheme function, such as (N_ "US Dollar"). Then run "make pot", which should make those strings appear in the gnucash.pot translation template. Then translate them in your po file (de.po or similar). Then run "make install" in the po/ directory. After that, the translation should be there.

In particular, the call to the translation function itself is already included in the program (in the C code generated by iso-currencies-to-c, where it says "_(fullname)" ), but currently it doesn't get any translation because the strings are not included in the gnucash.pot in the first place.

Regards,

Christian

_______________________________________________
gnucash-devel mailing list
gnucash-devel at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


More information about the gnucash-devel mailing list