No, that's right. `navigator.l10n.language` is the actual language that's
defined by the language pack.


On Mon, Jul 8, 2013 at 3:47 PM, Christopher Van <notifications@github.com>wrote:

> In hearth/media/js/helpers.js:
>
> > @@ -88,7 +104,9 @@ define('helpers',
> >          app_incompat: apps.incompat,
> >
> >          navigator: window.navigator,
> > -        language: window.navigator.l10n ? window.navigator.l10n.language : 'en-US'
> > +        language: window.navigator.l10n ? window.navigator.l10n.language : 'en-US',
>
> this seems wrong. this should be navigator.language.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mozilla/commbadge/pull/1/files#r5078517>
> .
>