| 1 | <?php |
||
| 18 | Class Language extends Package |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Get supported languages list with Crowdin codes mapped to locale name and standardized codes. |
||
| 22 | * |
||
| 23 | * @since 1.0.5 |
||
| 24 | * @see https://crowdin.com/page/api/supported-languages |
||
| 25 | * |
||
| 26 | * @return \Psr\Http\Message\ResponseInterface |
||
| 27 | */ |
||
| 28 | public function getSupported() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get the detailed translation progress for specified language. |
||
| 36 | * |
||
| 37 | * @param string $language The language code. |
||
| 38 | * |
||
| 39 | * @since 1.0.5 |
||
| 40 | * @see https://crowdin.com/page/api/language-status |
||
| 41 | * |
||
| 42 | * @return \Psr\Http\Message\ResponseInterface |
||
| 43 | */ |
||
| 44 | public function getStatus($language) |
||
| 49 | } |
||
| 50 |