- 🇨🇦Canada sseto
I applied patch#21 and it worked on D9.5.2.
@pr1859. I had to refresh the cache in order for it to take effect. To confirm that it's working, your "Main language" should be greyed out in the dropdown.
Good luck!
- 🇨🇦Canada sseto
Hello,
Turns out Ipads/tablets do not work correctly. When you select another language, your "Main" language remains greyed out and unselectable.
- 🇦🇲Armenia edo888
- 🇨🇦Canada sseto
Hi edo888,
Tested dev and now I'm getting WSOD. I reverted back to stable and reapplied the patch for now.
Here's the dblog:
Undefined array key 1 in Drupal\gtranslate\Plugin\Block\GTranslateBlock->build()(line 385 of /var/www/sseto.ca/web/modules/contrib/gtranslate/src/Plugin/Block/GTranslateBlock.php)
#0 /var/www/sseto.ca/web/modules/contrib/gtranslate/src/Plugin/Block/GTranslateBlock.php(385): array_values()
#1 /var/www/sseto.ca/web/core/modules/block/src/BlockViewBuilder.php(171): Drupal\gtranslate\Plugin\Block\GTranslateBlock->build()
#2 [internal function]: Drupal\block\BlockViewBuilder::preRender()
#3 /var/www/sseto.ca/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array()
#4 /var/www/sseto.ca/web/core/lib/Drupal/Core/Render/Renderer.php(788): Drupal\Core\Render\Renderer->doTrustedCallback()
#5 /var/www/sseto.ca/web/core/lib/Drupal/Core/Render/Renderer.php(374): Drupal\Core\Render\Renderer->doCallback()
#6 /var/www/sseto.ca/web/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender()
#7 /var/www/sseto.ca/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender() - Status changed to Needs review
about 1 year ago 12:57pm 31 August 2023 Added a variation of the patch which attempt to support D9/D10. May be used in tandem with 📌 Automated Drupal 10 compatibility fixes Closed: duplicate
- Status changed to Needs work
about 1 year ago 7:04am 7 September 2023 - 🇧🇪Belgium RandalV
The last patch does not apply for me.
However, if I understand the issue correctly, it's similar or equal to the issue I'm having.Our default language is English, sometimes (I don't know what the trigger is) when changing to a different language, you can't change back to English.
You have to click on the current language again, and then you can click English again and it'll work.
When this happens, English is the selected language in the language selector, but the page is still in the translated language.No console errors or other measures to know what's going on.
If what I described matches/corresponds to what the original poster experiences, maybe we can update the issue as such if it's clear enough.
- 🇧🇪Belgium RandalV
Bumping again...
Can the maintainer please take a look at this??
Is there even still an active maintainer? - 🇨🇦Canada hargurpreet Kitchener
Updated the patch in #21 to make it compatible with the latest version 3.0.2.
Thanks!