VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: maxdeal on September 15, 2012, 16:39:13 PM

Title: Shopping cart text "Notes and special requests"
Post by: maxdeal on September 15, 2012, 16:39:13 PM
Hi,

Where can I change the text "Notes and special requests" that you will find in the lower part of the cart?
I have changed a lot of other texts but have not managed to find this.

It's kind of stupid to have this in english when the rest is in norwegian :-)


Maxdeal


Title: Re: Shopping cart text "Notes and special requests"
Post by: bytelord on September 18, 2012, 11:20:00 AM
Hello,

The string is COM_VIRTUEMART_COMMENT_CART and is located inside lang_com_virtuemart.ini
But you should use joomla 2.5 language override option. Take a look here: http://forum.virtuemart.net/index.php?topic=106483.msg355751#msg355751

Hope helps you out.

Regards
Title: Re: Shopping cart text "Notes and special requests"
Post by: maxdeal on September 22, 2012, 22:23:54 PM
Hi,

I can not see that this is correct. COM_VIRTUEMART_COMMENT_CART can not be found in the ini file.

I am using the latest version of virtuemart.

The text I'm looking for, and want to change, is "Notes and special requests"

Joomla 2.5.6
Virtuemart 2.0.10
Title: Re: Shopping cart text "Notes and special requests"
Post by: jjk on September 22, 2012, 23:05:49 PM
Normally it is in the file YourJoomlaRootFolder\language\nb-NO\nb-NO.com_virtuemart.ini, line 112, which reads: COM_VIRTUEMART_COMMENT_CART="Merknader og ønsker". (Provided that you are using the Norwegian Bokmål language files). If it doesn't load for some reasion, please enable 'Debug Language' in the Joomla configuration, then go to your cart page and see if Joomla Debug reports any errors.
Title: Re: Shopping cart text "Notes and special requests"
Post by: maxdeal on September 23, 2012, 00:20:12 AM
ok, then I managed to fix it :-)

Looks like it was some kind of update problem.

I also want to have norwegian text in the e-mail sent to the shopper when I select the shipped status for the order.
I can see all the texts for the other e-mails, but not this one.

The text is something like this: "<order number>, Shipped order from <company>, total kr100"
Title: Re: Shopping cart text "Notes and special requests"
Post by: jjk on September 23, 2012, 20:00:28 PM
I think at present the status emails depend on the selected backend language. So if you want to send norwegian status change emails, you will have to switch your Joomla backend (administrator) language to norwegian first.
Title: Re: Shopping cart text "Notes and special requests"
Post by: bytelord on September 23, 2012, 21:32:14 PM
As jjk said the email language depends on the language you have on the FE when you make (or a client makes) an order from the FE.
Every time you update order status from the BE also the language that will be used on emails depends with the language your have currently logon at the BE.

PS: This will be a nice feature for 2.2 (Select by default mail language options).

Regards
Title: Re: Shopping cart text "Notes and special requests"
Post by: maxdeal on September 24, 2012, 09:40:10 AM
This is not the solution to my problem. All my e-mails are in norwegian except the e-mail sent when the status is "Shipped"
I can se all the subject texts for the e-mails lying in the nb_NO.com_virtuemart.ini but not the one for the shipped status e-mail to the shopper. The e-mail comming to me is in norwegian. That is also added in the ini file.

this is what I have in the ini file
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_B="[%3$s] - Bekreftet ordre på %1$s, på totalt %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_C="[%3$s] - Bekreftet ordre på %1$s, på totalt %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_P="[%3$s] - Ventende ordre på %1$s, på totalt %2$s"
COM_VIRTUEMART_MAIL_SUBJ_VENDOR_B="[%3$s] - Bekreftet ordre av %1$s, på totalt %2$s"
COM_VIRTUEMART_MAIL_SUBJ_VENDOR_C="[%3$s] - Bekreftet ordre av %1$s, på totalt %2$s"
COM_VIRTUEMART_MAIL_SUBJ_VENDOR_P="[%3$s] - Ventende ordre av %1$s, på totalt %2$s"
COM_VIRTUEMART_MAIL_SUBJ_VENDOR_R="[%3$s] - Refundert ordre for %1$s, på totalt %2$s"
COM_VIRTUEMART_MAIL_SUBJ_VENDOR_S="[%3$s] - Utlevert ordre for %1$s, på totalt %2$s"
COM_VIRTUEMART_MAIL_SUBJ_VENDOR_X="[%3$s] - Annullert ordre for %1$s, på totalt %2$s"

I added the following without any result:
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_S="[%3$s] - Utlevert ordre for %1$s, på totalt %2$s"
Title: Re: Shopping cart text "Notes and special requests"
Post by: jjk on September 24, 2012, 11:24:10 AM
Quote from: maxdeal on September 24, 2012, 09:40:10 AM
I added the following without any result:
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_S="[%3$s] - Utlevert ordre for %1$s, på totalt %2$s"

On my installation this line already exists in the backend language file in line 765.
There should also be a corresponding line in the frontend language file ...\language\nb-NO\nb-NO.com_virtuemart.ini (line 185):
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_S="[%3$s] - Levert ordre fra %1$s, på totalt %2$s"