Skip to content

Include documentation - list all installed languages including active #96

Closed

Description

@hoopering

Feature Request

Describe your use case and the problem you are facing

When I list languages:

  • I can filter installed with wp language core list --status=installed
  • I can filter active with wp language core list --status=active

but I cannot return all installed languages at once, based on the documentation available

wp language list --status!=uninstalled
wp language list --status=active,installed

Describe the solution you'd like

A 'list all installed languages' variation should be explicit in the docs for language-command

  • It is a common use-case to return *all* installed languages, especially with automation
  • Fetching results for installed and then active and then concatenating both is clumsy
  • I would like to reduce complexity and to use the closest-to-native approach

Activity

  1. schlessera commented on Jul 15, 2020

    @schlessera
    Member

    This should be solved in the same way we solved this for plugins and themes: wp-cli/extension-command#234

  2. kkoppenhaver commented on Sep 17, 2024

    @kkoppenhaver
    Contributor

    Taking a look at this one for WCUS (2024) Contributor Day!

  3. added a commit that references this issue on Jan 7, 2025
  4. michaelw85 commented on Jan 7, 2025

    @michaelw85
    Contributor

    @hoopering I've created a PR a fix is coming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions