When creating a translation, only languages that are enabled should be shown. This is the patch. It also applies to Drupal 6.

This happens quite often, when a custom English language is set up and the original drupal English is disabled.

Comments

nedjo’s picture

Status: Needs review » Needs work

language_list('enabled') will get enabled languages.

I suspect though that the current behaviour is by design. A site admin may wish to populate translations before enabling a language.

But I can see the issue with the default 'en' language, which it is not possible to delete and therefore will show up for all sites. Maybe we need the ability to optionally remove 'en'?

eikes’s picture

I see your point. On the other hand causes it some confusion to expose a language to the editor that is disabled

plach’s picture

Status: Needs work » Needs review
StatusFileSize
new797 bytes
plach’s picture

Status: Needs review » Closed (duplicate)

This is fixed in #356036: Allow creating nodes in disabled languages. Marking duplicate.