orbinson / aem-dictionary-translator

Translate AEM dictionaries for i18n internationalisation
Apache License 2.0
8 stars 5 forks source link

Add manage publication (unpublish + publish to preview) #43

Open mapostu23 opened 2 months ago

mapostu23 commented 2 months ago

As many of our content editors working on Prod environment and updating dictionaries at a constant level, they are requested to have preview urls sent out to stakeholders containing the latest translation strings.

As of this moment there is no way through the AEM ui to publish the dictionaries to preview domains. The workaround would be through workflows, however it is not an easy task for content editors.

Please add the "manage publication" functionality to the dictionary tool and the option to publish to preview domains.

Thank you

royteeuwen commented 1 month ago

@mapostu23 sure, sounds like a valuable feature for customers who use the preview environment. Care to contribute this? I won't have the time to deliver this feature this week

kwin commented 1 month ago

There is the endpoint described in https://github.com/orbinson/aem-dictionary-translator/issues/45#issuecomment-2388871230 which support the parameter agentId which can be used to replicate to preview.

royteeuwen commented 2 weeks ago

@mapostu23 can you test the open PR? It does not work through manage publication because this would have taken it too far, I just added an extra Publish to Preview button

mapostu23 commented 2 weeks ago

@royteeuwen will this feature (the new publish to preview button) also give the option to unpublish from preview domain?

royteeuwen commented 2 weeks ago

@mapostu23 hmm no, only publishing. This might indeed require a manage publication flow, which makes it a lot more work to make. You are of course welcome to contribute it :)