Currently in language.inc there is code dealing with the user's lang, however using the UI, one can't define this option - you have to variable_set('language_negotiation', 5); to skip the other conditions.

This patch defines another constant LANGUAGE_NEGOTIATION_USER, and moves the mentioned code under it.

CommentFileSizeAuthor
langugae_user_configure.patch5.21 KBamitaibu

Comments

keith.smith’s picture

Title: Set the langugae by the user configured settings » Set the language by the user configured settings

Status: Needs review » Needs work

The last submitted patch failed testing.

plach’s picture

Component: locale.module » language system

Cleaning-up the "locale module" issue queue as per http://cyrve.com/criticals.

plach’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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