Skip to content

Conversation

@luchoPenafiel
Copy link

Exclude from Translation

Overview

This action allows users to exclude specific entries from being translated by the Localazy plugin.

How it works

  1. User Selection: In the Content Manager list view, users can select multiple entries using the checkboxes. User can also exclude the entry from the Edit View.

  2. Backend Processing: The action calls the EntryExclusionService which:

    • Takes the content type (model) and document IDs of selected entries
    • Marks them as excluded in the plugin's storage using the entry-exclusion-service
    • Stores the exclusion state in Strapi's plugin store
  3. Upload Filtering: When content is uploaded to Localazy, the LocalazyTransferUploadService automatically:

    • Fetches the list of excluded entries for each content type
    • Filters out excluded entries before sending content to Localazy
    • Logs the number of excluded entries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant