Hi,

"Language neutral" option only displays in a drop down menu if user is admin (1).

sorry for my poor english.

Comments

alduya’s picture

Status: Active » Postponed (maintainer needs more info)

I have looked into this and I can not recreate this.
When I log in as an authenticated user I can choose 'Language neutral' for nodes that allow it.
It is of course impossible to choose 'Language neutral' for nodetypes that disable 'Language neutral'.

nibi’s picture

The problem is with 'translation access' module.
disabling this module everything works fine
I´m trying to apply this patch http://drupal.org/node/394156 but still the same problem.

thanks for your fast reply.

alduya’s picture

Status: Postponed (maintainer needs more info) » Needs review

This problem can be solved by changing the line #9 in the Translation access module

define('I18N_ACCESS_LANGUAGE_NEUTRAL', 'NEUTRAL');

to

define('I18N_ACCESS_LANGUAGE_NEUTRAL', 'neutral');

Both modules change the blank key for the 'language neutral' value, both to the word 'neutral', but with different case. Because of this, the 'neutral' option got removed from the list.

sillygwailo’s picture

Project: Language select » Translation Access
Version: 6.x-1.0-beta1 » 6.x-1.x-dev
toemaz’s picture

@alduya

I didn't look into this enough yet, but would this change affect current installs? Is an upgrade path required?

yang_yi_cn’s picture

Title: Neutral Language only for admin user » Neutral Language only for admin user - conflict between Language select and Translation Access
Status: Needs review » Active

I think it's a conflict between Language select and Translation Access. As I don't have Language select module I cannot reproduce it.

However, leave it here in case other people experience this too.

fmosca’s picture

in D7 it should be:

define('I18N_ACCESS_LANGUAGE_NEUTRAL', 'und');
johnv’s picture

Even better, in D7 it should be:

define('I18N_ACCESS_LANGUAGE_NEUTRAL', LANGUAGE_NONE);
jrochate’s picture

Great!

This solved the problem I got:
- User with "neutral" checked, couldn't edit "neutral" content already created

After this patch, it works as expected.

PS: I don't understand why this module is so little used. It's very handy.
Maybe there is another Drupal way of achieving similar behavior?

djschoone’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

As mentioned in #7 and #8 this has to be the value of LANGUAGE_NONE (= und)