Does/can the plugin allow Entries to be translated to other Sites regardless of the Section's propagation setting? #230
-
The client I'm working with wants Entries that are only on a specific Site. However, the Translations plugin requires that a Section's propagation setting be set to This means that anyone using the plugin can't have content that's unique to a Site. Removing this limitation would mean that attempting to translate an Entry to a Site where its section isn't enabled would cause an error—but it'd be a relatively straightforward check to ensure the Section is enabled in the Site, and returning an error if it isn't. Based on a quick review, reworking this area to not check the supported Sites for entry would be a 'step one', if you will: craft-translations/src/controllers/BaseController.php Lines 920 to 938 in 0f6308e The other changes would include ensuring the Draft being created for each File is for the proper Site, and adding the check to ensure the Draft's Section is enabled for the Target Site. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@sidedwards This is now a blocker for some issues the client's currently having— Since the plugin requires the |
Beta Was this translation helpful? Give feedback.
-
Propagation Methods, Entry Revisions, and Localization workflowsThe following Section Propagation Methods are available:
The first option will not propagate Entries and is useful if pages and content structure will be different for each Site. Propagation methods two through five all propagate Entries to other Sites, but each have different advantages:
Common issues with Entry RevisionsIf you want to use Entry propagation (methods 2-5) in multi-site setups you can't use Revisions without also reverting the content and settings in the other enabled Sites [1], [3]. While it is technically possible to revert an Entry to a specific Revision without affecting the other Site content, it's not likely the required criteria would be met. To revert to a Revision without affecting other Sites, the selected Revision would need to already have the other Sites disabled. Localization workflowsWhen using Entry propagation (methods 2-5), if you need to update content for a specific site without affecting the others, then we recommend creating a new draft and copying the revision content over. @brandonkelly eluded to a feature that would make this process easier [2]. If the content you want to revert to is "source content," then we could include a feature that would allow you to select a specific revision as the source for a translation order similar to Entry drafts. For sections with Entry propagation disabled (method 1), we could in theory add support for ordering translations, but there are a few issues to consider:
🔗 References
|
Beta Was this translation helpful? Give feedback.
@taylordaughtry
Propagation Methods, Entry Revisions, and Localization workflows
The following Section Propagation Methods are available:
none
)siteGroup
)language
)all
)custom
)The first option will not propagate Entries and is useful if pages and content structure will be different for each Site. Propagation methods two through five all propagate Entries to other Sites, but each have different advantages:
siteGroup
sett…