- πΊπΈUnited States smustgrave
Believe this is no longer needed as language_save() has been removed https://www.drupal.org/node/2336669 β
If still a valid task though please reopen and update issue summary for D10
Thanks
locale_language_save() introduced in #1215716: Introduce locale_language_save() β clears the following caches:
// Kill the static cache in language_list().
drupal_static_reset('language_list');
// Changing the language settings impacts the interface.
cache_clear_all('*', 'cache_page', TRUE);
// Force JavaScript translation file re-creation for the modified language.
_locale_invalidate_js($language->language);
The last two are not desired in the API function and since we have not been able to find a good abstract place for these two to live in locale module, @catch asked me to open a separate issue to continue figure this out. Here it is.
Closed: outdated
9.5
(Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Believe this is no longer needed as language_save() has been removed https://www.drupal.org/node/2336669 β
If still a valid task though please reopen and update issue summary for D10
Thanks