Window Screen


Hi! I'd like to know if it's possible for users to post comments in the language they have selected on the language switcher, and then have those comments automatically translated when another user views the page in a different language.
For example: a user in Chicago browses the English version of the site and posts a comment in English. Later, someone in Bogotá visits the Spanish version of the same node and sees that comment automatically translated into Spanish.
My site is fully multilingual with a single content type. Content translation is enabled, so I manually translate each node to have two versions (Spanish and English). However, I’d like comments to be translated automatically by Drupal (or an integration), rather than doing it manually for every comment.
| | Hi everyone- Running Drupal 10.3 You know the list of views across the top of one's admin/content screen? How do I delete one of those? Going to /admin/structure/views and disabling the view or even deleting it didn't seem to work. In fact, deleting it not only didn't disable the link, the link still took me to the admin view! In our particular case we want to remove "Comments" from that list. Thanks! [link] [comments] |
Oct 6, 19:11 UTC
Resolved - Our Engineering team has resolved the issue impacting Managed Kubernetes clusters in our TOR1 region. We apologize for the inconvenience and appreciate your patience throughout this event. If you experience any further problems or have any questions, please open a support ticket within your account.
Oct 6, 18:15 UTC
Investigating - Our Engineering team is investigating an issue impacting Managed Kubernetes cluster creation and management operations in TOR1 region. During this time, some users may experience errors provisioning new Kubernetes clusters as well as making changes to existing clusters. Workloads on existing clusters are not impacted at this time. We apologize for the inconvenience and will share an update once we have more information.
Bonjour à tous !
J’ai une question pour les experts de JSON:API
J’ai un site Next.js en front et un Drupal en back-end. La communication se fait via JSON:API, et le site est multilingue.
J’utilise Redis pour améliorer les performances, et je souhaite pré-générer les caches Redis via une cron.
Le problème : lorsque j’exécute le cron, les données mises en cache sont toujours dans la langue par défaut (ou celle du back-office), au lieu de respecter la langue que je passe dans ma boucle.
→ Connaissez-vous une manière fiable de forcer la langue de contexte lors de l’exécution d’une cron ou d’une sous-requête JSON:API en PHP (via $this->kernel->handle() par exemple) ?
Pour donner plus de contexte, voici un extrait du code utilisé dans mon cron :
$cache = \Drupal::service('lagoon_global.cache'); $languages = ['en', 'fr', 'de', 'es', 'it', 'pt-pt']; foreach ($languages as $language) { $cache->lifeOnBoardListJsonApi($language); } La méthode appelée :
$collection = $this->jsonapi_client->getNodeCollection('life_on_board', $filters, $options, true, $language, true); et ensuite la méthode getNodeCollection est :
public function getNodeCollection(string $bundle, array $filters = [], array $options = [], bool $decode = true, ?string $language = null, ?int $runAsUid = null) { $prefix = $language ? sprintf('/%s', $language) : ''; $path = sprintf('%s/jsonapi/node/%s', $prefix, $bundle); $query = [ "filter" => $filters, ...$options ]; return $this->requestJsonApi('GET', $path, $query, null, $decode, $runAsUid); } et finalement :
public function requestJsonApi(string $method, string $path, array $query = [], $body = null, bool $decode = true, ?int $runAsUid = null) { $server = [ 'HTTP_ACCEPT' => 'application/vnd.api+json', 'CONTENT_TYPE' => 'application/vnd.api+json', ]; $query[] = []; $secret = getenv('JSONAPI_SECRET_KEY'); if ($secret) { $server['HTTP_secret-key'] = $secret; } $request = Request::create($path, $method, $query, [], [], $server, is_array($body) ? json_encode($body) : $body); $response = null; if ($response === null) { $response = $this->kernel->handle($request, HttpKernelInterface::SUB_REQUEST); } $status = $response->getStatusCode(); $content = $response->getContent(); if ($status < 200 || $status >= 300) { $this->logger?->error('JSON:API {method} {path} a renvoyé {status}: {body}', [ 'method' => $method, 'path' => $path, 'status' => $status, 'body' => $content, ]); throw new \RuntimeException(sprintf('Erreur JSON:API %s %s (%d)', $method, $path, $status)); } return $decode ? json_decode($content, true, flags: JSON_THROW_ON_ERROR) : $content; } Merci d’avance pour vos idées ou retours d’expérience !
Hi everyone,
I’m working on a custom Drupal 11 subtheme based on Bootstrap 5 and I want to achieve the following:
Goal:
I have a footer region called footerblocks and I want all blocks placed in this region to automatically get Bootstrap 5 classes like col-md-4 and mb-4, so they layout nicely in 3 columns.
What I’ve tried:
hook_preprocess_region()Problem:foreach (Element::children($variables['content']) as $key) { $variables['content'][$key]['#is_in_footerblocks'] = TRUE; } $variables['content'] with Element::children() to flag blocks inside footerblocks.hook_preprocess_block(), I check for this flag and add the classes.$variables['content'] is a Markup object instead of an array, which causes a TypeError.is_array($variables['content']), some blocks in footerblocks are never flagged, and I get logs like: Block b5subtheme_belangrijkelinks_3 processed. Region: NONE. (No footerblocks flag found)preprocess_block() $variables['elements']['#configuration']['region'] or $variables['elements']['#block']->getRegion().block--footerblocks.html.twig I considered creating a custom block template for the footerblocks region (e.g., block--footerblocks.html.twig) and adding the Bootstrap classes there. Problem: Some blocks still don’t render with the correct classes, and I want a method that works for all blocks automatically, without creating a separate template for each block.Questions:
preprocess_region() + flags to automatically add classes to all blocks in a region?footerblocks is defined or rendered in a Bootstrap 5 subtheme?Thanks in advance for any guidance or examples!

© Rest of World/Getty Images
Use case: classified ads type site where user has opportunity to attach many images through dedicated File/Image field. How many? 20+ maybe 30+. That is important!
The problem that built in core file uploader has some bugs (as in https://www.drupal.org/project/drupal/issues/3548630) and totally break down if one image is does not comply to the set requirements of width x height.
So for that I am using PLupload module, which solves that issue. It just drops image files which are outside allowed dimensions.
Another issue is that even if all the uploading works, like with PLupload module - the built-in Drupal core image sorter has table-like wrapper with <li> items, so all the sorting is made just vertically. It is perfectly ok if we use 3-5 images, but not ok if there are 20-50 images. It is a usability nightmare from end user standpoint.
I found that https://www.drupal.org/project/dropzonejs module should offer vertical and horizontal drag and drop sorting, but I have no luck to get it working on the File/image field no matter what I try.
Just me have no luck with that module or there are other selections?
What would be your solutions to this? Thank you in advance.
Oct 9, 00:00 UTC
Completed - The scheduled maintenance has been completed.
Oct 8, 22:00 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Oct 6, 01:55 UTC
Scheduled - Start: 2025-10-08 22:00 UTC
End: 2025-10-09 00:00 UTC
During the above window, our Networking team will be making changes to the core networking infrastructure to improve performance and scalability in the NYC3 region.
Expected impact:
During the maintenance window, We do not anticipate any downtime for Droplets or Droplet related services. If an unexpected issue arise, users may experience brief delays or failures in event processing including Droplets, Managed Kubernetes, Load Balancers, Container Registry, Public API, Cloud Control Panel and App Platform. We will endeavor to keep this to a minimum for the duration of the change.
If you have any questions related to this issue, please send us a ticket from your cloud support page. https://cloudsupport.digitalocean.com/s/createticket
Oct 4, 15:40 UTC
Resolved - From 14:30 to 14:44 UTC, our Engineering team observed an issue impacting our API.
During this time, users may have experienced intermittent errors when trying to use the public API at api.digitalocean.com or processing API requests. Users may have also experienced issues with processing Droplet and Kubernetes cluster creations and cluster actions.
The impact has now subsided and as of 14:44 UTC, users should no longer be experiencing issues with accessing the API and all services should now be functioning normally.
If you continue to experience problems, please open a ticket with our support team. We apologize for any inconvenience.

© Frederic J. Brown/AFP/Getty Images
Just wanted to share that DrupalFit is running the DrupalFit Challenge – Vienna Edition this year. The idea is simple: they audit submitted Drupal websites using their DrupalFit tool, checking things like performance, security, accessibility, and overall site health.
They’ll recognize the top sites across five award categories, with winners announced live at DrupalCon Vienna on October 16th.
If you’ve got a site you’re proud of, it could be a fun way to see how it measures up and get some recognition from the community.
You can submit your enteries here - https://forms.gle/7DdVGAd4RTqn3Yy77
Hi everyone! I'm new here.
I work for a non-profit and I am in need of some help or pointers in the right direction. I for one am not a web developer, I am going to school for computer science, but am not that skillful yet.
Okay back on topic, so I work for a non-profit, and I'm working on their SEO for the website. Doing research and figuring out what I need to add to the Drupal site, I contacted our web master, but he unfortunately cannot help anymore, and will relinquish the code and other information to me so I can find another Drupal Dev.
How difficult is it to upgrade a Drupal site that is this old?
How much time will it take?
How much will this cost?
Any and all help is appreciated!
I'm pretty tech savvy and I love to learn about anything and everything. I am also the technology and maintenance director for this non-profit.
CONTEXT: Through my research on SEO I learned I have to have metatags and schema metatags modules for the Drupal site. Our Drupal CMS version is 9.2.4 and in order to use metatags we have to have 10.3 or higher. Webmaster told me about this version conflict that I overlooked during my research, and also notified me that he can no longer do freelance work, due to his new contract with his employer.
1: I am upgrading my Drupal7 to Drupal10 through the D10 UI ( web/upgrade ), when on the "What will be upgraded?“ , its showing the modules like "Automatic Entity Labels, flag, pathauto, simplenews, " are all under the "Modules that will not be upgraded" list, I have enabled these modules in the D10 new site, so my question is why these modules that can not be upgraded or they don't need to be upgraded ? for example, my Drupal7 using flag module to flogged lots nodes, if it won't be upgraded, then all those flogged content will be lose ? and the auto-entity-labels , if it does't upgrade, then how the D7 node title will be transfer to D10 ? please advise
2: btw : Do I need to enabled the commerce module in D10 to upgrade the D7 commerce setting into D10 ? will all the D7 commerce setting like products will be upgraded to D10 through the default upgrade UI ?
Thank you.
I tried to make a github repository, but I end up going to update the database, that is not a good solution because it overwrites other people work.
What the best aproach for this?

© Rest of World/Getty Images

I finally took some time to build an up to date jsonapi explorer for Drupal / NodeHive.
You can play around here:
https://nodehive-explorer.vercel.app/?baseurl=demo.nodehive.app
A comprehensive web-based API explorer for NodeHive and Drupal JSON:API endpoints. Explore, query, and generate code for all your content entities with an intuitive interface.
?baseurl= query parameter