Create a multingual site with 4 languages
French, German (de-DE) can be installed at J clean install time or through index.php?option=com_installer&view=languages
As Persian is hard to read for most, install Italian through index.php?option=com_installer&view=install
package tab
it-IT_joomla_lang_full_3.9.8v1.zip
English en-GB is present by default.
Then run the Multilingual sample data module in Control Panel.
Then, run the Blog Sample data module after switching to each language in backend.
The test here concerns Menu items but we get the same results for each component.
We have menu items of type Create Article
in the Author Menu for each language.
Edit the en-GB one and through the Associations tab, create associations to the French and German ones. Save and Close.
Then edit the Italian one. In its Associations tab Select the en-GB Create a Post (en-GB)
.
Then use the now available Propagate
button.
The French and German associations should be added.
Only The French one is added.
In the screenshot below I did not do anything concerning Persian which was already present in my test site. Just ignore it
Hint: the process is interrupted and no Message is displayed.
In Console we get this type of error
Labels |
Added:
?
|
Labels |
Added:
J4 Issue
|
Status | New | ⇒ | Discussion |
the problem that I even do not know what Propagate
button for
something new :)
@infograf768 try to open the modal from that Propagate (wtf is this?) and then open the browser's terminal and type Joomla.Modal.getCurrent()
what's the output?
Also try: window.parent.Joomla.Modal.getCurrent()
, what's the output?
something with processModalSelect() in media-field, in some reason it tries to close non existing modal
@infograf768 please try to test next:
in media-field.js
find window.processModalSelect = ..
there change line Joomla.Modal.getCurrent().close()
to:
if (Joomla.Modal.getCurrent()) {
Joomla.Modal.getCurrent().close();
}
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-06-30 05:20:39 |
Closed_By | ⇒ | infograf768 |
I found where is the culprit.
In modal-fields.js the line 196
Joomla.Modal.getCurrent().close();
has replaced line 194 in modal-fields-uncompressed.js in J3
jQuery('#ModalSelect' + itemType + '_' + fieldPrefix).modal('hide');
If I use the J3 code there, the issue is solved.
No idea how to correct that when not using JQuery