SEF enabled
Load a page: https://www.example.com/anytext.html
Message according to language, for example, "404 URL inválida".
"404 URL invalid"
Joomla 3.9.21
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.
Labels |
Added:
?
|
Status | New | ⇒ | Confirmed |
@infograf768 errors in library files are not usually translatable
Same file has
joomla-cms/libraries/src/Router/Router.php
Line 193 in 11ec529
OK. I didnt see that one I just saw all the other non-translated strings
@infograf768 did you forget to make the patch?
On my list.
long list?
Must be a very long list
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-11-25 16:02:48 |
Closed_By | ⇒ | Quy |
Confirmed. Making patch.