adding a trailing slash to locale path