User tests: Successful: Unsuccessful:
Pull Request for Issue #19898
Load mod_menu.ini lang files when populating the manager
Go to Menu Manager
Add a new Menu, type administrator, select one of the options predefined Joomla / predefined modern
Store the new menu.
Reopen it - you get the predefined Entries
The Language Keys (menu titles) from predefined xmls are translated
None
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_menus |
This works :) The language keys also are used in the form (title).
I have tested this item
The patch works very well on menuitems. But when editing an item, the language key is not translated.
The patch works very well on menuitems. But when editing an item, the language key is not translated.
I guess it is voluntary in order to propose this custom admin menu what ever the language used in back-end.
@izharaazmi Is'nt it?
Shouldnt the check also be checking to ensure that these are admin menu items
The patch does it by checking clientId.
+ // Load mod_menu.ini file when client is administrator
+ if ($clientId == 1)
etc.
@infograf768 Yes, during editing if we translate it in the title field, it will no longer remain translatable.
I have tested this item
Items are translated as described. Thank you @infograf768
When editing, should Parent Item
and Ordering
dropdowns show the translated text?
Translate parent item and ordering is great. However we need to indicate that the translated title is not dynamic and will be updated on save. Or are we really going to make it on ajax?
@izharaazmi
While working on this, I found out that the presets do NOT fill the Menu Item Type.
It forces therefore, for any modification, to use the Select button and find again the correct menu item in the modal to allow saving.
Can you look at that issue?
ADDED: see #19904
If the Title is modified and the item is saved, the new value will be updated as you correctly state. Not sure I understand your concern.
But I think we should have this debate in the new PR to come.
In the mean while, le'ts get a RTC on this one as it is specific to the manager please. ;)
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-03-17 15:33:23 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
?
|
Shouldnt the check also be checking to ensure that these are admin menu items