├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ └── run-tests.yml ├── .gitignore ├── .styleci.yml ├── LICENSE.md ├── composer.json ├── composer.lock ├── config └── translation.php ├── contributing.md ├── database ├── factories │ ├── LanguageFactory.php │ └── TranslationFactory.php └── migrations │ ├── 2018_08_29_200844_create_languages_table.php │ └── 2018_08_29_205156_create_translations_table.php ├── logo.png ├── mix-manifest.json ├── package.json ├── phpunit.xml ├── public └── assets │ ├── css │ └── main.css │ ├── js │ └── app.js │ └── mix-manifest.json ├── readme.md ├── resources ├── assets │ ├── css │ │ └── main.css │ └── js │ │ ├── app.js │ │ ├── bootstrap.js │ │ └── components │ │ └── TranslationInput.vue ├── helpers.php ├── lang │ ├── de │ │ ├── errors.php │ │ └── translation.php │ ├── en │ │ ├── errors.php │ │ └── translation.php │ ├── fr │ │ ├── errors.php │ │ └── translation.php │ └── nl │ │ ├── errors.php │ │ └── translation.php └── views │ ├── forms │ ├── search.blade.php │ ├── select.blade.php │ └── text.blade.php │ ├── icons │ ├── globe.blade.php │ └── translate.blade.php │ ├── languages │ ├── create.blade.php │ ├── index.blade.php │ └── translations │ │ ├── create.blade.php │ │ └── index.blade.php │ ├── layout.blade.php │ ├── nav.blade.php │ └── notifications.blade.php ├── routes └── web.php ├── src ├── Console │ └── Commands │ │ ├── AddLanguageCommand.php │ │ ├── AddTranslationKeyCommand.php │ │ ├── BaseCommand.php │ │ ├── ListLanguagesCommand.php │ │ ├── ListMissingTranslationKeys.php │ │ ├── SynchroniseMissingTranslationKeys.php │ │ └── SynchroniseTranslationsCommand.php ├── ContractDatabaseLoader.php ├── Drivers │ ├── Database.php │ ├── DriverInterface.php │ ├── File.php │ └── Translation.php ├── Events │ └── TranslationAdded.php ├── Exceptions │ ├── LanguageExistsException.php │ └── LanguageKeyExistsException.php ├── Http │ ├── Controllers │ │ ├── LanguageController.php │ │ └── LanguageTranslationController.php │ └── Requests │ │ ├── LanguageRequest.php │ │ └── TranslationRequest.php ├── InterfaceDatabaseLoader.php ├── Language.php ├── Rules │ └── LanguageNotExists.php ├── Scanner.php ├── Translation.php ├── TranslationBindingsServiceProvider.php ├── TranslationManager.php └── TranslationServiceProvider.php ├── tailwind.js ├── tests ├── DatabaseDriverTest.php ├── FileDriverTest.php ├── PackageIsLoadedTest.php ├── ScannerTest.php └── fixtures │ ├── lang │ ├── en.json │ ├── en │ │ └── test.php │ └── es │ │ └── .gitignore │ └── scan-tests │ ├── __.txt │ ├── at_lang.txt │ ├── lang_get.txt │ ├── trans.txt │ └── trans_choice.txt ├── translation.png └── webpack.mix.js /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/run-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/.github/workflows/run-tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | /node_modules 3 | .phpunit.result.cache 4 | -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/.styleci.yml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/LICENSE.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/composer.lock -------------------------------------------------------------------------------- /config/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/config/translation.php -------------------------------------------------------------------------------- /contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/contributing.md -------------------------------------------------------------------------------- /database/factories/LanguageFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/database/factories/LanguageFactory.php -------------------------------------------------------------------------------- /database/factories/TranslationFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/database/factories/TranslationFactory.php -------------------------------------------------------------------------------- /database/migrations/2018_08_29_200844_create_languages_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/database/migrations/2018_08_29_200844_create_languages_table.php -------------------------------------------------------------------------------- /database/migrations/2018_08_29_205156_create_translations_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/database/migrations/2018_08_29_205156_create_translations_table.php -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/logo.png -------------------------------------------------------------------------------- /mix-manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/mix-manifest.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/package.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/phpunit.xml -------------------------------------------------------------------------------- /public/assets/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/public/assets/css/main.css -------------------------------------------------------------------------------- /public/assets/js/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/public/assets/js/app.js -------------------------------------------------------------------------------- /public/assets/mix-manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/public/assets/mix-manifest.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/readme.md -------------------------------------------------------------------------------- /resources/assets/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/assets/css/main.css -------------------------------------------------------------------------------- /resources/assets/js/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/assets/js/app.js -------------------------------------------------------------------------------- /resources/assets/js/bootstrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/assets/js/bootstrap.js -------------------------------------------------------------------------------- /resources/assets/js/components/TranslationInput.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/assets/js/components/TranslationInput.vue -------------------------------------------------------------------------------- /resources/helpers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/helpers.php -------------------------------------------------------------------------------- /resources/lang/de/errors.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/lang/de/errors.php -------------------------------------------------------------------------------- /resources/lang/de/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/lang/de/translation.php -------------------------------------------------------------------------------- /resources/lang/en/errors.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/lang/en/errors.php -------------------------------------------------------------------------------- /resources/lang/en/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/lang/en/translation.php -------------------------------------------------------------------------------- /resources/lang/fr/errors.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/lang/fr/errors.php -------------------------------------------------------------------------------- /resources/lang/fr/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/lang/fr/translation.php -------------------------------------------------------------------------------- /resources/lang/nl/errors.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/lang/nl/errors.php -------------------------------------------------------------------------------- /resources/lang/nl/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/lang/nl/translation.php -------------------------------------------------------------------------------- /resources/views/forms/search.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/views/forms/search.blade.php -------------------------------------------------------------------------------- /resources/views/forms/select.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/views/forms/select.blade.php -------------------------------------------------------------------------------- /resources/views/forms/text.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/views/forms/text.blade.php -------------------------------------------------------------------------------- /resources/views/icons/globe.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/views/icons/globe.blade.php -------------------------------------------------------------------------------- /resources/views/icons/translate.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/views/icons/translate.blade.php -------------------------------------------------------------------------------- /resources/views/languages/create.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/views/languages/create.blade.php -------------------------------------------------------------------------------- /resources/views/languages/index.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/views/languages/index.blade.php -------------------------------------------------------------------------------- /resources/views/languages/translations/create.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/views/languages/translations/create.blade.php -------------------------------------------------------------------------------- /resources/views/languages/translations/index.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/views/languages/translations/index.blade.php -------------------------------------------------------------------------------- /resources/views/layout.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/views/layout.blade.php -------------------------------------------------------------------------------- /resources/views/nav.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/views/nav.blade.php -------------------------------------------------------------------------------- /resources/views/notifications.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/resources/views/notifications.blade.php -------------------------------------------------------------------------------- /routes/web.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/routes/web.php -------------------------------------------------------------------------------- /src/Console/Commands/AddLanguageCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Console/Commands/AddLanguageCommand.php -------------------------------------------------------------------------------- /src/Console/Commands/AddTranslationKeyCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Console/Commands/AddTranslationKeyCommand.php -------------------------------------------------------------------------------- /src/Console/Commands/BaseCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Console/Commands/BaseCommand.php -------------------------------------------------------------------------------- /src/Console/Commands/ListLanguagesCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Console/Commands/ListLanguagesCommand.php -------------------------------------------------------------------------------- /src/Console/Commands/ListMissingTranslationKeys.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Console/Commands/ListMissingTranslationKeys.php -------------------------------------------------------------------------------- /src/Console/Commands/SynchroniseMissingTranslationKeys.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Console/Commands/SynchroniseMissingTranslationKeys.php -------------------------------------------------------------------------------- /src/Console/Commands/SynchroniseTranslationsCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Console/Commands/SynchroniseTranslationsCommand.php -------------------------------------------------------------------------------- /src/ContractDatabaseLoader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/ContractDatabaseLoader.php -------------------------------------------------------------------------------- /src/Drivers/Database.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Drivers/Database.php -------------------------------------------------------------------------------- /src/Drivers/DriverInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Drivers/DriverInterface.php -------------------------------------------------------------------------------- /src/Drivers/File.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Drivers/File.php -------------------------------------------------------------------------------- /src/Drivers/Translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Drivers/Translation.php -------------------------------------------------------------------------------- /src/Events/TranslationAdded.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Events/TranslationAdded.php -------------------------------------------------------------------------------- /src/Exceptions/LanguageExistsException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Exceptions/LanguageExistsException.php -------------------------------------------------------------------------------- /src/Exceptions/LanguageKeyExistsException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Exceptions/LanguageKeyExistsException.php -------------------------------------------------------------------------------- /src/Http/Controllers/LanguageController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Http/Controllers/LanguageController.php -------------------------------------------------------------------------------- /src/Http/Controllers/LanguageTranslationController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Http/Controllers/LanguageTranslationController.php -------------------------------------------------------------------------------- /src/Http/Requests/LanguageRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Http/Requests/LanguageRequest.php -------------------------------------------------------------------------------- /src/Http/Requests/TranslationRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Http/Requests/TranslationRequest.php -------------------------------------------------------------------------------- /src/InterfaceDatabaseLoader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/InterfaceDatabaseLoader.php -------------------------------------------------------------------------------- /src/Language.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Language.php -------------------------------------------------------------------------------- /src/Rules/LanguageNotExists.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Rules/LanguageNotExists.php -------------------------------------------------------------------------------- /src/Scanner.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Scanner.php -------------------------------------------------------------------------------- /src/Translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/Translation.php -------------------------------------------------------------------------------- /src/TranslationBindingsServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/TranslationBindingsServiceProvider.php -------------------------------------------------------------------------------- /src/TranslationManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/TranslationManager.php -------------------------------------------------------------------------------- /src/TranslationServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/src/TranslationServiceProvider.php -------------------------------------------------------------------------------- /tailwind.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/tailwind.js -------------------------------------------------------------------------------- /tests/DatabaseDriverTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/tests/DatabaseDriverTest.php -------------------------------------------------------------------------------- /tests/FileDriverTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/tests/FileDriverTest.php -------------------------------------------------------------------------------- /tests/PackageIsLoadedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/tests/PackageIsLoadedTest.php -------------------------------------------------------------------------------- /tests/ScannerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/tests/ScannerTest.php -------------------------------------------------------------------------------- /tests/fixtures/lang/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/tests/fixtures/lang/en.json -------------------------------------------------------------------------------- /tests/fixtures/lang/en/test.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/tests/fixtures/lang/en/test.php -------------------------------------------------------------------------------- /tests/fixtures/lang/es/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/scan-tests/__.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/tests/fixtures/scan-tests/__.txt -------------------------------------------------------------------------------- /tests/fixtures/scan-tests/at_lang.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/tests/fixtures/scan-tests/at_lang.txt -------------------------------------------------------------------------------- /tests/fixtures/scan-tests/lang_get.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/tests/fixtures/scan-tests/lang_get.txt -------------------------------------------------------------------------------- /tests/fixtures/scan-tests/trans.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/tests/fixtures/scan-tests/trans.txt -------------------------------------------------------------------------------- /tests/fixtures/scan-tests/trans_choice.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/tests/fixtures/scan-tests/trans_choice.txt -------------------------------------------------------------------------------- /translation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/translation.png -------------------------------------------------------------------------------- /webpack.mix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedixon/laravel-translation/HEAD/webpack.mix.js --------------------------------------------------------------------------------