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