Simple find/replace fix.

CommentFileSizeAuthor
#1 language_none-1232836-1.patch7.43 KBtwistor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

twistor’s picture

Status: Active » Needs review
FileSize
7.43 KB

... and the code.

emackn’s picture

Status: Needs review » Needs work

hmm.. is LANGUAGE_NONE the right thing to use? Shouldn't we use $entity->language instead?

franz’s picture

Priority: Minor » Major

I think we need to push it into major to get more attention. I'm a little ignorant of i18n implementations, but I feel we need to properly comply with it. Does $entity->language stores LANGUAGE_NONE by default as well or is it empty?

franz’s picture

Title: Use LANGUAGE_NONE instead of 'und'. » Use proper language instead of 'und'.
franz’s picture

emackn, I read a little, and it looks like $entity->language is not necessarily the field language, so it would be better to use LANGUAGE_NONE than that.

However, if we wish to implement better support, we should read it here.

franz’s picture

twistor’s picture

Issue summary: View changes
Status: Needs work » Closed (duplicate)

We're fixing this in other issues.