[[PageOutline(3-4, Sections)]] == !GetAvailableTranslations == === Intro === get available translations for given program ---- === Description === '''struct !GetAvailableTranslations(string $token, string $program)''' Returns a structure containing all available translations for a program ''program''. Currently supported programs are ''subdownloader'' and ''oscar''. ---- === Parameters === ''token (required)'':: token string identifying user's session, taken from [wiki:XmlRpcLogIn LogIn] output structure. ''program'':: * name of the program/client application you want translations for. * currently supported values: ''subdownloader'', ''oscar'' ---- === Return Values === Output is returned in this structure: {{{ struct( (string) [status], struct( struct( (string) [LastCreated], (string) [StringsNo] ) [], struct( ), ... more languages go here ... ) [data], (string) [seconds] ) }}} and contains these elements: ''status'':: function result code, see [wiki:XmlRpcStatusCode list of status codes] ''data'':: structure of subtitle languages containing: * ''!LastCreated'': last date/time a translation was created/modified in this language * ''!StringsNo'': number of translated strings currently available in this translation ''seconds'':: time taken to execute this command on server ---- === Implementations === There are currently no available sample implementations. ---- === Changelog === Version 1: created this function ---- === Examples === ==== Input ==== {{{ #!xml GetAvailableTranslations d5pnounn3ea5aja0nn4inqamf2 oscar }}} ==== Output ==== {{{ #!xml status 200 OK data en LastCreated 2007-10-19 12:44:00 StringsNo 266 ... more languages go here ... seconds 0.006 }}} ---- === Notes === none yet ---- === See also === * [wiki:XmlRpcGetTranslation GetTranslation] ---- === Comments === add your comments, hints and suggestions here if you like ... -------- [Prev] [wiki:XmlRpcIntro Home] [wiki:XmlRpcGetTranslation Next (GetTranslation)]