-
Notifications
You must be signed in to change notification settings - Fork 3
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
OPENEUROPA-1922: Ensure config localization when site is installed from config. #71
Conversation
…ommand to import local translations.
ebe6c6b
to
3d55d8c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some question regarding discovering projects and some corrections regarding selenium docker image.
* @return array | ||
* The extensions. | ||
*/ | ||
protected function getExtensionsToTranslate(): array { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just insteresting. Why we can't use locale_translation_get_projects()?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the point is to get the extensions that reference local translations (or at least specify them in the info file). See what the actual method does and what the docblock says.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor remarks will be fixed in another PR.
$this->drupalGet('import-translations'); | ||
// Wait for the AJAX to complete. This can take a while until the batch | ||
// process finishes hence the increase in timeout. | ||
$this->assertSession()->assertWaitOnAjaxRequest(100000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be improved so that we won't wait this much. We will handle it in a follow-up.
A few things are done here: