feat(localescompile): throw error on duplicate locale entries

related to CAM-2837