Click here to Skip to main content
15,860,861 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how can i create compiler in c or c++ to convert string from one language to another (means eng to any other language )?
Posted
Updated 12-Aug-14 3:51am
v2

1 solution

With great difficulty. Language translation does not fit into the computer language compiler model, it is much more complex. You would need a full word dictionary for each language you want to support, plus some sort of syntax analyser for each. As an example create a couple of dictionaries with 100 words in each. then type a sentence into your program in one language and see what comes out.
 
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