TED: Language parameter support

See #2
Merge pull request #3 from bashi/lang

TED: Language parameter support