{"id":13409187,"url":"https://github.com/LeoColomb/pomo","last_synced_at":"2025-03-14T14:31:02.915Z","repository":{"id":12958134,"uuid":"15636441","full_name":"LeoColomb/pomo","owner":"LeoColomb","description":"Gettext library to translate with I18n","archived":false,"fork":false,"pushed_at":"2023-01-06T10:53:50.000Z","size":379,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-14T20:38:39.763Z","etag":null,"topics":["composer","gettext-library","internationalization","php","pomo","translations"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LeoColomb.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}},"created_at":"2014-01-04T17:38:18.000Z","updated_at":"2024-06-14T03:05:01.000Z","dependencies_parsed_at":"2023-01-13T17:13:29.817Z","dependency_job_id":null,"html_url":"https://github.com/LeoColomb/pomo","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoColomb%2Fpomo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoColomb%2Fpomo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoColomb%2Fpomo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoColomb%2Fpomo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeoColomb","download_url":"https://codeload.github.com/LeoColomb/pomo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243593303,"owners_count":20316164,"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":["composer","gettext-library","internationalization","php","pomo","translations"],"created_at":"2024-07-30T20:00:58.726Z","updated_at":"2025-03-14T14:31:02.642Z","avatar_url":"https://github.com/LeoColomb.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# POMO\n\n\u003e Gettext library to translate with i18n\n\n[![Latest Release](https://img.shields.io/packagist/v/pomo/pomo.svg)](https://packagist.org/packages/pomo/pomo)\n\n## About\n\n[Why use it](https://codex.wordpress.org/I18n_for_WordPress_Developers).\n\n## Usage\n\n```php\n\u003c?php\nuse POMO\\MO;\n\n// Create MO object\n$translations = new MO();\n\n// Import MO file\n$translations-\u003eimport_from_file($the_mo_filepath);\n\n// Translate\n$translations-\u003etranslate($text);\n```\n\n## Installation\n\nThe easiest way to install POMO is via [composer](http://getcomposer.org/).  \n\n```console\ncomposer require pomo/pomo\n```\n\n```php\n\u003c?php\n\nrequire 'vendor/autoload.php';\n\nuse POMO\\MO;\n\n[...]\n```\n\n## Requirements\n\nPOMO works with PHP 5.3 or above.\n\n## License\n\nPOMO is licensed under the [GPLv2 License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeoColomb%2Fpomo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLeoColomb%2Fpomo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeoColomb%2Fpomo/lists"}