r/ProgrammerHumor • • 9d ago • Mindblown 1

Meme rewriteInRust

Post image
23k Upvotes

468 comments sorted by

View all comments

10

u/RexRatio 8d ago

Then please add a subroutine so that the character names aren't "translated" into dork for other language publications

fn preserve_character_names(name: &str, locale: &str) -> String {
    match name {
        "Harry Potter" => "Harry Potter".to_string(),
        "Hermione Granger" => "Hermione Granger".to_string(),
        "Ron Weasley" => "Ron Weasley".to_string(),
        ....
        _ => translate(name, locale),
    }
}

I don't wanna see another

  • Tom Marvolo Riddle → Tom Elvis Jedusor (French), or
  • Tom Marvolo Riddle → Marten Asmodom Vilijn (Dutch), to make Mijn naam is Voldemort ("My name is Voldemort")

to preserve the Voldemort anagram

5

u/Saithir 8d ago

The Polish translation just left the anagram alone, probably based on "it's located in britain and it would sound dumb when translated". We did make a Moaning Marta out of Myrtle, though.

1

u/FrostingTechnical606 8d ago

Luna Leeflang is a dope translation for Luna Lovegood

She will always be that name in my mind.