I am looking for a working i18n example for Twig (the template engine).
Documentation is a bit sparse when it comes to language files. Where should they go, how should
I've tried everything possible in slim 3 but nothing was working, only slim 2, so I've created my own way. Basically the system detects the language from the browser and load the correct translation file, more details in the picture: