Closed (fixed)
Project:
Country code
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2008 at 14:33 UTC
Updated:
1 Nov 2008 at 22:21 UTC
We should have a setting that says:
$form['country_code_browser_language'] = array(
'#type' => 'radios',
'#title' => t('Consider user browser language'),
'#description' => t("Select this option to have the user's browser used as the language, if that language is available for the user's country."),
'#default_value', => variable_get('country_code_browser_language', 0),
);
Then in language setting, if this variable is set, we detect the user's browser. See language_from_browser() as used in language_initialize().
Comments
Comment #1
nedjoAdded the form element, need to implement the setting.
Comment #2
nedjoDone.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.