Skip to content

WUI: Fallback to english on registration form

Jednotné přihlášení test requested to merge github/fork/zlamalp/form into master

Created by: zlamalp

  • If form item doesn't have properties for specific locale, it showed wrong form (fallback to labels, empty help or error messages).

  • Now for cases when localized property is null or empty we fallback to "en" lang and return it instead.

  • If its still null or empty, we fallback to previous solutions.

  • This helps instances with a single language, since if user accessed them with locale supported by our GUI, it draw wrong form. Now it falls back to English.

Merge request reports