VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: kovi on October 27, 2012, 12:28:04 PM

Title: I cannot modify again some messages
Post by: kovi on October 27, 2012, 12:28:04 PM
Hello,

I need again some help. I want to modify the messages which appear when a user did something wrong using the "Ask a question about this product" form. I found this messages but if I modify this messages the changing don't appear on the frontend, I deleted also the cache several times.  I modified this messages at the following root: com_virtuemart/assets/js/languages/jquery.validationEngine-en.js I attached a screenshot about this kind of messages.

And I also want to put some words before the word "Pending" which appear in the order email, but I don't find nowhere the word "Pending"

I hope somebody can help me again.

[attachment cleanup by admin]
Title: Re: I cannot modify again some messages
Post by: jjk on October 27, 2012, 19:49:14 PM
Concerning the popup warnings in the ask a question form see here: http://forum.virtuemart.net/index.php?topic=104621.msg348011#msg348011 (http://forum.virtuemart.net/index.php?topic=104621.msg348011#msg348011)

Concering the translation of the word "Pending" I would suggest to update your VirtueMart version. The order status was made translatable a while ago and the translation "In Bearbeitung" is included in the supplied german translation. (I suppose you are german since your image shows "Öko Test").
;)
BTW - if your Notepad++ doesn't find the string, look at the settings of your Notepad++ search window. You have to select "Search in files" and maybe have to adjust one of the other search option selections. Normally you find strings like "Pending" very quick, if you set a *.ini filter.
Title: Re: I cannot modify again some messages
Post by: kovi on October 27, 2012, 21:25:48 PM
Oh, I have the latest virtuemart and I use the english version. I also tried with notepad++ but I don't find it.
Title: Re: I cannot modify again some messages
Post by: jjk on October 27, 2012, 22:09:06 PM
My Notepad++ says:
...\language\en-GB\en-GB.com_virtuemart.ini
Line 284: COM_VIRTUEMART_ORDER_STATUS_PENDING="Pending"
and
...\administrator\language\en-GB\en-GB.com_virtuemart.ini
Line 1031: COM_VIRTUEMART_ORDER_STATUS_PENDING="Pending"
Title: Re: I cannot modify again some messages
Post by: kovi on October 28, 2012, 18:29:30 PM
Hello,

I found "Pending". It was at the following root: joomla backend/Components/VirtueMart/Configuration/Order Statuses

But for the rest of the messages which appear when somebody use the "Ask a question about this product" form I have still no idea.
Title: Re: I cannot modify again some messages
Post by: jjk on October 28, 2012, 18:59:59 PM
Quote from: kovi on October 28, 2012, 18:29:30 PM
But for the rest of the messages which appear when somebody use the "Ask a question about this product" form I have still no idea.

I mentioned the solution (link) above already:
http://forum.virtuemart.net/index.php?topic=104621.msg350513#msg350513 (http://forum.virtuemart.net/index.php?topic=104621.msg350513#msg350513)
You may try one of the translations available at the github link.
Title: Re: I cannot modify again some messages
Post by: kovi on October 29, 2012, 08:03:17 AM
Hello Dear jjk,

I read the topic on the link: http://forum.virtuemart.net/index.php?topic=104621.msg350513#msg350513

But my site use the english language, I don't need to translate, I just want to modify some words. I modified some words in the jquery.validationEngine-en.js file, but the modifications don't appear in the frontend.

Can you give please more explanation about what should I do exactly. Thank You.
Title: Re: I cannot modify again some messages
Post by: jjk on October 29, 2012, 09:29:24 AM
I didn't try this myself yet.
From what I can see there are two files containing i.e. the string "This field is required".
...\components\com_virtuemart\assets\js\languages\jquery.validationEngine-en.js
and
...\components\com_virtuemart\assets\js\jquery.validation.js
If changing the string in the first one doesn't display in the frontend, I guess it's the second one.
Title: Re: I cannot modify again some messages
Post by: kovi on October 29, 2012, 12:34:12 PM
Hello,

Thank you for your help, I did also in the second file, but for me no result. I don't know what should I do.
Title: Re: I cannot modify again some messages
Post by: kovi on October 29, 2012, 19:56:56 PM
Hello,

I discovered that in the frontend appear my rewritten alert text messages but only if I open my site with www. Can help me somebody to do this without using www ?
Title: Re: I cannot modify again some messages
Post by: kovi on October 29, 2012, 21:45:51 PM
It was a browser cache problem. After I cleared my browser cache I got the messages in both variant, with and without www, now everything works fine.