No Code Attached Yet a11y
avatar chmst
chmst
9 Sep 2024

Steps to reproduce the issue

JLIB_HTML_GOTO_POSITION="Go to %s page" cannot be tranlated properly into German (and probably also other languages).

Any site with a pagination.
Look into the sourcecode or use WAVE to inspect the site and make ARIA labels visible.

English Pagination texts are correct, or at least I understand.
grafik

Expected result

Normal and correct German translation. For example "Gehe zur nächsten Seite" and "Gehe zur letzten Seite".
This is not possible with one language String,
The translated text is not understandable.

Actual result"

grafik
It is impossible to translate this into a correct German sentence.

System information (as much as possible)

Additional comments

avatar chmst chmst - open - 9 Sep 2024
avatar joomla-cms-bot joomla-cms-bot - change - 9 Sep 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Sep 2024
avatar chmst chmst - change - 9 Sep 2024
Labels Added: a11y
avatar chmst chmst - labeled - 9 Sep 2024
avatar chmst chmst - change - 9 Sep 2024
The description was changed
avatar chmst chmst - edited - 9 Sep 2024
avatar brianteeman
brianteeman - comment - 9 Sep 2024

Not sure I really understand but isnt this a language string issue for the german TT to handle?

The pagination strings are generated from a combination of TWO language strings. For example Next item is a combination of
JLIB_HTML_GOTO_POSITION and JNEXT

avatar brianteeman
brianteeman - comment - 9 Sep 2024

JLIB_HTML_GOTO_PAGE="Gehe zur Seite %s"
JLIB_HTML_GOTO_POSITION="Zur Seite %s wechseln"

JLIB_HTML_GOTO_PAGE="Go to page %s"
JLIB_HTML_GOTO_POSITION="Go to %s page"

Seems to me that you are saying the German strings should be
JLIB_HTML_GOTO_PAGE="Gehe zur Seite %s"
JLIB_HTML_GOTO_POSITION="Gehe zur %s Seite"

avatar chmst
chmst - comment - 9 Sep 2024

No. German is difficult :) We need extra strings for every case. Will make a PR right now.

avatar chmst chmst - change - 9 Sep 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-09-09 14:01:23
Closed_By chmst
avatar chmst chmst - close - 9 Sep 2024
avatar chmst
chmst - comment - 9 Sep 2024

Please test #44050

Add a Comment

Login with GitHub to post a comment