Post by dad » Wed Feb 04, 2009 1:52 am

Multilanguage currency title

I would like to get possibility to change currency title, right and left symbol of the currency according to the installed languages.

I installed fresh version of OpenCart 7.9 and added a new language "Lang" as copy of the English language. Then the database table "currency" was divided on the table "currency" with the fields

(currency_id, code, decimal_place, value, date_modified)

and a new table "currency_description" with the fields

(currency_id, language_id, title, symbol_left, symbol_right).

Files which are connected with output of the currency title were changed in the same way as for image title, category, products, etc.

...\admin\template\default\content\currency.tpl - work!
...\admin\controller\currency.php - ?

Is there anybody here who can help in this matter?

dad
New member

Posts

Joined
Tue May 27, 2008 4:30 am

Post by Qphoria » Wed Feb 04, 2009 3:00 am

I actually modded this somewhere but never released. Let me see if I can find it

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by dad » Wed Feb 04, 2009 3:52 pm

Can you check my files and give me some ideas? Which of other files should be changed?

dad
New member

Posts

Joined
Tue May 27, 2008 4:30 am

Post by Qphoria » Wed Feb 04, 2009 8:38 pm

I'll release this today

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 42 guests