THIS SDK ISDEPRECATED.

We rolled out a new and better SDK for you.

Language parameter

Develop an international app that can be used in different languages. Enhance the search functionality with the language parameter so that the search returns results in a specific language. Sample use case: If your mobile device is set to a particular language, you see it in your app as well.

List of the supported languages can be found at Supported Languages.

Use the following code snippet to try this in your app.

1let query = TTSearchQueryBuilder.create(withTerm: term)
2 .withLang(language)
3 .build()
4search.search(with: query)
TTSearchQuery *query = [[[TTSearchQueryBuilder createWithTerm:term] withLang:language] build]
[self.search searchWithQuery:query];