J4 Issue ?
avatar infograf768
infograf768
8 May 2019

Steps to reproduce the issue

Install Persian language
Add this file to the Persian admin language where I have translated just a few strings for the demonstration. (Change .txt to .ini) and switch admin language.

fa-IR.plg_system_skipto.txt

Results

In English

Screen Shot 2019-05-08 at 09 27 28

In Persian

Screen Shot 2019-05-08 at 09 07 24

Screen Shot 2019-05-08 at 09 35 38

The words "Main:", "Nav:" and "Search" are not translated, whatever the language.

In RTL, the dropdown is displayed to the left of the screen and the text-align is set to left, although both should be to the right.

We should get something like this (h1, h2, are correctly displayed when the item concerned is rtl language):

Screen Shot 2019-05-08 at 10 29 16

TheSkipTo.css file is loaded first from the vendor folder. It should be possible therefore to add a build/plg_system_skipto/css/SkipTo-rtl.min.css which would be loaded by skipto.php when language is RTL.
Remains to decide if it should be a complete file or just contain the necessary overrides.

avatar infograf768 infograf768 - open - 8 May 2019
avatar joomla-cms-bot joomla-cms-bot - change - 8 May 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 May 2019
avatar infograf768 infograf768 - change - 8 May 2019
The description was changed
avatar infograf768 infograf768 - edited - 8 May 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 8 May 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 8 May 2019
avatar brianteeman
brianteeman - comment - 8 May 2019

The words "Main:", "Nav:" and "Search" are not translated, whatever the language.

They are aria terms so should not be translated

avatar infograf768
infograf768 - comment - 8 May 2019

I understand these ARIA role terms are normally markup terms i.e. <main> or <nav> ... </nav> or <search>
I still don't understand why they should be displayed as such in the dropdown.
Is it simply an overseen in the js?

Modified Note: Do I mistake or Search does not display the Search field?
It does focus after tabbing but the page has already scrolled down, thus hiding the field.

avatar franz-wohlkoenig franz-wohlkoenig - change - 9 May 2019
Status New Discussion
avatar brianteeman
brianteeman - comment - 4 Jan 2021

Hopefully most of this will be resolved by #31854

avatar Quy
Quy - comment - 11 Feb 2021

@infograf768 Please confirm fix with PR #32043.

avatar infograf768
infograf768 - comment - 11 Feb 2021

Will try to test asap

avatar infograf768 infograf768 - close - 12 Feb 2021
avatar infograf768
infograf768 - comment - 12 Feb 2021

remains some stuff todo. Creating issue now.
Closing this one.

avatar infograf768 infograf768 - change - 12 Feb 2021
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2021-02-12 10:57:24
Closed_By infograf768

Add a Comment

Login with GitHub to post a comment