cezar99 Posted February 21, 2010 Share Posted February 21, 2010 hi, i know that from the administration tools can change language, but after installation the first language is English. Even i change it to germany lang in administration and i refresh site i see again English ... How make that the firs and only languages will be germany ? Link to comment Share on other sites More sharing options...
FIMBLE Posted February 21, 2010 Share Posted February 21, 2010 Did you click the default check box also? Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
theherbman Posted February 21, 2010 Share Posted February 21, 2010 hi, i know that from the administration tools can change language, but after installation the first language is English. Even i change it to germany lang in administration and i refresh site i see again English ... How make that the firs and only languages will be germany ? The easiet way is to go into admin then languages. Click onto the language you dont want and then edit you will see a box that says directory English or Spanish just crossout and leave the box blank. on the german one click the default box at the bottom. All the English and Spanish files are intact and should you wish to put them back its easy. There are other ways but I find this is the the best no php to change. Regards Mel Link to comment Share on other sites More sharing options...
FIMBLE Posted February 21, 2010 Share Posted February 21, 2010 if this does not work for you, then try the following in catalog / includes / application_top.php find if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } else { $lng->get_browser_language(); } and change to if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } or if you want to leavethe function complete then do this if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } else { // $lng->get_browser_language(); } Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
cezar99 Posted February 21, 2010 Author Share Posted February 21, 2010 if this does not work for you, then try the following in catalog / includes / application_top.php find if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } else { $lng->get_browser_language(); } and change to if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } or if you want to leavethe function complete then do this if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } else { // $lng->get_browser_language(); } Nic Hi i did but it still English :/ i need only and always german without choosing lang. Link to comment Share on other sites More sharing options...
cezar99 Posted February 21, 2010 Author Share Posted February 21, 2010 Did you click the default check box also? Nic ?? where ? Link to comment Share on other sites More sharing options...
FIMBLE Posted February 21, 2010 Share Posted February 21, 2010 Hi i did but it still English :/ i need only and always german without choosing lang. did you empty your cahce close and open your browser again???? I expect not Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
cezar99 Posted February 21, 2010 Author Share Posted February 21, 2010 did you empty your cahce close and open your browser again???? I expect not Ok ff has trouble but i fixed in IE its ok. Thanx. Link to comment Share on other sites More sharing options...
FIMBLE Posted February 21, 2010 Share Posted February 21, 2010 Glad to help Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.