Edit an article in frontend.
Click on Article
button in editor.
No untranslated strings.
Untranslated JGLOBAL_LIST_ALIAS
and JGLOBAL_LIST_ALIAS_NOTE
strings. Debug also reports these:
# JROOT\libraries\src\Language\Text.php
JAUTHOR_ASC="ASC"
JAUTHOR_DESC="DESC"
JCATEGORY_ASC="ASC"
JCATEGORY_DESC="DESC"
JDATE_ASC="ASC"
JDATE_DESC="DESC"
JFEATURED_ASC="ASC"
JFEATURED_DESC="DESC"
JGLOBAL_HITS_ASC="HITS ASC"
JGLOBAL_HITS_DESC="HITS DESC"
JGLOBAL_LIST_ALIAS="LIST ALIAS"
JGLOBAL_LIST_ALIAS_NOTE="LIST ALIAS NOTE"
JGLOBAL_SORT_BY="SORT BY"
JGLOBAL_TITLE_ASC="TITLE ASC"
JGLOBAL_TITLE_DESC="TITLE DESC"
JGRID_HEADING_ACCESS_ASC="HEADING ACCESS ASC"
JGRID_HEADING_ACCESS_DESC="HEADING ACCESS DESC"
JGRID_HEADING_ID_ASC="HEADING ID ASC"
JGRID_HEADING_ID_DESC="HEADING ID DESC"
JGRID_HEADING_LANGUAGE_ASC="HEADING LANGUAGE ASC"
JGRID_HEADING_LANGUAGE_DESC="HEADING LANGUAGE DESC"
JGRID_HEADING_ORDERING_ASC="HEADING ORDERING ASC"
JGRID_HEADING_ORDERING_DESC="HEADING ORDERING DESC"
JSTATUS_ASC="ASC"
JSTATUS_DESC="DESC"
Looking for comments whether we should just add missing strings or should we be loading administrator/language/en-GB/en-GB.ini
language file when using admin views in frontend.
Labels |
Added:
?
|
All versions.
Labels |
Added:
J3 Issue
|
Status | New | ⇒ | Discussion |
So either copy the strings or instead of hiding the sublayout list dont load it or fix it so you can see it
None of the xtd display the Sort Filters, whether in front or backend.
Debug lang displays Untranslated strings for
Contact: Display of the Alias is fine
Field: no display issue
Article: JGLOBAL_LIST_ALIAS
is not only not translated but also does not display the alias.
=> We should solve at least that one by adding
JGLOBAL_LIST_ALIAS="(<span>Alias</span>: %s)"
JGLOBAL_LIST_ALIAS_NOTE="(<span>Alias</span>: %s, <span>Note</span>: %s)"
in frontend.
making patch now
Menu has no untranslated strings.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-07-05 06:20:25 |
Closed_By | ⇒ | franz-wohlkoenig |
The PR is wrong
It is the hidden-phone hidden-tablet in the layout - so if you override the layout or use a template that doesnt have those classes it will display with the missing strings of course
This is why I wrote #25344 (comment)
Status | Closed | ⇒ | New |
Closed_Date | 2019-07-05 06:20:25 | ⇒ | |
Closed_By | franz-wohlkoenig | ⇒ |
If we consider all strings missing for the concerned xtd, according to lang debug, this is the list
JASSOCIATIONS_ASC="ASC"
JASSOCIATIONS_DESC="DESC"
JAUTHOR_ASC="ASC"
JAUTHOR_DESC="DESC"
JCATEGORY_ASC="ASC"
JCATEGORY_DESC="DESC"
JDATE_ASC="ASC"
JDATE_DESC="DESC"
JFEATURED_ASC="ASC"
JFEATURED_DESC="DESC"
JGLOBAL_FIELD_GROUPS="FIELD GROUPS"
JGLOBAL_HITS_ASC="HITS ASC"
JGLOBAL_HITS_DESC="HITS DESC"
JGLOBAL_SORT_BY="SORT BY"
JGLOBAL_TITLE_ASC="TITLE ASC"
JGLOBAL_TITLE_DESC="TITLE DESC"
JGRID_HEADING_ACCESS_ASC="HEADING ACCESS ASC"
JGRID_HEADING_ACCESS_DESC="HEADING ACCESS DESC"
JGRID_HEADING_ID_ASC="HEADING ID ASC"
JGRID_HEADING_ID_DESC="HEADING ID DESC"
JGRID_HEADING_LANGUAGE_ASC="HEADING LANGUAGE ASC"
JGRID_HEADING_LANGUAGE_DESC="HEADING LANGUAGE DESC"
JGRID_HEADING_ORDERING_ASC="HEADING ORDERING ASC"
JGRID_HEADING_ORDERING_DESC="HEADING ORDERING DESC"
JSTATUS_ASC="ASC"
JSTATUS_DESC="DESC"
JTOGGLE_HIDE_SIDEBAR="HIDE SIDEBAR"
JTOGGLE_SHOW_SIDEBAR="SHOW SIDEBAR"
Plus
JGLOBAL_LIST_ALIAS="(<span>Alias</span>: %s)"
JGLOBAL_LIST_ALIAS_NOTE="(<span>Alias</span>: %s, <span>Note</span>: %s)"
Status | New | ⇒ | Discussion |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-07-08 06:22:02 |
Closed_By | ⇒ | SharkyKZ |
I do not agree with that PR.
Why not? com_menus
and com_modules
do load global admin files in frontend.
Indeed, these have no language files in frontend.
Allthough I wonder why we have also $lang->load('joomla', JPATH_ADMINISTRATOR);
for both of them...
What do you mean "why"? It's to load the required global strings. XTD modals use backend views. That's why we load backend language files.
It's to load the required global strings.
As I wrote in your PR, this could mean overriding some frontend strings with the same constant but different values.
Hmm
See #25472 (comment)
Looks like it has no major impact in this case as it is only loaded for modals.
J3?