-
Notifications
You must be signed in to change notification settings - Fork 0
Documentation added #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
lloc
commented
Oct 22, 2025
- AGENTS.md created
- README.md contains now detailed instructions
Summary of ChangesHello @lloc, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request substantially improves the project's documentation by introducing a new Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
The pull request adds documentation in AGENTS.md and updates README.md with detailed instructions for the project. The changes in README.md introduce sections for requirements, installation, configuration, usage, development, and troubleshooting. The AGENTS.md file provides guidelines for project structure, build commands, coding style, testing, commit practices, and localization workflow.
| # Composer i18n Scripts | ||
|
|
||
| Simplify the internationalization of your WordPress plugin or theme using WP-CLI — powered by Composer. | ||
| Automate the internationalization workflow of your WordPress plugin or theme by wiring WP-CLI translation tools into familiar Composer commands. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description could be more concise and directly state the purpose of the scripts.
Consider revising to something like: "Provides Composer scripts for WordPress i18n automation using WP-CLI."
| Automate the internationalization workflow of your WordPress plugin or theme by wiring WP-CLI translation tools into familiar Composer commands. | |
| Automates WordPress i18n workflow via Composer scripts and WP-CLI. |
|
|
||
| ## Requirements | ||
| - PHP 7.4+ and Composer 2.6+ (Composer plugin API 2.6 is required) | ||
| - WP-CLI 2.12+ available on your `$PATH` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - **“Text domain is not set”**: ensure your plugin/theme headers declare `Text Domain` and `Domain Path`. | ||
| - **WP-CLI not found**: verify `wp` is installed globally or provide an absolute path (e.g. symlink `wp` into `/usr/local/bin`). | ||
| - **Translations not picking up new strings**: rerun `composer i18n:make-pot` before updating `.po` files so the template is up to date. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a suggestion to check file permissions if translations are not being picked up, as this is a common issue.
Suggestion: "- Translations not picking up new strings: rerun composer i18n:make-pot before updating .po files so the template is up to date. Also, ensure proper file permissions are set for the languages directory."
| - **“Text domain is not set”**: ensure your plugin/theme headers declare `Text Domain` and `Domain Path`. | |
| - **WP-CLI not found**: verify `wp` is installed globally or provide an absolute path (e.g. symlink `wp` into `/usr/local/bin`). | |
| - **Translations not picking up new strings**: rerun `composer i18n:make-pot` before updating `.po` files so the template is up to date. | |
| - **Translations not picking up new strings**: rerun `composer i18n:make-pot` before updating `.po` files so the template is up to date. Also, ensure proper file permissions are set for the languages directory. |