Skip to content
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

Ajout de set_locale pour les commandes #1068

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

petitalb
Copy link
Collaborator

@petitalb petitalb commented Nov 8, 2023

La configuration dans web/app.php ne concerne pas les commandes. Il est nécessaire de le faire pour chaque commande.

Note: une configuration via le php.ini du système est aussi possible.

La configuration dans web/app.php ne concerne pas les commandes.
Il est nécessaire de le faire pour chaque commande.

Note: une configuration via le php.ini du système est aussi possible.
@petitalb petitalb requested a review from raphodn November 9, 2023 14:26
Copy link
Member

@raphodn raphodn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

top !

@@ -19,6 +19,8 @@ public function __construct(EntityManagerInterface $entityManager, Logger $logge
$this->em = $entityManager;
$this->logger = $logger;
$this->container = $container;
$locale = $this->container->getParameter('locale');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

du coup faut le rajouter dans tous les listener ?

@raphodn raphodn merged commit 835179f into master Nov 10, 2023
1 check passed
@raphodn raphodn deleted the bugfix/set-locale-for-commands branch November 10, 2023 09:11
@raphodn
Copy link
Member

raphodn commented Nov 17, 2023

OursDesCavernes pushed a commit to Les400Coop/gestion-compte that referenced this pull request Jan 20, 2024
La configuration dans web/app.php ne concerne pas les commandes.
Il est nécessaire de le faire pour chaque commande.

Note: une configuration via le php.ini du système est aussi possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants