mozilla/bedrock — comment on commit bc89606a04e4f4435273fc82eeb6a63db6a3e123
File: apps/mozorg/templates/mozorg/button.html line 7
By fwenzel:

Probably no need to pass in the language unless you want to override it. The helper itself can just get the language from upstream via:

locale = settings.LANGUAGE_URL_MAP.get(translation.get_language()) or translation.get_language()

(shamelessly stolen from funfactory.context_processors)