Could you make currency's names are shown in local language?
Christian Stimming
stimming at tuhh.de
Thu Apr 22 10:00:57 EDT 2010
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
More information about the gnucash-devel
mailing list