Stats language

Fixes #698 

Since dotcom won't read the full `get_locale` string, I wrote a custom function to change the string to match the `lang` attr.  So it changes `es_ES` to just `es`.  Let me know if there's a better way to do this.