-
-
Notifications
You must be signed in to change notification settings - Fork 556
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
[core] Console doesn't use other languages if drupal is not installed #4078
Comments
This is not an error, if the Drupal Console, doesn't find the package drupal/console-[language-code] by default English is loaded. We could add a message about how to install is the language is not found, providing instructions about how to install with composer, for instance
|
Add new warning message before Using messageManager
Or use DrupalStyle https://github.com/hechoendrupal/drupal-console-core/blob/c897e0493de2a731743d87aab1d728aa0d5bb3f2/src/Style/DrupalStyle.php Examples #1 https://github.com/hechoendrupal/drupal-console/blob/master/bin/drupal.php#L42 #2 https://github.com/hechoendrupal/drupal-console-core/blob/c897e0493de2a731743d87aab1d728aa0d5bb3f2/src/Command/Debug/ChainCommand.php#L60 |
Problem/Motivation
The console doesn't use other languages if drupal is not installed
How to reproduce
Install the
es
language and the rundrupal init
and setes
as default language, then rundrupal list
and you can see the description inen
Details to include:
The text was updated successfully, but these errors were encountered: