Page 1 of 1
Error messages not in local language.
Posted: 02 Mar 2018
by skiptheb
We have product installed on German Site but error message are in english. Is there a way to modify the messages?
Thanks
skiptheb
Re: Error messages not in local language.
Posted: 02 Mar 2018
by Nikita Kurguzov
Dear skiptheb,
Can you please show us what you mean by error messages? Some of them should already be localized.
A screenshot or two might help, just to be sure we are on the same page.
Re: Error messages not in local language.
Posted: 06 Mar 2018
by skiptheb
- Plumsail.JPG (68.55 KiB) Viewed 11449 times
example as requested.
skiptheb
Re: Error messages not in local language.
Posted: 06 Mar 2018
by skiptheb
Sorry, just realized you may not speak German
,
The first list is Plumsail Lookup without SPForms, the second is when PSailLookup is included in a SPForm.
skiptheb
Re: Error messages not in local language.
Posted: 06 Mar 2018
by Nikita Kurguzov
Dear skiptheb,
I see. The easiest solution here would be to add the following code to the JS editor in the desinger:
Code: Select all
var errors = $('.ms-formvalidation');
if (!errors){
errors = [];
}
errors.each(function(i, error){
if($(error).text() == 'You must specify a value for this required field.'){
$(error).text('Dieser Wert darf nicht leer sein.');
}
});
If there are any errors like I see on the screenshot, it will find them and replace the English text with the German one.
Re: Error messages not in local language.
Posted: 09 Mar 2018
by skiptheb
Thanks, that was already our solution, just seems that it should not be necessary.
skiptheb