Downloading translations from Crowdin doesn't work anymore

Description

Recently, I've found that downloading translations from Crowdin wouldn't work anymore.

When I tried to download the translations, I don't get all files that should match translation: '/modulessrc/main/resources/static/language/%locale%.json':

macsps:switch-opencast-fork stauber$ java -jar crowdin-cli.jar --config .crowdin.yaml download -b develop -l sl
Version 2.0.20 of the CLI client is available. You can download new version following the link: https://crowdin.com/downloads/crowdin-cli.zip
Building ZIP archive with the latest translations for 'sl' - OK
Extracting: '/modules/matterhorn-admin-ui-ng/src/main/resources/public/org/opencastproject/adminui/languages/lang-sl_SI.json'
Extracting: '/modules/matterhorn-engage-theodul-core/src/main/resources/ui/language/sl-SI.json'
Extracting: '/modules/matterhorn-engage-theodul-plugin-controls/src/main/resources/static/language/sl-SI.json'
Extracting: '/modules/matterhorn-engage-ui/src/main/resources/ui/language/sl-SI.json'
macsps:switch-opencast-fork stauber$

The Crowdin support helped me out:

Dear Sven,

Please try the following configuration:

files:
-
source: '/modules/matterhorn-admin-ui-ng/src/main/resources/public/org/opencastproject/adminui/languages/lang-en_US.json'
translation: '/modules/matterhorn-admin-ui-ng/src/main/resources/public/org/opencastproject/adminui/languages/lang-%locale_with_underscore%.json'

-
source: '/modules/matterhorn-engage-theodul-core/src/main/resources/ui/language/en-US.json'
translation: '/modules/matterhorn-engage-theodul-core/src/main/resources/ui/language/%locale%.json'

-
source: '/modules/**/src/main/resources/static/language/en-US.json'
translation: '/%original_path%/%locale%.json'

-
source: '/modules/matterhorn-engage-ui/src/main/resources/ui/language/en-US.json'
translation: '/modules/matterhorn-engage-ui/src/main/resources/ui/language/%locale%.json'

Before downloading translations, please run "crowdin upload sources" to update file export patterns in the project -> try to build the project via web interface and run "crowdin download".

Steps to reproduce

None

Status

Assignee

Sven Stauber

Reporter

Sven Stauber

Criticality

None

Tags (folksonomy)

None

Components

Fix versions

Affects versions

4.0

Priority

Major
Configure