Reversing the Letters Translator

A = Z or Z = A

hi

Ever wanted to make a random text generator?


LingoJam © 2019 Home | Terms & Privacy

//]]> //} catch(e) { // alert("There's an error in the custom script of this translator. Error:"+e); //} try { var jsonData = {"phrases1":"","phrases2":"","words1":"a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn\no\np\nq\nr\ns\nt\nu\nv\nw\nx\ny\nz","words2":"z\ny\nx\nw\nv\nu\nt\ns\nr\nq\np\no\nn\nm\nl\nk\nj\ni\nh\ng\nf\ne\nd\nc\nb\na","intraword1":"a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn\no\np\nq\nr\ns\nt\nu\nv\nw\nx\ny\nz","intraword2":"z\ny\nx\nw\nv\nu\nt\ns\nr\nq\np\no\nn\nm\nl\nk\nj\ni\nh\ng\nf\ne\nd\nc\nb\na","prefixes1":"a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn\no\np\nq\nr\ns\nt\nu\nv\nw\nx\ny\nz","prefixes2":"z\ny\nx\nw\nv\nu\nt\ns\nr\nq\np\no\nn\nm\nl\nk\nj\ni\nh\ng\nf\ne\nd\nc\nb\na","suffixes1":"a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn\no\np\nq\nr\ns\nt\nu\nv\nw\nx\ny\nz","suffixes2":"z\ny\nx\nw\nv\nu\nt\ns\nr\nq\np\no\nn\nm\nl\nk\nj\ni\nh\ng\nf\ne\nd\nc\nb\na","regex1":"","regex2":"","rev_regex1":"","rev_regex2":"","ordering1":"","ordering2":""}; phrases1 = jsonData.phrases1.split("\n"); phrases2 = jsonData.phrases2.split("\n"); words1 = jsonData.words1.split("\n"); words2 = jsonData.words2.split("\n"); intraword1 = jsonData.intraword1.split("\n"); intraword2 = jsonData.intraword2.split("\n"); prefixes1 = jsonData.prefixes1.split("\n"); prefixes2 = jsonData.prefixes2.split("\n"); suffixes1 = jsonData.suffixes1.split("\n"); suffixes2 = jsonData.suffixes2.split("\n"); regex1 = jsonData.regex1.split("\n"); regex2 = jsonData.regex2.split("\n"); rev_regex1 = jsonData.rev_regex1.split("\n"); rev_regex2 = jsonData.rev_regex2.split("\n"); ordering1 = jsonData.ordering1.split("\n"); ordering2 = jsonData.ordering2.split("\n"); } catch(err) { alert("Ahh an error! Please contact me via [email protected] and I'll fix it asap. Error log: "+err.message); } evenUpSizes(phrases1,phrases2); evenUpSizes(words1,words2); evenUpSizes(intraword1,intraword2); evenUpSizes(prefixes1,prefixes2); evenUpSizes(suffixes1,suffixes2); //fix for mysql trailing newline deletion problem function evenUpSizes(a,b) { if(a.length > b.length) { while(a.length > b.length) b.push(""); } else if(b.length > a.length) { while(b.length > a.length) a.push(""); } } handleDuplicates(words1, words2); /* Initial translate for default text */ if($('#english-text').val() != "") { var english = $('#english-text').val(); var ghetto = translate(english); $('#ghetto-text').val(ghetto); }