{"id":15764705,"url":"https://github.com/ctf0/lingo","last_synced_at":"2025-06-11T06:07:13.184Z","repository":{"id":46860482,"uuid":"106156905","full_name":"ctf0/Lingo","owner":"ctf0","description":"A Gui To Manage Laravel Translation Files","archived":false,"fork":false,"pushed_at":"2023-01-03T23:20:55.000Z","size":181,"stargazers_count":99,"open_issues_count":0,"forks_count":12,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-17T16:42:24.181Z","etag":null,"topics":["javascript","laravel","manager","php","translation","vuejs"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctf0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"ctf0"}},"created_at":"2017-10-08T07:06:24.000Z","updated_at":"2025-02-12T02:16:22.000Z","dependencies_parsed_at":"2023-02-01T13:17:01.124Z","dependency_job_id":null,"html_url":"https://github.com/ctf0/Lingo","commit_stats":null,"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2FLingo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2FLingo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2FLingo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2FLingo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctf0","download_url":"https://codeload.github.com/ctf0/Lingo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2FLingo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259211837,"owners_count":22822378,"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":["javascript","laravel","manager","php","translation","vuejs"],"created_at":"2024-10-04T12:04:28.696Z","updated_at":"2025-06-11T06:07:13.167Z","avatar_url":"https://github.com/ctf0.png","language":"Vue","readme":"\u003ch1 align=\"center\"\u003e\n    Lingo\n    \u003cbr\u003e\n    \u003ca href=\"https://packagist.org/packages/ctf0/lingo\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/ctf0/lingo.svg\" alt=\"Latest Stable Version\" /\u003e\u003c/a\u003e \u003ca href=\"https://packagist.org/packages/ctf0/lingo\"\u003e\u003cimg src=\"https://img.shields.io/packagist/dt/ctf0/lingo.svg\" alt=\"Total Downloads\" /\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\nA file based translation manager, which unlike other Lang managers don't need a database connection to handle the translation.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/7388088/41813078-257e4b6c-772f-11e8-9661-14636218d029.png\"\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n## Installation\n\n- `composer require ctf0/lingo`\n\n- (Laravel \u003c 5.5) add the service provider\n\n    ```php\n    'providers' =\u003e [\n        ctf0\\Lingo\\LingoServiceProvider::class,\n    ]\n    ```\n\n- publish the package assets with\n\n    `php artisan vendor:publish --provider=\"ctf0\\Lingo\\LingoServiceProvider\"`\n\n- after installation, run `php artisan lingo:setup` to add\n    + package routes to `routes/web.php`\n    + package assets compiling to `webpack.mix.js`\n\n- install dependencies\n\n    ```bash\n    yarn add vue vue-ls vue-notif vue-clipboard2 vue-tippy@v2 vue-awesome@v2 axios fuse.js\n    ```\n\n- add this one liner to your main js file and run `npm run watch` to compile your `js/css` files.\n    - if you are having issues [Check](https://ctf0.wordpress.com/2017/09/12/laravel-mix-es6/)\n\n    ```js\n    // app.js\n\n    window.Vue = require('vue')\n\n    require('../vendor/Lingo/js/manager')\n\n    new Vue({\n        el: '#app'\n    })\n    ```\n\n\u003cbr\u003e\n\n## Features\n\n- filter by keys.\n- sort table by keys or by values.\n- add/remove \"vendor/locale/file/item\".\n- show guiding steps while adding new vendor for better UX.\n- validate for \"vendor/locale/file\" existence on the fly.\n- use localStorage to remember opened \"tab/vendor/files/copy-format\".\n- support up to 3 levels deep on nested keys.\n- support all laravel translation key formats.\n- directly copy translation key along with placeholders through tool-tips\u003cbr\u003e\n  ex.`trans('Vendor::file.key', ['attr'=\u003e''])`.\n- copy/paste items from one file to another.\n- merge/destruct multiple items.\n- highlight changed key/value.\n- download vendor/file.\n- show/hide different elements to avoid noise \u0026 keep the user focused.\n- shortcuts\n\n| operation                         | keyboard |\n|-----------------------------------|----------|\n| reset search ***\"when focused\"*** | esc      |\n| hide modal                        | esc      |\n\n\u003cbr\u003e\n\n## Usage\n\n\u003e [Demo](https://github.com/ctf0/demos/tree/lingo)\n\n- visit `localhost:8000/lingo`\n\n\u003cbr\u003e\n\n### Security\n\nIf you discover any security-related issues, please email [ctf0-dev@protonmail.com](mailto:ctf0-dev@protonmail.com).\n","funding_links":["https://github.com/sponsors/ctf0"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctf0%2Flingo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctf0%2Flingo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctf0%2Flingo/lists"}