{"id":18785027,"url":"https://github.com/domprojects/ci-localize","last_synced_at":"2026-01-07T01:05:02.721Z","repository":{"id":257792870,"uuid":"862262569","full_name":"domProjects/ci-localize","owner":"domProjects","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-24T12:49:33.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T03:41:35.570Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/domProjects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-09-24T10:01:40.000Z","updated_at":"2024-09-24T12:49:37.000Z","dependencies_parsed_at":"2024-09-29T06:16:14.950Z","dependency_job_id":null,"html_url":"https://github.com/domProjects/ci-localize","commit_stats":null,"previous_names":["domprojects/ci-localize"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domProjects%2Fci-localize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domProjects%2Fci-localize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domProjects%2Fci-localize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domProjects%2Fci-localize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domProjects","download_url":"https://codeload.github.com/domProjects/ci-localize/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248714735,"owners_count":21149958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-07T20:44:43.979Z","updated_at":"2026-01-07T01:05:02.668Z","avatar_url":"https://github.com/domProjects.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeIgniter Localize\n\nAllows you to easily change and manage the language of your CodeIgniter project.\n\n\n## Getting Started\n\n### Prerequisites\n\nUsage of Localize requires the following:\n\n- A [CodeIgniter 4.5.0+](https://github.com/codeigniter4/CodeIgniter4/) based project\n- [Composer](https://getcomposer.org/) for package management\n- PHP 8.1+\n\n### Installation\n\nInstallation is done through Composer.\n\n```console\ncomposer require domprojects/ci-localize\n```\n\n#### Filters setup\nIn the **app/Config/Filters.php** file, add the following line:\n\n```php\n    public array $aliases = [\n        // ...\n        'localize' =\u003e \\App\\Filters\\Localize::class,\n    ];\n```\n\nStill in the same file:\n\n```php\n    public array $globals = [\n        'before' =\u003e [\n            // ...\n            'localize',\n        ],\n    ];\n```\n\n\n#### App setup\nIn the **app/Config/App.php** file, modify the following line:\n\n```php\n    public bool $negotiateLocale = false;\n```\nby\n```php\n    public bool $negotiateLocale = true;\n```\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomprojects%2Fci-localize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomprojects%2Fci-localize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomprojects%2Fci-localize/lists"}