I've uncomment the unset($languages[($omit)]); 805th line in includes/locale.inc.
This prevents default language to be translated. When my default language was english, entry was submitted. After I change it to X language it stays there being default. This poor string don't know which language it belongs unfortunately. Thus old english string cant be translated in new x language.

Enabling default language can provide other benefits.

Comments

mr.baileys’s picture

Version: 6.9 » 6.x-dev
Status: Needs review » Active

In order to have someone review a change to core, you'll have to supply a patch, and patches should go against the active development branch (6.x-dev or 7.x-dev).

gábor hojtsy’s picture

Category: bug » support
Status: Active » Fixed

It is really a very bad idea to change default language in Drupal 6 or 7 (and as of now Drupal 8 too), because there is no information about the language of settings. So once you change language, the system will update its assumptions about your strings, but it will not change any of the values, so your site can quickly become a mess. This is why we do not support translating to the default language.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.