Ad
  • Custom User Avatar

    This looks like a great solution, however, I tried this on my own machine and got the following error:

    Traceback (most recent call last):
    File "", line 1, in
    TypeError: translate() takes exactly one argument (2 given)

    Is there a piece of the solution missing?

  • Custom User Avatar

    I can't believe this could be done in so few lines. @warwickwang - would you mind walking us through your thinking here?