Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295826

Caches / Configuration translations not rebuilt properly when rebuilt is not triggered using default language.

$
0
0

Configuration translations are lost, it looks like caches are not rebuilt properly when triggering the "Clear all caches" process from an admin page that is not in the default language.

Steps to reproduce:

  1. Install Drupal standard profile
  2. Enable all translation modules
  3. Enable Spanish language
  4. Check out default options for language selection: using URL, /es for Spanish (Do nothing)
  5. Check out the Content / Add Article page in both English (node/add/article) and Spanish (es/node/add/article)
  6. Note: In the Spanish page field titles like "Body" and "Tags" are translated.
  7. Refresh all caches from the Spanish admin page, /es/admin/config/development/performance. It reads "Vaciar todas las cachés".
  8. Visit again the (Spanish) Content / Add Article page
    • * Expected: Field labels are still translated.
    • * Actual: Field labels are not translated anymore

Confirm it is an issue with cache rebuilding:

  1. * Refresh all caches from the English admin page, /admin/config/development/performance. Press "Clear all caches".
  2. * Go back to the (Spanish) Cotnent / Add Article
  3. * Note field labels are translated again.

This can be reproduced with drush cr too, though that is a bit trickier to set up, to get drush running in a language that is not the default (Apparently drush runs in the language of the base url, which may not be the default one for some setups).


Viewing all articles
Browse latest Browse all 295826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>