single currency for multiple languages

Author Message

Claudia Kosny

Tuesday 06 March 2007 3:12:53 am

Hi there

I am a bit confused about the way currencies work. I have a site with a french, english and russian siteaccess, but the prices should always be displayed in US Dollar. The problem is that every siteaccess uses the siteaccess specific language symbol.

I have created a currency for US Dollar and set the preferred currency to this currency, but this did not change anything.

The only workaround I can see is to change the ini files in the /share/locale folder, which I would rather not do.

So is there a way to override the currency settings?

Thanks

Claudia

Claudia Kosny

Monday 12 March 2007 3:09:52 am

Bump...

Is that really not possible?

I just want to use the same currency no matter the current language without having to type the currency symbol in the template or (hopefully) without changing the language specific locale.ini in the share folder.

Thanks

Claudia

J-A Eberhard

Monday 12 March 2007 4:14:33 am

It might be looking nuts but... I'm using the multiprice product and setup only one currency....

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Claudia Kosny

Monday 12 March 2007 7:51:34 am

Hi

This works fine for products. But if I have to display static prices (e.g. shipping info) and use l10n('currency') I still get the local currency, not the preferred currency :-(

Well, looks like I have to stick with changing the locale.ini files then.

Claudia

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 10:23:08
Script start
Timing: Jan 18 2025 10:23:08
Module start 'layout'
Timing: Jan 18 2025 10:23:08
Module start 'content'
Timing: Jan 18 2025 10:23:08
Module end 'content'
Timing: Jan 18 2025 10:23:08
Script end

Main resources:

Total runtime0.0167 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.4766152.6406
Module start 'layout' 0.00610.0037 742.117239.4766
Module start 'content' 0.00980.0047 781.593889.2422
Module end 'content' 0.01450.0022 870.835934.3047
Script end 0.0167  905.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002615.6890140.0002
Check MTime0.00127.1712140.0001
Mysql Total
Database connection0.00116.636210.0011
Mysqli_queries0.003018.027130.0010
Looping result0.00000.095610.0000
Template Total0.001710.310.0017
Template load0.00095.617710.0009
Template processing0.00084.630510.0008
Override
Cache load0.00063.703310.0006
General
dbfile0.00031.693380.0000
String conversion0.00000.054240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs