Skip to content

[feature request] exclude parts from translation #125

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

Open
mtdvlpr opened this issue Dec 26, 2022 · 2 comments
Open

[feature request] exclude parts from translation #125

mtdvlpr opened this issue Dec 26, 2022 · 2 comments

Comments

@mtdvlpr
Copy link

mtdvlpr commented Dec 26, 2022

I have markdown files that need to be translated and they have a front matter block with a tag, title and ref. While the tag and title need to be translated, the ref needs to be kept the same, because I'm using it to link the different translations of the same file.

It would be great if I could somehow make the ref untranslatable/locked, so that my translators can't accidentally make the mistake of translating them.

@svasilenkov
Copy link

@mtdvlpr Thanks for the suggestion. We have added this into our todo list.

@svasilenkov
Copy link

@mtdvlpr At the moment you can disable pretranslation (via Machine Translate feature) of specific frontmatter keys by adding .gitlocalize.yml YAML config file to the root of your repository. Keys to ignore can be listed in the config file like in this screenshot:

image

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

No branches or pull requests

2 participants