?
avatar jaimestuardo
jaimestuardo
22 Sep 2020

Steps to reproduce the issue

Expected result

Message according to language, for example, "404 URL inválida".

Actual result

"404 URL invalid"

System information (as much as possible)

Joomla 3.9.21

Additional comments

By searching for "URL invalid" in Joomla files, I found only one reference, line 238 of \libraries\src\Router\Router.php

`throw new RouteNotFoundException('URL invalid');`

That text is not translatable. I tried by adding the line URL invalid="URL inválida" in es-ES.ini file but no avail.

Notice that this happens only in route problem because the URL ends with html. If I write, for example, https://www.example.com/sfsfsdg the error shown is JERROR_PAGE_NOT_FOUND which is translatable.

avatar jaimestuardo jaimestuardo - open - 22 Sep 2020
avatar joomla-cms-bot joomla-cms-bot - change - 22 Sep 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Sep 2020
avatar jaimestuardo jaimestuardo - edited - 22 Sep 2020
avatar jaimestuardo jaimestuardo - change - 22 Sep 2020
The description was changed
avatar infograf768
infograf768 - comment - 22 Sep 2020

Confirmed. Making patch.

avatar jwaisner jwaisner - change - 22 Sep 2020
Status New Confirmed
avatar brianteeman
brianteeman - comment - 23 Sep 2020

@infograf768 errors in library files are not usually translatable

avatar infograf768
infograf768 - comment - 24 Sep 2020

Same file has

throw new \RuntimeException(\JText::sprintf('JLIB_APPLICATION_ERROR_ROUTER_LOAD', $client), 500);

avatar brianteeman
brianteeman - comment - 24 Sep 2020

OK. I didnt see that one I just saw all the other non-translated strings

avatar brianteeman
brianteeman - comment - 1 Oct 2020

@infograf768 did you forget to make the patch?

avatar infograf768
infograf768 - comment - 1 Oct 2020

On my list.

avatar brianteeman
brianteeman - comment - 23 Oct 2020

long list?

avatar brianteeman
brianteeman - comment - 13 Nov 2020

Must be a very long list

avatar brianteeman
brianteeman - comment - 25 Nov 2020

Gave up waiting - please test #31486

avatar Quy Quy - change - 25 Nov 2020
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2020-11-25 16:02:48
Closed_By Quy
avatar Quy Quy - close - 25 Nov 2020

Add a Comment

Login with GitHub to post a comment