- Issue created by @partdigital
- Merge request !71Issue #3471305 by partdigital: Saving/Updating locale translations does not clear the cache. β (Open) created by partdigital
- Status changed to Needs review
3 months ago 9:10pm 5 September 2024
When we translate user interface strings through tmgmt it does not clear the cache. As a result, we need to manually clear the cache before the change will show up.
Note that this was originally reported in #2065823 β but that was for Drupal 7 and some of that work was already committed.
t('My example string');
) through tmgmt. Call these functions in \Drupal\tmgmt_locale\Plugin\tmgmt\Source\LocalSource.php
_locale_refresh_translations([$langcode], $updated);
_locale_refresh_configuration([$langcode], $updated);
These are the functions being called in the core locale module.
Needs review
1.0
Source: Locale