add locale for editor