internationalizacion number format

Arthur Gregson arthurg at arrakis.es
Thu May 5 00:36:56 EDT 2005


On Wednesday 04 May 2005 16:10, Robert Heller wrote:

Robert

tried the cash wrapper as suggested by you(see below) - works great - thanks 
for all your help - also thanks to all others that pointed me in the right 
direction


> In message <200505041523.14077.arthurg at arrakis.es>, Arthur Gregson writes:
> >On Wednesday 04 May 2005 12:06, you wrote:
> >ok checked my locale settings - set to euro/madrid
> >still don't work
> >used your commandline LC_MONETARY=es_ES gnucash - works a treat, but, 2
> >questions....
> >
> >how do i set enviromental variable & how do i incorporate the commandline
> >(LC_MONETARY=es_ES gnucash) into the kmenu system - am using suse 9.3 and
> >just want to click on gnucash to bring program up
> >
> >at the moment my menu is showing this path ('/opt/gnome/bin/gnucash') -
> > and need to know how to add the above commandline as an extention to to
> > my path
>
> There are several options. You can:
>
> 1) Edit the system-wide local settings (somewhere usually in
> /etc/sysconfig/ is a file named i18n, to which you can add the line
>
> LC_MONETARY=es_ES
>
> This will affest ALL uses.
>
> 2) Edit your .bash_login, .profile, or .login file and add a line like:
>
> # sh and variants (bash, etc.)
> export LC_MONETARY=es_ES
>
> # csh and variants (tcsh, etc.)
> setenv LC_MONETARY es_ES
>
> This will take affect the next time you login and will affect all of
> your applications.
>
> 3) Create a new file under your home directory, say in ~/bin/ named
> gnucash_wrapper.sh, and insert into this file the following 3 lines (using
> a text editor like emacs or vi):
>
> #!/bin/sh
> export LC_MONETARY=es_ES
> /opt/gnome/bin/gnucash $*
>
> Make this file executable:
>
> chmod +x ~/bin/gnucash_wrapper.sh
>
> Then update your menu item to use the path:
>
> ~/bin/gnucash_wrapper.sh
>
> (you may or may not need to replace the '~' with the actual path to
> your home directory (such as /home/morten, making the path
> /home/morten/bin/gnucash_wrapper.sh).
>
> >after using your commanline as above and saving the gnucash account file -
> >everything reverts to original format !!
>
> The environment variables are not stored in the account file, nor is the
> currency symbols and other formatting information.  Just the raw
> numbers.  How those numbers are displayed or printed is determined at
> run time, at which time the environment variables are checked.
>
> >thanx for all your help
> >
> >> Hi
> >>
> >> The number format is based on your locale settings. To just change the
> >> monetary settings you would either add the environment variable
> >> 'LC_MONETARY=es_ES', or start gnucash with the commandline
> >> 'LC_MONETARY=es_ES gnucash'
> >>
> >> Morten
> >>
> >> On Wed, 2005-05-04 at 11:51 +0200, Arthur Gregson wrote:
> >> > been using gnucashcash for a few days - all ok - but need to change
> >> > number format to reflect european format..
> >> >
> >> > e.g.
> >> > using euro (configured in gnucash)
> >> > date format (configured in gnucash)
> >> > but now need to change number format.....
> >> >
> >> > usa & uk use number format - 1000,150.00 - seems to be hard configured
> >> > in gnucash
> >> >
> >> > europe uses 1000.150,00 -  notice the position of the comma & the dot
> >> >
> >> > i assume there is a config file somewhere - but no success so far.
> >> >
> >> > thanx
> >
> >--
> >need a competent computer specialist
> >contact here
> >ian.gregson at telefonica.net
> >_______________________________________________
> >gnucash-user mailing list
> >gnucash-user at gnucash.org
> >https://lists.gnucash.org/mailman/listinfo/gnucash-user
>
>                                      \/
> Robert Heller                        ||InterNet:   heller at cs.umass.edu
> http://vis-www.cs.umass.edu/~heller  ||            heller at deepsoft.com
> http://www.deepsoft.com              /\FidoNet:    1:321/153
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user

-- 
need a competent computer specialist
contact here
ian.gregson at telefonica.net


More information about the gnucash-user mailing list