What is the l::set() replacement in Kirby 3?


#1

What is the l::set() replacement function in Kirby 3, so that I can add language variables to the language variables array (from a plugin e.g.)?


#2

You can set languages when registering the plugin: https://getkirby.com/docs/reference/plugins/extensions/translations

If you want an example using external files, check out the Retour plugin repository.


#3

Perfect! Thx