how to change currency dolar $ sign to another lik euro etc.

A place to discuss and receive support for the Web Auction application.

Postby Nikothamus » Thu Aug 09, 2007 3:37 pm

hello.

i'm trying to translate auction and dataface files into polish lang.
i've found menu items and change them to polish but i can't find code entry that displays currency sign. default sign is us dollar $ but i want to change it to PLN (polish currency) or euro (EUR) sign.

where in code/files i can change this ?

thanks for any support.
Nikothamus
 
Posts: 5
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Aug 10, 2007 12:31 am

Right now you'll probably have to change this manually inside the source code files.Ê I believe that there's only about 2 places in the tables/products/products.php file.

-Steve

--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Karonthe » Wed Oct 29, 2008 2:09 am

Also you can find one (total bid amount) in conf\ApplicationDelegate.php :wink:
Karonthe
 
Posts: 9
Joined: Tue Oct 21, 2008 6:03 am

Re: how to change currency dolar $ sign to another lik euro

Postby pax » Thu Nov 15, 2012 2:33 am

There are a lot more, i think it should be an option in the .ini-File.
pax
 
Posts: 2
Joined: Thu Nov 01, 2012 7:53 am

Re: how to change currency dolar $ sign to another lik euro

Postby shannah » Sat Nov 17, 2012 1:37 pm

Agreed, this should be in an INI file.
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: how to change currency dolar $ sign to another lik euro

Postby rembert » Wed Dec 05, 2012 8:41 am

Indeed a lot more. But until they're in an INI file, a (probably non-final) list of what to change to get the currency to something else:

* changed '$' to '€ ' in (found those with grep -r "'\$'" *)
** function high_bid_amount__display in tables/products/products.php
** function current_bid__display in tables/products/products.php
** function minimum_bid__display in tables/products/products.php
** function handle in action/reports.php
** fucntion getAuctionWinnerMessage in include/functions.inc.php
* changed \$ to &euro  in (found those with grep -r '\\\$' * | more)
** function block__before_main_column in conf/ApplicationDelegate.php
** function handle in actions/watchlist
rembert
 
Posts: 1
Joined: Wed Dec 05, 2012 8:38 am


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved