ctf0 / lingo
GUI to manage laravel translation files
Fund package maintenance!
ctf0
Installs: 4 012
Dependents: 0
Suggesters: 0
Security: 0
Stars: 99
Watchers: 9
Forks: 12
Open Issues: 0
Language:Vue
Requires
- ctf0/package-changelog: *
- illuminate/support: >=5.4 <9.0
- maennchen/zipstream-php: >=1.0
- dev-master
- v2.4.0
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.0
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.1
- v2.0.0
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.8
- v1.3.7
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- 1.3.2
- v1.3.1
- v1.3.0
- v1.2.9
- v1.2.8
- v1.2.7
- v1.2.6
- v1.2.5
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.1
- v1.0.0
This package is auto-updated.
Last update: 2024-10-30 01:42:39 UTC
README
Lingo
A file based translation manager, which unlike other Lang managers don't need a database connection to handle the translation.
Installation
-
composer require ctf0/lingo
-
(Laravel < 5.5) add the service provider
'providers' => [ ctf0\Lingo\LingoServiceProvider::class, ]
-
publish the package assets with
php artisan vendor:publish --provider="ctf0\Lingo\LingoServiceProvider"
-
after installation, run
php artisan lingo:setup
to add- package routes to
routes/web.php
- package assets compiling to
webpack.mix.js
- package routes to
-
install dependencies
yarn add vue vue-ls vue-notif vue-clipboard2 vue-tippy@v2 vue-awesome@v2 axios fuse.js
-
add this one liner to your main js file and run
npm run watch
to compile yourjs/css
files.- if you are having issues Check
// app.js window.Vue = require('vue') require('../vendor/Lingo/js/manager') new Vue({ el: '#app' })
Features
- filter by keys.
- sort table by keys or by values.
- add/remove "vendor/locale/file/item".
- show guiding steps while adding new vendor for better UX.
- validate for "vendor/locale/file" existence on the fly.
- use localStorage to remember opened "tab/vendor/files/copy-format".
- support up to 3 levels deep on nested keys.
- support all laravel translation key formats.
- directly copy translation key along with placeholders through tool-tips
ex.trans('Vendor::file.key', ['attr'=>''])
. - copy/paste items from one file to another.
- merge/destruct multiple items.
- highlight changed key/value.
- download vendor/file.
- show/hide different elements to avoid noise & keep the user focused.
- shortcuts
Usage
- visit
localhost:8000/lingo
Security
If you discover any security-related issues, please email ctf0-dev@protonmail.com.