Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
language system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2009 at 07:32 UTC
Updated:
29 Jun 2011 at 16:21 UTC
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
Comment #1
mr.baileysIn 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).
Comment #2
gábor hojtsyIt 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.