Guest Posted September 28, 2002 Share Posted September 28, 2002 I have been trying to add a Canadian "language" (using american english files :wink: ) so that users can select the canadian flag and get all prices in Canadian dollars instead of US dollars. What I seem to be missing, is how the language gets related to the currency. What's the trick? Bryan Link to comment Share on other sites More sharing options...
Mark Evans Posted September 28, 2002 Share Posted September 28, 2002 What I seem to be missing, is how the language gets related to the currency. What's the trick? Look in english.php or canadian.php ;) For the following // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language) define('LANGUAGE_CURRENCY', 'USD'); :) Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
Guest Posted September 28, 2002 Share Posted September 28, 2002 Thanks... Done Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.