This message is a little confusing. Try something like 'Username cannot be more than {0} characters long'.
Also, formatting an internationalized string should work like this `_('...{}...').format(...)`