Crowdin cli download --config {/tmp/path} returns "Downloaded translations don't match the current project configuration"

Hello @epyle

The issue is rooted in how crowdin-cli interprets relative paths within your crowdin.yml.

When you specify a config file in /tmp, the CLI looks for your source files (like en.po) relative to /tmp/ – not your actual repository directory. This mismatch causes the “Downloaded translations don’t match…” error.

Therefore, you can add a base_path property to the top of your crowdin.yml file. This tells Crowdin CLI the correct absolute path to your project’s source files. This will ensure Crowdin CLI finds your source files correctly, regardless of where your temporary crowdin.yml is stored.

1 Like