custom layout and translate