News:

Looking for documentation? Take a look on our wiki

Main Menu

I cannot modify again some messages

Started by kovi, October 27, 2012, 12:28:04 PM

Previous topic - Next topic

kovi

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]

jjk

#1
Concerning the popup warnings in the ask a question form see here: 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.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

kovi

Oh, I have the latest virtuemart and I use the english version. I also tried with notepad++ but I don't find it.

jjk

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"
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

kovi

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.

jjk

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
You may try one of the translations available at the github link.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

kovi

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.

jjk

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.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

kovi

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.

kovi

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 ?

kovi

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.