I know about PHP language files for translating user interface. However, I didn’t know that I could also use YAML files. PHP usage is only documented in Custom language variables, while YAML usage is only documented in Multilanguage secrets. Why is that? Can I use both file types interchangeably? I tested the YAML approach in Kirby 2.5.12 and it works, so it’s not a Kirby 3 feature.
I guess YAML can be used as a simpler approach, while PHP can be used if you want to apply some logic to those translation files. Are there any other differences besides that?