Hello,
To exclude WP Block Code from translation in TranslatePress, you will need to get the selector for that block and add it to the “Exclude selectors only from automatic translation” option.
In your case, it seems that the selector for the WP Block Code is “.wp-block-code” (without the quotes). To add it to the exclusion list, follow these steps:
1. Go to your WordPress Admin Dashboard.
2. Navigate to TranslatePress > Settings.
3. Click on the “General” tab.
4. Scroll down to the “Exclude selectors only from automatic translation” section.
5. In the input field, enter “.wp-block-code” (without the quotes) and click the “Save Changes” button.
Please note that if the WP Block Code has a different class or ID, you will need to use that as the selector instead. Remember to put a dot (.) before the class name or a hashtag (#) before the ID.
(you can find that class or ID using the Inspect tool from your browser).
If you have any further questions, feel free to ask.
Kind regards,