Use Accept-Language for badge localization
The badge has a lang parameter that lets you choose a single language code. This information should also be taken from the Accept-Language header.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4
The lang parameter should override Accept-Language.