Skip to content

Instantly share code, notes, and snippets.

@cimm cimm/localized_ruby.rb forked from jimeh/__readme.md
Created Nov 23, 2012

Embed
What would you like to do?
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
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 på Svenska (Swedish)
om användare.är_vid_liv?
# skicka junk mail
annarsom användare.är_begraved?
# skicka blommor till släktingar (med junk mail)
annars
medans användare.släktingar.är_vid_liv?
användare.släktingar.varje gör |släkting|
# skicka hat mail
slut
slut
slut
# Ruby in het Nederlands (Dutch)
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.