Add language flags toggle support for all layouts