{"id":19401371,"url":"https://github.com/onthegosystems/wpml-config","last_synced_at":"2025-04-07T07:12:23.582Z","repository":{"id":29723746,"uuid":"122596369","full_name":"OnTheGoSystems/wpml-config","owner":"OnTheGoSystems","description":"Remote repository for WPML language configuration files","archived":false,"fork":false,"pushed_at":"2024-10-22T08:38:38.000Z","size":654,"stargazers_count":30,"open_issues_count":5,"forks_count":41,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-10-23T12:39:57.641Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OnTheGoSystems.png","metadata":{"files":{"readme":"README.md","changelog":"newsletter/wpml-config.xml","contributing":null,"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}},"created_at":"2018-02-23T08:50:50.000Z","updated_at":"2024-10-22T08:38:42.000Z","dependencies_parsed_at":"2023-09-28T00:49:08.018Z","dependency_job_id":"31fe3768-1239-4cd5-936a-1ab89f6c53ed","html_url":"https://github.com/OnTheGoSystems/wpml-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnTheGoSystems%2Fwpml-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnTheGoSystems%2Fwpml-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnTheGoSystems%2Fwpml-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnTheGoSystems%2Fwpml-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OnTheGoSystems","download_url":"https://codeload.github.com/OnTheGoSystems/wpml-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608153,"owners_count":20965952,"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-10T11:18:14.384Z","updated_at":"2025-04-07T07:12:23.553Z","avatar_url":"https://github.com/OnTheGoSystems.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remote repository for WPML language configuration files\n\nThis is the repository that the WPML plugin uses to keep the list of language configuration files always up to date.\n\n## Language configuration files\n\nEach plugin / theme can have a language configuration file that will tell WPML how to translate its data. You have more information about creating language configuration files over here:\n\nhttps://wpml.org/documentation/support/language-configuration-files/\n\nLanguage configuration files can be stored directly in the root folder of the plugin / theme where they belong or they can be added to this repository. The WPML plugin will periodically read this repository to keep up to date.\n\n## Repository structure\n\nThe language configuration repository has:\n\n- An index file to keep items organized under plugins and themes: [config-index.xml](config-index.xml)\n- A folder for each entry in the index file with a `wpml-config.xml` file inside.\n\n## Index file format\n\nThere are a couple of requisites:\n\n- The XML entry has to be inside one of these elements: `\u003cplugins\u003e` or `\u003cthemes\u003e`\n- The id attribute in the index file corresponds to the folder name and must match the folder name of the plugin or theme.\n- The name of the plugin has to match the name of the plugin in its header.\n\nFor example:\n\n`\u003citem id=\"sitepress-multilingual-cms\" override_local=\"true\"\u003eWPML Multilingual CMS\u003c/item\u003e`\n\n## Validating XML files\n\nRun `composer install --no-autoloader` to validate XML files.\n\n## Testing Instructions\n\n1. **Clone the Repository:**\n   Clone into the WordPress root directory:\n   ```\n   git clone [repository-url] /path/to/wordpress/wpml-config/\n   ```\n\n2. **Run Update Script:**\n   Navigate to the `/wpml-config/` folder and run the update script:\n   ```\n   cd /path/to/wordpress/wpml-config/ \u0026\u0026 php bin/update.php\n   ```\n\n3. **Configure WordPress:**\n   In `wp-config.php`, add:\n   ```\n   define( 'ICL_REMOTE_WPML_CONFIG_FILES_INDEX', 'http://your-wordpress-url/' );\n   ```\n   Replace `http://your-wordpress-url/` with your WordPress installation URL.\n\n4. **Test:**\n   Verify functionality in your WordPress environment.\n\nReport any issues or bugs encountered during the testing process.\n\n## Contributing\n\n- Fork the project or create a new branch\n- Make your changes, test them and push\n- Create a merge request for your branch to be merged into master\n- The changes will be reviewed and, if approved, merged\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonthegosystems%2Fwpml-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonthegosystems%2Fwpml-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonthegosystems%2Fwpml-config/lists"}