Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hello all
I am trying to convert the english language to any other local language @ run time.

example in c++:-
C++
string name;
cin >> name;
cout << name;

In the above example if a give input string name as "hello" i must get hello equivalent world in other local languages such as hindi,chinese,german etc.

your help will be appreciated.

thank you in advance
Posted
Updated 23-Oct-13 4:03am
v4
Comments
Richard MacCutchan 23-Oct-13 10:04am    
Well, at a guess, you will need a set of dictionaries for all the languages you plan to support. However, simply translating words in such a way will not guarantee that the translated text makes sense.

1 solution

Try the ICU library:
http://site.icu-project.org/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900