CodersCare / l10nmgr

GNU General Public License v3.0
0 stars 9 forks source link

Content not imported when "title" field is empty for a container #25

Open knuhoh opened 1 year ago

knuhoh commented 1 year ago

If a container (created by ext:container) is not named, the content is exported through the L10N Manager but the translated content is not imported. If the option "delete localizations before import" is not selected, no container in the target language is created. If the option "delete localizations before import" is selected, then a container is created (and set to hidden), but the content only says "(copy 1)" as the title and there are no elements created within the container.

If the "title" field for the container is filled out, then the export/import works properly.

knuhoh commented 1 year ago

Update: We found that if the box "New/changed content only" is not checked when exporting the XML file, then the container is included in the export and is also created on the target language page when importing the translated XML file.

Note: This is only additional information. It does not fix our issue, as we have to have the "New/changed content only" box checked for our workflow to function properly.