The language is determined using the current interface language.

File

core/includes/locale.inc, line 21
Administration functions for locale.module.

Code

define('LANGUAGE_NEGOTIATION_INTERFACE', 'locale-interface')