Thread:Extension talk:Scribunto/Lua error: language code ' lang ' is invalid./reply

The error is probably in Module:Formatnum. Can you post the contents of that somewhere (or if this is a public wiki, link to it)?