detect language to english code example
Example 1: google translate
upvote if you feel terrible
Example 2: spanish to english
Are you cheating on your Spanish homework? GET BACK TO PROGRAMMING!
Example 3: google translate
let prompt = prompt("who here uses rosetta stone?");
if (prompt != null) {
if (prompt == "yes") {
alert("ok cool");
} else if (prompt == "no") {
alert("ok then");
}
} else {
alert("bruh");
}