Open JustinSainton opened 9 years ago
So what exactly is the issue to be resolved?
adding relevancy score and alternate spellings to country meta, to be included in the country dropdown.
See source code at http://baymard.com/labs/country-selector#documentation.
Punting to 4.1 pending further traction.
@JeffPyeBrook added a low-level country meta API for us. We currently use it to declare country objects as legacy.
However, we could be using it for more - for example, we could use it to add relevancy scores and alternate spellings for each country. In this way, a Brazilian entering "Brasil" for Brazil would be get properly autocompleted.
Whether or not the database is the proper data store for this is up for discussing, though behind the proper caching layer, it is of little consequence. The cool part here is the customer UX and the fact that the autocomplete script already accommodates this.