My goal is to read the client’s language. E.g. for the client it is set to German:
What I would like to have is the ISO 639-1 code (2 letter code) of the defined language as a variable, e.g. $client_lang_2. Maybe something like this already exists? If not, I can make a Feature Request on GitHub of course - just let me know.
Sorry for bumping this one up again, @david@hillel , but any chance this could make it into an upcoming release?
Having this language variable at hand would be very helpful to create some dynamic template adjustments, e.g. different input from external scripts depending on the selected language. Or dynamic design adjustments for certain languages.