I'm still learning Java/CSS so hopefully this is a basic question. When you select required and current_date as the default for a date, the message "date will be required..." shows up. I need to have that show up in French, but I'm not sure how to identify the class/type etc to make that happen ... You help is appreciated!
Question
Question
How can I hide (or translate) the "date will be captured on form submission" message
Replies
If your Browser Language is set to French, it should translate automatically. Are you attempting to have a mult-language Form where you can switch between languages?
Thank you! This is the information I was looking for. I would eventually like to have a multi language form, but this is good for now!
Actually I changed my browser language and the text is still in english... Also the "sign" button name is english too. So I'm not quite fixed :-(
Hi Dominique
Is your version of Laserfiche OnPrem or Cloud?
If OnPrem, when you open Laserfiche Forms, are the menues in Forms itself in French after changing your browser language (You have to close and reopen the browser after making the change). Which browser are you using?
Our Laserfiche is on Prem and I'm using chrome (we publish forms to the web). We do french and english forms, the default being english. I changed my language preference in Chrome to French and restarted my browser as well. The menus are still in English in the browser after the change. Thanks!
WHat verion of Laserfiche Forms are you running?
Laserfiche Forms Professional Version 10.4.5.316
Is there any way to do this in JS to avoid having the user select their language and make the form automatically change that label?
Been playing around with this code below found on the web. Found putting the form labels in French and then letting Google translate to English is better than the other way around. I'm not a coder, so I expect there are better ways to do this, but something to start with.
$.getScript("//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit");
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'En',
includedLanguages: 'fr,en',
autoDisplay: false
}, 'google_translate_element');
var a = document.querySelector("#google_translate_element select");
a.selectedIndex=1;
a.dispatchEvent(new Event('change'));
}