VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: diogodac on April 22, 2013, 03:03:58 AM

Title: where to translate pending?
Post by: diogodac on April 22, 2013, 03:03:58 AM
Hello, where can I translate the orders status?

pending.. confirmed... etc

king regards
Title: Re: where to translate pending?
Post by: AH on April 22, 2013, 09:25:23 AM
There MUST be more to this question?

Admin / Configuration / Order Status
Title: Re: where to translate pending?
Post by: jenkinhill on April 22, 2013, 10:45:41 AM
If you mean you want to translate the words into your own language, and those are not already translated in your language files then you can use language overrides, this works for frontend and backend text. http://forum.virtuemart.net/index.php?topic=113895.0

It is possible that the variables were not included in you language files, in which case the system falls back to using the Englinsh language values. In this case there could be problems with multi-ligual sites if you do not add the variables into those original files. For single language sites just using overrides is the simplest solution, as they do not get overwritten during updates.
Title: Re: where to translate pending?
Post by: luizwbr on June 24, 2013, 15:09:24 PM
Hi @jenkinhill, i suggest make a change in VM core to fix this.

I think the fix wil be like this:

Before:
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_A = "[%3$s], Order Pending %1$s, total %2$s

After:
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_A = "[%3$s], %4$s %1$s, total %2$s

Where %4$s will bring the order status from database.

:D