By default, there is a language selector in Form Runner, at the top right of the form. You can see it in the screenshot below. So you seem to have 2 problems:
1. If English is in available, Form Runner still uses resources in English instead of in the current language.
2. Form Runner doesn't pick your default language.
For #1, I've created a form (form.xml
) in 4 languages, en fr de sv, and set the following property:
name="oxf.fr.available-languages.*.*" value="en fr de sv"/>
I select Swedish ("Svenska"), submit the form, and the message for "Missing or incorrect value" shows in Swedish, as expected, which seems different than what you describe in #1.
For #2, using the same form, I've also set the following property:
If I reload the form, it shows in whatever language I selected earlier. But if I clear the JSESSIONID, and reload the page, now Swedish is picked. Are you seeing something different, or testing this differently? Now if I add ?fr-language=fr to the URL, the language switches to French, as if the user had clicked on "Français" in the language selection widget.
While testing this I've hit an issue where if a message is shown in the error summary, and you switch languages, the language of the message doesn't update right away. I've created bug for this:
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet