Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to exclude certain fields via translateWithDeepl #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Teddytrombone
Copy link

@Teddytrombone Teddytrombone commented Mar 18, 2024

At the moment it's only possible to force inclusion to translatable fields but it's not possible to force exclusion. This change checks, if translateWithDeepl is set in the configuration. If not, everything works like before. If sit is set, the result is the bool casted value of translateWithDeepl, so it can be true or false.

@dmitryd
Copy link
Owner

dmitryd commented Apr 30, 2024

This would not work in all cases because it would skip all other checks.

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.

2 participants