Skip to content
Advertisement

Tag: language-detection

PHP: How do I detect if an input string is Arabic

Is there a way to detect the language of the data being entered via the input field? Answer hmm i may offer an improved version of DimaKrasun’s function: okay, enough joking! Pekkas suggestion to use the google translate api is a good one! but you are relying on an external service which is always more complicated etc. i think Rushyos

Advertisement