For example, file: docs\00_intro\10_fair.mdx
should have its translation in i18n\de\docusaurus-plugin-content-docs\current\00_intro\10_fair.mdx
For some reason, the CLI translation upload fails to correctly map this but looks for the file in: i18n\de\docusaurus-plugin-content-docs\current\10_fair.mdx
Equally, the translation download would place these files there where they do not belong.
I do not understand what the problem is - does anybody have a solution for this?
Thanks for the kind reply! I created the config file according to the link to docusaurus.io you posted. I tried to write the configuration in both YAML and JSON style, but both lead to the same result.
So this skip message, it says that for German transaltions file are skipped, what about other languages?
If the source files uploaded fine? Maybe you need just to add “preserve hierarchy = true”?
In case the 1st paths - translation: “/i18n/%two_letters_code%/**/%original_file_name%”
worked fine, it’s just a config issue, not the importer or system-level one.
Can you try specifying the whole paths without asterisks in the configuration for this file? Also, just an assumption, but maybe the folder starting with numbers doesn’t work - you have a chance to test letter-only naming of folders?
It’s said here that sources should be re uploaded after any configuration change, do you do that?
Last but not least, you have a native build V2 Docusaurus, or migrated from V1?
[SKIPPED] 'i18n\de\docusaurus-plugin-content-docs\current\10_fair.mdx' translation file doesn't exist in the specified place
Translations should be at the same place + with the same path both in config, in your repository (laptop), in Crowdin, and in the file settings. Can you check all of them, whether the files are there?
That is an excellent suggestion for a possible workaround, I will try that - I also suspected that Crowdin CLI cannot handle folders starting with numbers.
Anyway, I will test these suggestions and report back. Thanks again!
@GregoryLanncved Thanks again for the suggestion! I added all file locations explicitly to the config without using **and it works! As the folder structure rarely changes I can live with that.