{"id":25769634,"url":"https://github.com/rybinden/yii2-translate","last_synced_at":"2026-05-13T11:34:28.437Z","repository":{"id":62538658,"uuid":"62480955","full_name":"RybinDen/yii2-translate","owner":"RybinDen","description":"Компонент yii2 для перевода текста с одного на другой язык","archived":false,"fork":false,"pushed_at":"2016-07-07T10:48:16.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-13T14:18:51.331Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RybinDen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-03T04:12:39.000Z","updated_at":"2016-07-05T17:55:10.000Z","dependencies_parsed_at":"2022-11-02T16:15:35.578Z","dependency_job_id":null,"html_url":"https://github.com/RybinDen/yii2-translate","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RybinDen%2Fyii2-translate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RybinDen%2Fyii2-translate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RybinDen%2Fyii2-translate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RybinDen%2Fyii2-translate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RybinDen","download_url":"https://codeload.github.com/RybinDen/yii2-translate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240962116,"owners_count":19885436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-27T01:39:56.464Z","updated_at":"2026-05-13T11:34:28.396Z","avatar_url":"https://github.com/RybinDen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Компонент Yii2 для перевода текста с одного языка на другой    \n------\n \nустановка\n------------\nвыполнить\n```\nphp composer.phar require \"rybinden/yii2-translate\"\n```\nили добавить в секцию require  файла composer.json \n```json\n\"rybinden/yii2-translate\" : \"*\"\n```\nи запустить команду обновления\nДалее нужно добавить компонент в ваш конфигурационный файл\n```php\n'components' =\u003e [\n'translate' =\u003e [\n'class' =\u003e 'rybinden\\translate\\YandexTranslate',\n'key' =\u003e 'ваш_ключ_приложения', // http://api.yandex.com/key/keyslist.xml\n//'lang' =\u003e 'ru', установлено переводить на русский по умолчанию\n],\n...\n]\n```\n\nиспользование\n-------------\n```php\necho Yii::$app-\u003etranslate-\u003etranslate('Эта строка будет переведена на английский'); // можно указать второй параметр - язык, на который нужно перевести\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frybinden%2Fyii2-translate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frybinden%2Fyii2-translate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frybinden%2Fyii2-translate/lists"}