Formats a quantity according to language definitions. It is equivalent to magic word formatnum with the option to specify a language other than the wiki default. Syntax: First requested parameter is the number to format. The second optional parameter is the language code (see parameter lang of function claim).