Closed (fixed)
Project:
Internationalization
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2008 at 23:41 UTC
Updated:
30 Sep 2010 at 17:55 UTC
Jump to comment: Most recent
Comments
Comment #1
ar-jan commentedI second that. I have exactly the same issue with Biblio Module. Users on my site inputting Biblio data can choose language neutral if multilingua is enabled, but I don't want to present them with a choice they shouldn't make.
Comment #2
ar-jan commentedDoes anyone know of a hack to achieve this?
Comment #3
Alan Oliveira commentedi place images on the node with FCK Editor + ICME and its images' show in all languages on the site i currenty building
Comment #4
Anonymous (not verified) commentedThis is not an i18n issue. The locale module is setting the language in the edit form to the default language if there is no language selector. You could set the variable "language_default" to an empty string or unset node->language in the nodeapi hook, but the only clean way to do it is altering the form_alter hook with the same checks that the locale module is doing, e.g. leaving existing nodes untouched etc.
There should be a selector for the locale module letting the user specify what language nodes without multilingual settings should get, so you should submit this issue to drupal forums or the developer list.
If you have you own module, put this into your_module_form_alter:
Comment #5
thepanz commentedMaybe you may want to try preserve_language module that will have this feature soon (I hope).
Give a try to my patch here: #327545: Language for content types without language support must be Neutral
Comment #6
jose reyero commentedAdded into i18n module too.
Comment #8
tobiberlinHi,
I want to re-open this issue... it was mentioned that the language "neutral" setting for content types with multilingual support disabled was added to i18n module. I use this module but the language for these nodes is still the currently active language.
Greez,
Tobias
Comment #9
tobiberlinOk... I am sorry for that. I found out why I was not able to save nodes as "language neutral": The module "Registration Language" offers the very nice possibility to save the language of the user while his registration process. It also offers a setting which enforces to save newly created nodes in the language the user has currently as active. I simply did not realize this setting and was starting to go crazy about the question how to save nodes as language neutral. So sorry for that stupid question!!!!