In many software like in spell checking, there is list of country name and code name too. like en_US.
I need to get name of the countries in a list. How could I create this list. I have heard something about locale is this the same thing? How could I collect all these in a list?
Any suggestion in this regard will be greatly appreciated!
May be my question was not appropriate. Sorry for that. But I wanted to know whether this list is available inside c++. I am thinking so because the locale in c++ works on basic of this. If I could get this list beside creating my own custom.
But I wanted to know whether this list is available inside c++.
Not to my knowledge. The Visual Studio MFC Wizard seems to have some knowledge of such things. Perhaps you could look into where it gets that information, you could get luck and find some interface that provides lang/sublang info.
I believe its <locale> library of the C++ standard. I don't know if I can figure out the full list of what it understands or not. I haven't researched that far. I only know about it in a book I have.