MDL-45828 Element library: Allow language direction switching via CFG
MDL-45828 Element library: Add support for switching language direction