Download the PHP package ibrhaim13/mongodb-translate without Composer
On this page you can find all versions of the php package ibrhaim13/mongodb-translate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package mongodb-translate
Introduction
ibrhaim13/mdb-translate is laravel translation package using mongodb for static text that is simple,dynamic and enjoyable to use.
Official Documentation
Install (Laravel ^8.0, ^9.0 )
Install via composer
Publish Package
will publish Package Components translate13 (config file), Migration file, view,
Dependents:
you should install laravel on of Starter Kits auth package like auth/ui or laravel-breeze or other cause should this feature for admins. we are also Dependent to laravel view app layout if you want to make your custom view you do not need it at all.
Basic Configure Package
Run migrate
add middleware for web middleware group for add local to url path
will change local of app once change it at url.
add prefix to routes via Route Service Provider of application
Advance Configure Package
you can be custom route ,prefix,add new language and add your middlewares as you like view, and you should add translate page route into your navbar of app, so you can access page you can add new translate group via extend the model and overwrite the group
How you can use
after set up your configuration you can access translate page to add new keys so you can translate it from admin panel
by default there two group name ,,after add the key before open translate admin page you must open the page there have this key so laravel application loaded
to access translate admin panel page
then click on generate button to generate static translate files after edit your translation
NOTE:
YOUR SERVER NEED PERMISSION TO CRAETE TRANSLATIONS FILES
Security Vulnerabilities
e-mail us at [email protected]
License
ibrhaim13/translate is open-sourced software licensed under the MIT license.
All versions of mongodb-translate with dependencies
laravel/framework Version ^8.0|^9.0
torann/geoip Version ^1.0|^3.0
jenssegers/mongodb Version ^3.9