we have a YAML file used as index to build the documentation. The original file looks like https://github .com/appium/appium/blob/master/packages/appium/docs/mkdocs-en.yml
where entries under nav: reflect the actual documents hierarchy and should be translated. Although, Crowdin only shows leaf entries as translatable, so, for example, from the below hierarchy
only entries like index.md, blog/index.md, intro/index.md and intro/appium.md are translatable, while I would want Welcome, Blog, Introduction and Background entries to be translatable as well.
Is there a way to make it possible? Currently files are being added to storage with Content-Type set to application/yaml
I am probably too stupid to deal with the yaml config, and was not able to understand from the linked document where exactly it is supposed to be applied.
Instead I’ve just modified the CI script (https://github .com/appium/appium/pull/20822), so now it uploads the file as a plain text and then maps it back to yaml format while doing the export.
There is a potential risk translators may corrupt the resulting yaml file, by, for example, skipping some mandatory formatting characters. In the worst case I might consider doing the basic yaml validation upon export from Crowdin in my script.