You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Lukas Finster (Jira)" <ji...@apache.org> on 2026/03/05 13:15:00 UTC
[jira] [Commented] (OFBIZ-13340) Inconsistent wording in ScurityUiLabels.xml
[ https://issues.apache.org/jira/browse/OFBIZ-13340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18063218#comment-18063218 ]
Lukas Finster commented on OFBIZ-13340:
---------------------------------------
Hi Jacques,
please excuse the late reply.
Easiest way to reproduce is:
Start a local OFBiz instance.
Go to the login page, type an incorrect password e.g. 'admin' and 'notTheStandardPassword' and take note of the displayed error message for different languages.
Without being logged in language is determined by Browser language so just change that, no need to restart ofbiz or anything.
Note the difference between languages with only ${errorMessage} e.g. French and some-text-and-then ${errorMessage} e.g. English.
Example French (References errors once):
Erreur(s) :
Mot de passe incorrect.
Example English (References errors twice):
The Following Errors Occurred:
following error occurred during login: Password incorrect.
Example English with fix applyed (references errors once):
The Following Errors Occurred:
Password incorrect.
> Inconsistent wording in ScurityUiLabels.xml
> -------------------------------------------
>
> Key: OFBIZ-13340
> URL: https://issues.apache.org/jira/browse/OFBIZ-13340
> Project: OFBiz
> Issue Type: Improvement
> Components: framework/common
> Reporter: Lukas Finster
> Priority: Trivial
>
> The UI label {{loginevents.following_error_occurred_during_login in }}{{{}framework/common/config/SecurityextUiLabels.xml{}}}{{{}{}}} is inconsistently translated across locales.
> Some languages only display {{${errorMessage}}} without context, while others include a full sentence (e.g. “following error occurred during login”).
> This leads to ambiguous and inconsistent user-facing error messages.
>
> Using only {{${errorMessage}}} for all locales ensures consistency across languages, avoids redundant or awkward translations, and prevents grammatical issues when error messages are dynamically generated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)