News:

Support the VirtueMart project and become a member

Main Menu

Can't find string for warning text in "ask a question" modal popup..

Started by Genius WebDesign, June 29, 2012, 21:47:39 PM

Previous topic - Next topic

Genius WebDesign

Hi,

I'm trying to find the language file and string to translate the warning text that is shown when not enough characters are written in the "ask a question" modal popup:

* This field is required
* Minimum 50 characters allowed

Does anyone know in which language file this string is located? (I have of course tried en-GB.com_virtuemart.ini but that's not it)


jjk

I guess it's related to ...\components\com_virtuemart\assets\js\languages\jquery.validationEngine-en.js, but I don't know how the translation works in this case.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Genius WebDesign

It´s pretty strange.. I cant imagine that the text is not just a simple text-string from one of the system language files.

Does anyone have an idea as to where this text string is located?

I can see that the text is wrapped in a div class="formErrorContent" - dont know if that helps..

jjk

I just had a look at this again. I'm pretty sure that you have to open the file ...\components\com_virtuemart\assets\js\languages\jquery.validationEngine-en.js in an editor (i.e. Notepad++), translate the strings into the language you are missing and save the file with your language suffix (replace -en.js) at the end in the same folder. Let me know if this works.

If you are lucky, you may find a version of the file which matches the english version here: https://github.com/posabsolute/jQuery-Validation-Engine/tree/master/js/languages
I suppose the version currently used in VM2 is from around April or May 2011. (Browse the file history)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Genius WebDesign


Genius WebDesign


servlet

Is it planned to be implemented in language files or it is not possible?
Он-лайн магазин за фототапети http://mishelfoster.com

jjk

It is currently not planned to be implemented into VM language files. But I suppose you are looking for a bulgarian translation. Please have a look here:
https://github.com/posabsolute/jQuery-Validation-Engine/pull/688
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

servlet

I made bulgarian translation and posted it in Coding central to implement in next version....
Он-лайн магазин за фототапети http://mishelfoster.com