Hi, I have one more question about translation. I try to import English and Arabic translation (master is "fr".).
When I run
"runt translate:import --targetLang=ar --masterLang=fr --format=csv --csvDelimiter=; --replace"
I have this messeage :
">> Using src/ folder for course data...
Encoding detected as UTF-8 languagefiles/ar/articles.csv
Encoding detected as UTF-8 languagefiles/ar/blocks.csv
Encoding detected as UTF-8 languagefiles/ar/components.csv
Encoding detected as UTF-8 languagefiles/ar/contentObjects.csv
Encoding detected as UTF-8 languagefiles/ar/course.csv
No changed were found, target and import are identical.
--csvDelimiter=;doesn't work in my terminal (git bash), it must be
--csvDelimiter=";"to parse properly but without the speechmarks it throw an import error which i'd have expected you to mention
Hi @olivermartinfoster and @moloko. Thank you very much for your help and your feedback. As I need to translate the course in english too, I tried to create the english version. Everything seems to be good. So after, I tried again to create the Arabic version but I have the same result.
If I use grunt translate:import --replace --targetLang=en --masterLang=fr --format=csv --csvDelimiter=;
I have an error as "No changed were found, target and import are identical.
If I use --csvDelimiter=";" (with quote), I have the same message @olivermartinfost
Error : Error processing CSVV files: Error: Invaliding Closing Quotde...
I use the branch 2722. I can share a link with the french course and Arabic translation but if you prefer, I can share the english version in some days.
Adapt.mapByIdon restoreLocation method but I don't see the implementation on Framework code. Temporarily I fix this issue by checking the location id in
Adapt.data._byAdaptID(Adapt4 has a mapping of ids <-> type).