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

OEL-3585: eTrans unified block. #260

Closed
wants to merge 3 commits into from
Closed

Conversation

Aporie
Copy link

@Aporie Aporie commented Jan 27, 2025

OPENEUROPA-[3585]

Description

Add a block that allows to unify the UX for page translation requests using the drupal language switcher and webtool eTrans service.

]));
$this->assertSession()->pageTextContains("I'm a text that will be translated.");
$this->assertSession()->pageTextContains("Croatian is available via eTranslation, the European Commission's machine translation service.");

Copy link
Contributor

@drishu drishu Jan 27, 2025

Choose a reason for hiding this comment

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

the whole visibility and json of the block depends on the entity. So at this point, lets simulate a translation being added (programatically) after visiting the URL (for HR for instance) and lets see if it gets picked up without flushing. Den delete the translation, we visit again.

Copy link
Author

Choose a reason for hiding this comment

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

Done

@Aporie Aporie closed this Jan 28, 2025
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