Ignore filter not being applied to translations on upload
See original GitHub issueWe have the following configuration file, working with github sync:
files:
- source: /docs/src/**/*.md
ignore:
- /**/%file_name%-%two_letters_code%.md
- /docs/src/pages/getting-started/page-layout-examples/**/*
- /docs/src/pages/premium-themes/**/*
translation: /%original_path%/%file_name%-%two_letters_code%.%file_extension%
- source: /docs/translations/*.json
ignore:
- /**/%file_name%-%two_letters_code%.json
translation: /%original_path%/%file_name%-%two_letters_code%.%file_extension%
(Original: https://github.com/mui-org/material-ui/blob/next/crowdin.yml)
However, on running crowdin upload --dryrun
while in the project root directory, it indicates that it would upload all files, including translations:
src/modules/components/backers-de.md
src/modules/components/backers-es.md
src/modules/components/backers-fr.md
src/modules/components/backers-ja.md
src/modules/components/backers-pt.md
src/modules/components/backers-ru.md
src/modules/components/backers-zh.md
src/modules/components/backers.md
src/pages/css-in-js/advanced/advanced-de.md
src/pages/css-in-js/advanced/advanced-es.md
src/pages/css-in-js/advanced/advanced-fr.md
src/pages/css-in-js/advanced/advanced-ja.md
src/pages/css-in-js/advanced/advanced-pt.md
src/pages/css-in-js/advanced/advanced-ru.md
src/pages/css-in-js/advanced/advanced-zh.md
src/pages/css-in-js/advanced/advanced.md
[etc...]
In addition, as well as wanting to upload the translations, it appears to want to upload all source files new, changed and existing, rather than just new or changed files.
Thanks.
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
Exclude Content from Translation and Restore Excluded Strings
Go to Projects (select a project) > strings > Translations. From the status dropdown menu, filter for Excluded strings. Select the string and...
Read more >Translation Filter & Subfilter being ignored in some cases
Problem/Motivation Inconsistent translation filters are being applied to content uploaded to Lingotek TMS even when specific filters are ...
Read more >Add support for ignoring query filter on Include #21093 - GitHub
Currently, query filters can only be ignored for an entire query. It would be great to be able to ignore a particular entity...
Read more >Enable or Disable Translation Workbench - Salesforce Help
To disable Translation Workbench, from Setup, in the Quick Find box, enter Translation Language Settings , and then select Translation Language Settings. Click ......
Read more >Configuration File | Crowdin Developer Portal
If some source files shouldn't be translated into specific target languages, you can exclude them with the help of the parameter excluded_target_languages ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @mbrookes ! This issue is fixed in CLI 3
@mbrookes Thanks for the understanding, I’m really happy that the current issue is not a blocker for you. Anyway, we will do utmost to provide the fix as soon as we can