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)
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.
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..
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 (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)
ok, thanks. I will try that first thing
Thanks jjk, that did the trick:)
Is it planned to be implemented in language files or it is not possible?
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
I made bulgarian translation and posted it in Coding central to implement in next version....