question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ignore filter not being applied to translations on upload

See original GitHub issue

We 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:closed
  • Created 5 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
andrii-bodnarcommented, Apr 8, 2020

Hi @mbrookes ! This issue is fixed in CLI 3

0reactions
yuliiaRcommented, Apr 25, 2019

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found