Login | Register

Translate into 1337

June 30, 2006, 21:40 by Calle
[loading]
-->
Making a “real” and full translation of any language, including made up languages such as 1337, takes a lot of time. More time than any of us think it is worth, I guess. With these already strange languages such as 1337 a lack of grammar isn’t too disturbing and therefore this replace_all method works quite fine. As you can see I have compiled the complete list for you, so just copy and paste… but don’t forget to give this site credits.

<div style="clear: both;">phrase = "I hate leet speak!";
phrase = string_lower(phrase);
phrase = string_replace_all(phrase,"a","4";);
phrase = string_replace_all(phrase,"b","|3";);
phrase = string_replace_all(phrase,"c","(";);
phrase = string_replace_all(phrase,"d","|)";);
phrase = string_replace_all(phrase,"e","3";);
phrase = string_replace_all(phrase,"f","|=";);
phrase = string_replace_all(phrase,"g","9";);
phrase = string_replace_all(phrase,"h","|-|";);
phrase = string_replace_all(phrase,"i","!";);
phrase = string_replace_all(phrase,"j","_|";);
phrase = string_replace_all(phrase,"k","|{";);
phrase = string_replace_all(phrase,"l","1";);
phrase = string_replace_all(phrase,"m","//";);
phrase = string_replace_all(phrase,"n","//";);
phrase = string_replace_all(phrase,"o","0";);
phrase = string_replace_all(phrase,"p","Þ";);
phrase = string_replace_all(phrase,"q","";);
phrase = string_replace_all(phrase,"r","|2";);
phrase = string_replace_all(phrase,"s","5";);
phrase = string_replace_all(phrase,"t","7";);
phrase = string_replace_all(phrase,"u","|_|";);
phrase = string_replace_all(phrase,"v","/";);
phrase = string_replace_all(phrase,"w","|/|";);
phrase = string_replace_all(phrase,"x","><";);
phrase = string_replace_all(phrase,"y","¥";);
phrase = string_replace_all(phrase,"z","2";);
</div>
…Now phrase = ! |-|473 1337 5Þ34|{!

Comments

Loading comments... [loading]
.
Users logged in:

game maker articles, game maker examples, game maker tutorials, gmtutorials, game maker questions and answers, game maker crash course, how to create games