TMDb

2.1 Deprecation Notice!

Please be aware that the 2.1 version of our API has been deprecated. 2.1 will be shut down on September 15, 2013. It has been replaced by v3. You can read the new API documentation here.

Movie.getTranslations

The Movie.getTranslations method will return the translations that a particular movie has. The languages returned can then be used with the Movie.search or Movie.getInfo methods. Remember though, just because the language was added to the movie it doesn't mean the data is complete.

Example URL

http://api.themoviedb.org/2.1/Movie.getTranslations/en/xml/APIKEY/11

Options

Language: IETF Language Tag, e.g. en-US

Type: Type can be xml, yaml or json.

API Key: The API key we supplied you with for your account.

ID: The ID of the TMDb movie you are looking for. This field supports an integer value (TMDb movie id) and an IMDB ID.

Example Response


<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
  <opensearch:Query searchTerms="11"/>
  <opensearch:totalResults>1</opensearch:totalResults>
  <movies>
    <movie>
      <name>Star Wars: Episode IV - A New Hope</name>
      <id>11</id>
      <imdb_id>tt0076759</imdb_id>
      <translations>
        <language iso_639_1="en">
          <english_name>English</english_name>
          <native_name>English</native_name>
        </language>
        <language iso_639_1="de">
          <english_name>German</english_name>
          <native_name>Deutsch</native_name>
        </language>
        <language iso_639_1="fr">
          <english_name>French</english_name>
          <native_name>fran&#231;ais</native_name>
        </language>
      </translations>
      <version>141</version>
      <last_modified_at>2010-08-10 14:48:18</last_modified_at>
    </movie>
  </movies>
</OpenSearchDescription>