restricted locale to be the first segment in the path