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

[Feature request] Exclude Single Alphanumeric Characters #344

Open
alitekdemir opened this issue Sep 5, 2024 · 1 comment
Open

[Feature request] Exclude Single Alphanumeric Characters #344

alitekdemir opened this issue Sep 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@alitekdemir
Copy link

Is your feature request related to a problem? Please describe
When translating texts using the Calibre eBook plugin, it often translates single alphanumeric characters like "A.", "B", or simple two-character structures such as "A-" or bullet points like "•". This leads to inaccurate or unnecessary translations, especially in contexts like quizzes or lists. It becomes frustrating to manually correct these translations.

Describe the solution you'd like
I would like the plugin to include a feature that recognizes and excludes single alphanumeric characters (such as "A.", "B", etc.) or simple two-character structures (such as "A şıkkı") from being translated. This would greatly enhance the accuracy of translations for texts that include these elements.

image

@bookfere bookfere changed the title [Feature request] HERE IS YOUR CONCISE TITLE [Feature request] Exclude Single Alphanumeric Characters Oct 16, 2024
@bookfere
Copy link
Owner

You can ignore these single characters by using the "Ignore Paragraph" feature in the plugin settings.

In this case, choose the "Regular Expression" mode and add the pattern ^[A-Z]:$. Then, clear the translation cache of the book and perform a retranslation.

This approach seems cumbersome. I will add a convenient feature to help filter content directly in Advanced mode

@bookfere bookfere added the enhancement New feature or request label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants