added locale switcher and layout partial