added support for languages through web service