3

What is the difference between the Package Language and the Site Language?

If I run:

wp core language list

I get:

en_AU | English (Australia) | English (Australia) | active | available

If I run:

wp core version --extra

I get:

Package language:  en_US

1 Answer 1

1

As you probably already know, WordPress supports language packs. Translation files that reside in wp-content/languages. Those are used to translate all the strings the user sees in WordPress.

WordPress also allows translation teams on WordPress.org to provide localized release packages. These already come with the translation files included, plus a bit more. They can translate the readme file or bundle locale-specific functionality (e.g. custom plugins) to improve the UX for that locale.

For example, the Japanese package contains the WP Multibyte Batch plugin and the readme is translated into Japanese as well. This is something the language packs cannot handle, as the readme is a simple HTML file. Similarly, the German package contains the original readme and a translated one.

3
  • I think the confusion here is about the values returned by wp-cli and not so much about what are the language packs themselves. Have to admit that I also find that output shown in the question inconsistent, or at least not clear. Commented Feb 7, 2018 at 7:46
  • To clarify, they downloaded the regular en_US package of WordPress (the one you got on wordpress.org/download) and then installed the en_AU language file. Hence the confusion.
    – swissspidy
    Commented Feb 7, 2018 at 7:48
  • Oh I get it now but it is truly confusing Commented Feb 7, 2018 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.