Giter Club home page Giter Club logo

Comments (3)

swissspidy avatar swissspidy commented on July 28, 2024

This doesn't sound like you're using the latest version of this package. At least I cannot reproduce the issue locally.

What's the output of wp package list? What's the output of wp i18n?

I installed the latest version of the package using wp package install wp-cli/i18n-command:dev-main and then I get this:

$ wp package list
+------------------------------------+------------------+----------+-----------+----------------+
| name                               | authors          | version  | update    | update_version |
+------------------------------------+------------------+----------+-----------+----------------+
| swissspidy/validate-readme-command |                  | dev-main | none      |                |
| wp-cli/dist-archive-command        | Daniel Bachhuber | v2.0.1   | none      |                |
| wp-cli/i18n-command                | Pascal Birchler  | dev-main | available | 2.x-dev        |
| wp-cli/scaffold-package-command    | Daniel Bachhuber | v2.0.1   | none      |                |
+------------------------------------+------------------+----------+-----------+----------------+

$ wp i18n update-po
usage: wp i18n update-po <source> [<destination>]

So it works as expected.

from i18n-command.

strarsis avatar strarsis commented on July 28, 2024

@swissspidy: Yes, I can confirm that installing the latest wp i18n as you described (wp package install) works correctly.

What I did first (and which didn't work):

  1. (cd ~/src)
  2. git clone https://github.com/wp-cli/i18n-command
  3. (cd i18n-command)
  4. composer install
  5. ~/src/i18n-command/vendor/bin/wp i18n update-po

After install the latest wp i18n using wp package install the issue also went away.
So my approach for using wp i18n directly from GitHub repository appears to be wrong.

from i18n-command.

bilalmalkoc avatar bilalmalkoc commented on July 28, 2024

@swissspidy check this

It says

"This package is included with WP-CLI itself, no additional installation necessary."

Check this issue please: #340

from i18n-command.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.