language name from language id

hi..
i've a language identifier and now i need to get the language name from that identifier. for example(id=1041 and language for this id is japanese). how to do that?
help..
What are you saying about? About the standart localization C++ library? Or about your program?
about my program.
Try to show it us.
i'm new to c++.
i have not written the program yet.
Actually the thing is, i have a text file in which the language identifier(0x0411) is present. I extracted the identifier from the file to a string(0x0411) and converted it to integer(1041). Now from this identifier i need the name of the language(Japanese). I dont know the code.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <iostream>
#include <fstream>
#include <string>
#include <map>

using namespace std;


int main()
{
	map<int, string> base;
	
	ifstream fin("base.txt");
	fin.setf(ios::hex, ios::basefield);
	for(pair<int, string> entry; fin >> entry.first >> entry.second; )
		if(!base.insert(entry).second)
		{
			cout << "Base error. The application will be closed." << endl;
			return 1;
		}
	fin.close();

	int id;
	cout << "Input the identifier:   ";
	cin >> hex >> id >> dec;

	map<int, string>::iterator iter = base.find(id);
	if(iter != base.end())
		cout << iter->second << endl;
	else
		cout << "No such identifier." << endl;

	return 0;
}

base.txt:
1
2
3
0x0001 Russian
0x0411 Japanese
0x0513 Chinese
Topic archived. No new replies allowed.