TED: Language parameter support

See #2