Solved

Currency change in E-Directory

Posted on 2010-08-16
3
242 Views
Last Modified: 2013-12-13
Hey all.
I have a client using the E-Directory software.
The software uses a mysql databse.

What my client needs is the American elements putting to British so $ to £ etc.
In the root directory there's a folder called lang where I found en_us.php and en_us_sitemgr.php . In them files I found $0.00 and changed to £0.00 and zipcode to postcode. When I uploaded the files it broke the site so throughout the site it said "%%LNG_listing%%" for each button title etc.

I'm guessing this means the parts I've changed are referenced somewhere else as well.

I have attached the original files I've mentioned above.

If someone could give me a hand in fixing this I would be very grateful.

Thanks in advance.


en-us.php
en-us-sitemgr.php
0
Comment
Question by:Kevin2010
3 Comments
 
LVL 14

Accepted Solution

by:
Kalpan earned 250 total points
ID: 33443895
Please change the following line with conf/payment.inc.php

define(PAYMENT_CURRENCY, "USD");
define( CURRENCY_SYMBOL, "$ ");

also regarding to your errors please change the typo

%%LNG_listing%%, it should be LANG_listing or LANG_LISTING where you may find issue

thanks



0
 

Author Closing Comment

by:Kevin2010
ID: 33443977
Quick response. Excellant.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now