We have a project consisting of hundreds of TOML files, which we localize using Crowdin. In order to make sure every file is in the correct format, we use Taplo, a TOML toolkit, which allows you to pass in schemas like so, without creating new keys that would confuse Crowdin:
#:schema ../schema.json
key = "value"
However, when the updates PR was created, every single schema comment in every translation file was removed.
Is there a way to fix this? These comments are the backbone of our validation system, and they must be preserved.
I’ve tried to reproduce the same behavior from my side, and it seems that the line #:schema ../../../schemas/generated/parameters_translation.json is skipped even during importing the source file into the project, thus it is not exported even when using the app. Could you please check your source file in Crowdin if that string is available there? If not, then you may try the same app but modify the import first so that this string is not skipped during uploading.
Any updates on this one? I just posted one other issue related to toml, and I’m about to post another- would we be better off migrating to another format?