It's very simple: put a drop-down field on the web form which allows the user to select which naming convention they'd like to use (generally by country, but there can be more for other regions too). This should yield only a few hundred different options to scroll through. Then each option loads a different form specific to that option. Load the whole thing in one giant blob of JS and have it load for every page view.
I've seen lots of websites programmed exactly this way, so it's obviously good web design.