Work.languages

From Safe Creative API
Revision as of 08:07, 7 May 2021 by Adminwiki (talk | contribs) (4 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns the list of supported languages

Info

  • Component name: work.languages
  • Signature: No signature required
  • Timestamp: Ztime is not required
  • API trust level: Public

Parameters

  • locale: Locale for language names

* Required parameter

Returns

  • worklanguages
    • language
      • code: Language ISO code
      • name: Language name

Example

REQUEST:

https://api.safecreative.org/v2/
?component=work.languages
&locale=en

RESPONSE:

<?xml version="1.0" encoding="UTF-8"?>
<worklanguages> 
  <language> 
    <code>AR</code> 
    <name>Arabic</name> 
  </language> 
  <language> 
    <code>OC</code> 
    <name>Aranese</name> 
  </language> 
  <language> 
    <code>EU</code> 
    <name>Basque</name> 
  </language> 
  <language> 
    <code>CA</code> 
    <name>Catalan</name> 
  </language> 
  <language> 
    <code>ZH</code> 
    <name>Chinesse</name> 
  </language> 
  <language> 
    <code>EN</code> 
    <name>English</name> 
  </language> 
  <language> 
    <code>FR</code> 
    <name>French</name> 
  </language> 
  <language> 
    <code>GL</code> 
    <name>Galician</name> 
  </language> 
  <language> 
    <code>DE</code> 
    <name>German</name> 
  </language> 
  <language> 
    <code>IT</code> 
    <name>Italian</name> 
  </language> 
  <language> 
    <code>PT</code> 
    <name>Portuguese</name> 
  </language> 
  <language> 
    <code>RU</code> 
    <name>Russian</name> 
  </language> 
  <language> 
    <code>ES</code> 
    <name>Spanish</name> 
  </language> 
</worklanguages>