Skip to content

Instantly share code, notes, and snippets.

@jimeh
Created September 6, 2011 14:44
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save jimeh/1197735 to your computer and use it in GitHub Desktop.
Save jimeh/1197735 to your computer and use it in GitHub Desktop.
Let's not localize programming languages. Please >_<

Let's not localize programming languages. Please >_<

Feel free to fork and expand and/or add more languages as an example to why this would be horrible, and I'll add them here :)

# Ruby in English (US)
if user.is_alive?
# send spam mail
elsif user.is_buried?
# send flowers to relatives (with spam card)
else
while user.relatives.are_alive?
user.relatives.each do |relative|
# send hate mail
end
end
end
# Ruby in English (United Kingdom)
# - submitted by @jimeh & @alexmreis - we're not British, plz fix :)
# - inspired by http://www.addedbytes.com/blog/if-php-were-british/
perchance customer.is_still_alive?
# send spam mail
otherwise_perchance customer.is_not_6_feet_under?
# send flowers to relatives (with spam card)
otherwise
as_long_as customer.related_individuals.are_not_6_feet_under?
customer.related_individuals.each with_grace |related_individual|
# send insulting mail
terminate
terminate
terminate
# Ruby en Castellano (Latin Spanish)
# - submitted by @alexmreis
se usuario.esta_vivo?
# enviar correo no desejado
ademásse usuario.esta_sepultado?
# enviar flores para los familiares (con una tarjeta de spam)
además
mientrasque usuario.familiares.están_vivos?
usuario.familiares.cada hace |familiar|
# enviar correo de ódio
fin
fin
fin
# Ruby en Français (Canada)
# - submitted by @jsboulanger
si utilisateur.est_vivant?
# envoyer le pourriel
sinonsi utilisateur.est_enterré?
# envoyer des fleurs à la famille (avec une carte pourriel)
sinon
pendantque utilisateur.famille.est_vivante?
utilisateur.famille.chaque faire |membre|
# envoyer courriel haineux
fin
fin
fin
# Ruby στα Ελληνικά (Greek)
# - submitted by @geoah
αν χρήστης.είναι_ζωντανός;
# στείλε ανεπιθύμητο μήνυμα ηλεκτρονικού ταχυδρομείου
εκτός_αν χρήστης.είναι_θαμμένος;
# στείλε λουλούδια στους συγγενείς (με κάρτα ανεπιθύμητου ηλεκτρονικού ταχυδρομείου)
αλλιώς
καθώς χρήστης.συγγενείς.είναι_ζωντανοί;
χρήστης.συγγενείς.για_κάθε κάνε |συγγενής|
# στείλε μήνυμα ηλεκτρονικού ταχυδρομείου γεμάτο μίσος
τέλος
τέλος
τέλος
# Ruby sta Ellhnika (Greeklish)
# - submitted by @geoah
an xrhsths.einai_zwntanos?
# steile anepi8umhto mhnuma hlektronikou taxidromeiou
ektos_an xrhsths.einai_8amenos?
# steile louloudia stous suggeneis (me karta anepi8umhtou hlektronikou taxudromeiou)
alliws
ka8ws xrhsths.suggeneis.einai_zwntanoi?
xrhsths.suggeneis.gia_ka8e kane |suggenhs|
# steile mhnuma hlektronikou taxudromeiou gemato misos
telos
telos
telos
# Ruby in het Nederlands (Dutch)
# - submitted by @cimm
indien gebruiker.is_levend?
# stuur spam mail
of gebruiker.is_begraven?
# stuur bloemen naar de kennissen (met spam kaart)
anders
terwijl gebruiker.kennissen.zijn_levend?
gebruiker.kennissen.elke doen |kennis|
# stuur hate mail
einde
einde
einde
# Ruby em Português (Portuguese)
# - submitted by @alexmreis
se usuário.está_vivo?
# mandar spam por correio eletrônico
senãose usuário.está_enterrado?
# enviar flores para os parentes (com um cartão de spam)
senão
enquanto usuário.parentes.estão_vivos?
usuário.parentes.cada faça |parente|
# enviar cartas de ódio
fim
fim
fim
# Ruby по-русски (Russian)
# submitted by @sosedoff
если пользователь.жив?
# выслать спам письмо
или пользователь.похоронен?
# выслать цветы родственникам (со спам-открыткой)
иначе
пока пользователь.родственники.живы?
пользователь.родственники.каждый делать |родственник|
# выслать гневное письмо
конец
конец
конец
# Ruby på Svenska (Swedish)
# - submitted by @jimeh
om användare.är_vid_liv?
# skicka junk mail
annarsom användare.är_begraved?
# skicka blommor till släktingar (med junk kort)
annars
medans användare.släktingar.är_vid_liv?
användare.släktingar.varje gör |släkting|
# skicka hat mail
slut
slut
slut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment