seco Posted February 26, 2008 Share Posted February 26, 2008 Hi i want to identify the language of the input text in the textbox using php how? Quote Link to comment https://forums.phpfreaks.com/topic/93129-how-to-know-the-language-of-te-input-text/ Share on other sites More sharing options...
Psycho Posted February 26, 2008 Share Posted February 26, 2008 Well, to put it simply you would have to program it. How it would be best programmed depends on several factors. Are you talking about a simple text field for a value such as "color", or is it a text area where the user will enter in full paragraphs? For one-word answers you will most likely have problems because many languages use the same words for some values. And, for full paragraphs you will need to have a fairly complete dictionary for all the different languages. Even then, the process would get rather complext and would never be 100% accurate. In my opinion, you are chasing an unachievable goal. Quote Link to comment https://forums.phpfreaks.com/topic/93129-how-to-know-the-language-of-te-input-text/#findComment-477143 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.