eCommerce construction > How-to questions

How to translate names of currencies?

(1/1)

OneMore:
Is there a way to translate currency names?

So far as I can see, the "currencies" table only contains one monolingual "title" field describing the currency and there is no "currencies_description" table.

----
N.B. I am using Abantecart 1.211. Possibly was this implemented in later versions ?

OneMore:
Easiest solution for me has been simply not displaying currency names.

This can be easily achieved by removing the two HTML tags containing $currency[ 'title' ]; in the currency template: "storefront/view/default/template/blocks/currency.tpl"

As all currencies do not have a symbol, for greater consistency, I also recommend replacing the two instances of $currency[ 'symbol' ]; by $currency[ 'code' ]; in currency.tpl.

abantecart:
I am sorry, but we do not support v1.2 any longer.

Currencies are not multilingual. If you do not what to see title, yes, you can disable it.
Rather than removing code, I suggest to create a setting and create a pull request to current dev version. We will review and include into future release.

If there is a demand, we can consider to make currencies multilingual or wait for someone to contribute the change.

Thank you

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod