Open its-miroma opened 2 months ago
Not really much we can do about this, as we can't disable the translation of yml frontmatter without disabling the ability to translate the page title and description.
I'm not super familiar with Crowdin's configuration, but if I understand correctly you can add custom rules to ignore some sections in files. See https://support.crowdin.com/custom-segmentation
After experimenting on https://regex101.com, I think this may work:
<rule break="yes">
<beforebreak>\A---\n(?:(?!---\n).*\n)*?authors:\n</beforebreak>
<afterbreak> *+(?!- )</afterbreak>
</rule>
This is only for manual XML/HTML based uploads, we use a different system to upload translations that doesn't support segments.
Usernames of authors are currently translatable in Crowdin.
Example: https://github.com/FabricMC/fabric-docs/blob/main/develop/events.md?plain=1#L4-L15