- 🇩🇰Denmark uv516 Denmark
I am using Drupal 10.4.6 and patch #22 is implemented.
Despite that, the site still takes a VERY LONG time to search and save translations.
Currently importing of .po files for projects could take unacceptable about of time.
I have found that problem related to implementation of locale_translation_status_save();
This could be solved by this changes:
function locale_translation_status_save($project, $langcode, $type, $data) {
// Load the translation status or build it if not already available.
module_load_include('translation.inc', 'locale');
- $status = locale_translation_get_status();
+ $status = locale_translation_get_status([$project]);
if (empty($status)) {
$projects = locale_translation_get_projects([$project]);
if (isset($projects[$project])) {
Don't see for now.
No changes
Fixed
9.4
locale.module
It affects performance. It is often combined with the Needs profiling tag.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I am using Drupal 10.4.6 and patch #22 is implemented.
Despite that, the site still takes a VERY LONG time to search and save translations.