{"id":21253817,"url":"https://github.com/robinncode/ci_onubadok","last_synced_at":"2026-05-16T22:03:56.366Z","repository":{"id":168378492,"uuid":"644081425","full_name":"robinNcode/ci_onubadok","owner":"robinNcode","description":"A Codeigniter4 package for translating your PHP software to other languages. Primarily in the Bengali language. Looking for some open-source contributors from different countries to make this package more effective with any language. ","archived":false,"fork":false,"pushed_at":"2023-06-02T03:40:04.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-24T11:41:34.848Z","etag":null,"topics":["cli","codeigniter","codeigniter-library","localization","php","translation"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robinNcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-05-22T19:20:50.000Z","updated_at":"2024-11-12T06:37:23.000Z","dependencies_parsed_at":"2024-04-20T16:31:40.528Z","dependency_job_id":null,"html_url":"https://github.com/robinNcode/ci_onubadok","commit_stats":null,"previous_names":["robinncode/ci_onubadok"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robinNcode/ci_onubadok","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinNcode%2Fci_onubadok","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinNcode%2Fci_onubadok/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinNcode%2Fci_onubadok/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinNcode%2Fci_onubadok/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robinNcode","download_url":"https://codeload.github.com/robinNcode/ci_onubadok/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinNcode%2Fci_onubadok/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33120450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","codeigniter","codeigniter-library","localization","php","translation"],"created_at":"2024-11-21T03:53:08.736Z","updated_at":"2026-05-16T22:03:56.361Z","avatar_url":"https://github.com/robinNcode.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Onubadok: A localisation tool for laravel projects\n## Localize your laravel project with ease using onubadok.\n\n### Installation\n```\ncomposer require robinncode/ci_onubadok\n```\n\n### Usage\n- To generate language files run the following command\n    ```\n    php spark onubadok:generate your_language_code\n    ```\n    #### Example\n    ```\n    php spark onubadok:generate bn\n    ```\n    This will generate a necessary files on as `app/Language/en` and `app/Language/bn`. Now you can translate the file and save it.\n    \n- To publish the Controller file run the following command\n    ```\n    php spark onubadok:publish\n    ```\n    This will publish the controller file to `app/Controllers/OnubadokController.php`. Now you can use the controller to get the translated text.\n    Also append the following line to your `app/Config/Routes.php` file\n    ```\n    $routes-\u003eget('onubadok/change/{lang}', 'OnubadokController::change/$1');\n    ```\n  \n### Using in views file\nNow 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.\n```\n\u003c?= lang('your_key') ?\u003e\n```\n#### Example\nHere is an example of a data table column name. Here `data_table` is the file name and `Name` is the key.\n```\n\u003c?= lang('data_table.Name') ?\u003e\n```\n\n### License\nThis package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).\n\n### Contribution\nFeel free to contribute to this project. Any kind of contribution is welcome.\n\n### Author\nMsM Robin \u003cmsmrobin518@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinncode%2Fci_onubadok","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinncode%2Fci_onubadok","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinncode%2Fci_onubadok/lists"}