Kdyby\Translation YAML instead of NEON

steelbull
Member | 241
+
0
-

Does exists any simple way, how to use YAML format instead of default NEON translation files format? I need to use the YAML translation file format, because it's supported by Weblate translation tool. The difference between the NEON and YAML is, that in YAML are missing a double quotes. Everything else seems to be the same.

Thanks :-)

Mistrfilda
Member | 76
+
0
-

Hello,

If I am looking correctly at DI extension for Kdyby/Translation, you can use yaml out of box :) https://github.com/…xtension.php#L171

Try to put some .yml file (I think that extension for file must be .yml) into your resources folder.