Download the PHP package robinncode/onubadok without Composer
On this page you can find all versions of the php package robinncode/onubadok. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download robinncode/onubadok
More information about robinncode/onubadok
Files in robinncode/onubadok
Package onubadok
Short Description This is a Composer package for translating your PHP software to other languages, primarily in Bengali.
License MIT
Homepage https://github.com/robinNcode/onubadok
Informations about the package onubadok
Onubadok: A localisation tool for laravel projects
Localize your laravel project with ease using onubadok.
Installation
Usage
-
To generate language files run the following command
Example
This will generate a necessary files on as
lang/en
andlang/bn
. Now you can translate the file and save it. -
To publish the Controller file run the following command
This will publish the controller file to
app/Http/Controllers/OnubadokController.php
. Now you can use the controller to get the translated text. Also append the following line to yourroutes/web.php
file
Usage in blade file
Now run your project then goto your browser and type http://your_project_url/onubadok/change/your_language_code
to change the language to your_language_code
. Now you can use the following code to get the translated text.
Example
Here is an example of a data table column name. Here data_table
is the file name and Name
is the key.
License
This package is open-sourced software licensed under the MIT license.
Contribution
Feel free to contribute to this project. Any kind of contribution is welcome.
Author
MsM Robin [email protected]