pass locale to autocomplete