(create-resource client project-slug resource-slug name i18n-type source & args)
Create a new resource. Returns a json summary.
Create a new resource. Returns a json summary. - project-slug: the slug of the project where to create the new resource - resource-slug: the slug for the new resource - name: the display name for the new resource - i18n-type: XLIFF, PO, etc. see https://docs.transifex.com/formats/introduction - source: the source translations. Can be a java.io.File or a java.lang.Byte array extra possible args are: - :accept_translations (boolean) - :category or :categories - :priority (int): 0 for Normal, 1 for High, 2 for Urgent - :mp4_url or :ogg_url or :webm_url or :youtube_url
(download-bin-resource client project-slug resource-slug)
Download a binary resource and return it as a byte array
Download a binary resource and return it as a byte array
(download-bin-resource-translations client
project-slug
resource-slug
lang-code
&
args)
Download resource translations in given language as a byte array. extra possible args are :
Download resource translations in given language as a byte array. extra possible args are : - :mode (string): default or reviewed or translator or onlytranslated or onlyreviewed or sourceastranslation - :file (string): file format. Don't specify to get the original file format.
(download-resource client project-slug resource-slug)
Download a resource and return it as a string
Download a resource and return it as a string
(download-resource-translations client
project-slug
resource-slug
lang-code
&
args)
Download resource translations in given language as a string. extra possible args are :
Download resource translations in given language as a string. extra possible args are : - :mode (string): default or reviewed or translator or onlytranslated or onlyreviewed or sourceastranslation - :file (string): file format. Don't specify to get the original file format.
(env->client)
Create an API client from the environment. It assumes you set TRANSIFEX_API_KEY to a valid Transifex API token.
Create an API client from the environment. It assumes you set TRANSIFEX_API_KEY to a valid Transifex API token.
(info-resource client project-slug resource-slug & args)
Retrieve detailed informations about resource as a json string. extra possible args are :
Retrieve detailed informations about resource as a json string. extra possible args are : - :details (bool): extra fields are returned
(mk-client api-token)
(mk-client user password)
Create an API client
Create an API client
(upload-resource-translation client
project-slug
resource-slug
lang-code
translations
&
args)
Upload file as new translations for resource. Returns a json summary. translations can be a java.io.File or a java.lang.Byte array. extra possible args are:
Upload file as new translations for resource. Returns a json summary. translations can be a java.io.File or a java.lang.Byte array. extra possible args are: - :file_type (string): xliff is the only possible value
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close