honey-comb / translations
Installs: 2 814
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: ^7.1
- honey-comb/core: 0.3.*
- honey-comb/starter: 0.2.*
- laravel/framework: 5.6.*
- spatie/laravel-translation-loader: ^2.1
Requires (Dev)
- codedungeon/phpunit-result-printer: ^0.19
- mockery/mockery: ^1.0
- orchestra/testbench-browser-kit: ^3.6
- phpunit/phpunit: ~7.2
This package is auto-updated.
Last update: 2024-11-14 03:48:25 UTC
README
https://github.com/honey-comb/translations
Description
HoneyComb CMS translations package. It uses https://github.com/spatie/laravel-translation-loader package for loading translations from database. Feel free to check their documentation.
Attention
This is part resources package for HoneyComb CMS package.
If you want to use laravel version 5.5.* use translations package version 0.1.*
Requirement
- php:
^7.1
- laravel:
^5.6
- composer
Installation
Begin by installing this package through Composer.
{ "require": { "honey-comb/translations": "0.2.*" } }
or
composer require honey-comb/translations
Laravel integration
Publish package config
php artisan vendor:publish --provider="HoneyComb\Translations\Providers\HCTranslationServiceProvider"
You can set up file names, which won't be imported to database in config/translations-loader.php
file.
'exclude_groups' => [ // ],
Run Artisan commands
php artisan hc:update
// imports project translations files
php artisan import:translations