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

Language configuration entities should be created in English at all times

$
0
0

Motivation

Configuration entities created after / in installation on sites get created in the site default language. That is because we can rightly assume you enter data in your own site language initially. That is absolutely fine for almost all things. You'd create views and enter their labels, empty text, etc. in your language. And so on. However for languages, you pick them from a predefined list of English language names in 95% (estimated). We save them with their English label. Then translate from there. So the assumption about config entities does not stand.

Proposal

1. Force language config entity creation to always save in langcode: en.
2. Change the UI label in custom language creation to 'Language name in English' to make this clear if custom languages are created (for 5% of uses - estimated).


Viewing all articles
Browse latest Browse all 293292

Trending Articles



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