I have forms that have to be offered in multiple languages, but I want to be able to pull all of the data back as a single process. What I've done is to create three versions of every field - one English, one Spanish, and one hidden backend variable. When English is selected, the Spanish fields are hidden and vice versa, and whatever selections are made on either version are copied via javascript to the backend variable. It works pretty much, but sometimes selections don't make it into the backend and besides the difficulty in creating it, making any changes becomes exponentially more difficult and time consuming.
Discussion
Discussion
Thanks for the feature request. We have this as a high-priority item and it's being considered for an up-coming release.
Here is a post with some other ideas on how to accomplish this currently: https://answers.laserfiche.com/questions/174416/Form-In-Multiple-Languages#175657
Is there any update on the status of this feature request?
It was waiting behind the release of the new layout form designer which was just released with Forms 11. Still a high priority item.
Thanks for the update
Is there any update on this please? We are also needing to develop a Form in English and Spanish.
Priya, if you're needing something soon you can embed Google Translate if you haven't already.
You'll need to create a custom html object with HTML something like:
<p><b>Language Selector</b></p> <div id="google_translate_element"></div>
In the form's CSS/JavaScript add this outside (before) the $(document).ready block:
$.getScript("//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"); function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en' }, 'google_translate_element'); }
Thanks. Is this API free to use for educational institutions?
Yes absolutely!
Thanks
Is this the supported way from Laserfiche for displaying Forms in multiple languages or are there any other ways please?
No, as far as I'm aware Laserfiche has not released an officially supported method to select multiple languages; I know they were working on it so I could be wrong but I do not believe they have released that as a feature yet.
Thanks
Is it possible to restrict the dropdown when using google translate API to just display English and Spanish options in the Language Selector dropdown?
When you sign up for an account you can select the languages that should appear in the language dropdown as well as customize translations that may be incorrect. You can see my instructions here: How To: Integrate Google Translate with Laserfiche Forms - Laserfiche Answers.