Post by webvet » Thu May 08, 2014 7:57 pm

Hi there,
I'm looking for some help making one of my extensions multi-language compatible.

The extension, http://www.opencart.com/index.php?route ... on_id=4498, displays the percentage saving on products with a special price. It is written in english and shows the new text: 'SAVE xx%' under the prices for modules (bestsellers, latest, featured, specials), product pages, category pages, specials page, manufacturers/brands page, search results, product comparison table.

I am looking for help to translate the 'SAVE' into other languages, so that it will work straightaway without the need for users to add any extra lines to the xml file (it is a vQmod).

Any help gratefully appreciated,

webvet

Genuine, Honest Opencart Support @ http://webvetservices.com


User avatar
Active Member

Posts

Joined
Thu May 14, 2009 2:04 am
Location - Shropshire, UK

Post by pprmkr » Thu May 08, 2014 9:32 pm

Added language sections to xml and using sprintf ...

Attachments


User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by webvet » Thu May 08, 2014 9:56 pm

Thanks for that PPRMKR - french and dutch taken care of!

Like the use of sprintf - have already re-written a lot of the xml code to take advantage of some the multiple files & basepaths so may move these across.

If anyone could post the german/italian/russian etc text for 'You Save', 'Save' or similar that would be great.

Genuine, Honest Opencart Support @ http://webvetservices.com


User avatar
Active Member

Posts

Joined
Thu May 14, 2009 2:04 am
Location - Shropshire, UK
Who is online

Users browsing this forum: No registered users and 1 guest