rearrange user interface and update locales