[Layout] build markup dynamically with translations