I have this problem, I want to be able to translate a custom language. But I can't get it to replace all the letters in a sentence. I have tried all I could think of but nothing. I need to be able to check every single letter of the alphabet and be able to translate it.
function Translate(){
var string = document.getElementById("Unseen").value;
var Translation = string.replace(/ㅏ/g, "A");
var Translation = string.replace(/Э/g, "E");
document.getElementById("Translation").innerHTML = Translation;
}
It works for translating Э into an E but the ㅏ does not work. It doesn't translate to A.