wp language theme <command>

Installs, activates, and manages theme language packs.

In this article

Examples

# Install the Dutch theme language pack.
$ wp language theme install twentyten nl_NL
Success: Language installed.

# Uninstall the Dutch theme language pack.
$ wp language theme uninstall twentyten nl_NL
Success: Language uninstalled.

# List installed theme language packages.
$ wp language theme list --status=installed
+----------+--------------+-------------+-----------+-----------+---------------------+
| language | english_name | native_name | status    | update    | updated             |
+----------+--------------+-------------+-----------+-----------+---------------------+
| nl_NL    | Dutch        | Nederlands  | installed | available | 2016-05-13 08:12:50 |
+----------+--------------+-------------+-----------+-----------+---------------------+

Subcommands

NameDescription
wp language theme install

Installs a given language for a theme.

wp language theme is-installed

Checks if a given language is installed.

wp language theme list

Lists all available languages for one or more themes.

wp language theme uninstall

Uninstalls a given language for a theme.

wp language theme update

Updates installed languages for one or more themes.

Command documentation is regenerated at every release. To add or update an example, please submit a pull request against the corresponding part of the codebase.