Sliper Posted August 22, 2005 Posted August 22, 2005 I?m having big trouble getting firefox showing my default language which is Finnish. It shows English instead. IE has no problems what so ever handling this. Tried to search for similiar topics but didn?t find any answers solving this problem. Anyone knows how to fix this?
♥Vger Posted August 22, 2005 Posted August 22, 2005 Have you got Finnish installed as a language in Firefox? Vger
Sliper Posted August 22, 2005 Author Posted August 22, 2005 Yes, it?s located at /catalog/includes/languages/finnish and it?s set as default in admin. Firefox shows also the admin area in english, but IE doesn?t I deleted "English" from localization-languages in admin area, but it didn?t help. This is really weird I think... havent tried what Opera does, but it?s pretty osolete browser.
♥Vger Posted August 22, 2005 Posted August 22, 2005 I wasn't asking if Finnish was installed as a language in osCommerce. I was asking if the Finnish language pack was installed in the Firefox browser? Vger
Sliper Posted August 22, 2005 Author Posted August 22, 2005 Sorry, read it too fast... You solved my problem, thanks! I didn?t know that you had to install different languages in FF (noob) :rolleyes: This present a problem though, since I didn?t know this I?m quite sure 99% of the expected customers doesn?t that either, although I don?t think that they use FF either. Is there any way of having FF tell/ask the customer about the language pack not installed? Or do you know how to or if it?s possible to have OsC. recognize that he/she is using Firefox and the promt a popup where I can put info about the language?
lauri Posted August 24, 2005 Posted August 24, 2005 I am having 100% the same problem ;) Now the question is, how to DISABLE the option that osCommerce selects language by browser?! I don't have English language ready so I need to be able to force every browser with any language to use Finnish! How to do that?
boxtel Posted August 24, 2005 Posted August 24, 2005 I am having 100% the same problem ;) Now the question is, how to DISABLE the option that osCommerce selects language by browser?! I don't have English language ready so I need to be able to force every browser with any language to use Finnish! How to do that? <{POST_SNAPBACK}> in application_top.php change 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(); } to 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(); $lng->set_language('fi'); } Treasurer MFC
lauri Posted August 26, 2005 Posted August 26, 2005 THANK YOU! This solved the problem ;) and showed the place to do the work on the code!
Guest Posted December 7, 2005 Posted December 7, 2005 in application_top.php change 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(); } to 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(); $lng->set_language('fi'); } Thanks! I've searched the forums for a solution to change default language for far too long time. I just can't understand why you would want to set the language based on the browser's settings. Again - thanks!
boxtel Posted December 7, 2005 Posted December 7, 2005 Thanks! I've searched the forums for a solution to change default language for far too long time.I just can't understand why you would want to set the language based on the browser's settings. Again - thanks! because that is what that setting is there for. Treasurer MFC
Guest Posted December 12, 2005 Posted December 12, 2005 because that is what that setting is there for. Eh - say what? What I mean is that for most users it would be quite annoying that the system sets the language to something else than the "default language" specified in the admin panel. But I'm probably missing out on something here.
boxtel Posted December 12, 2005 Posted December 12, 2005 Eh - say what? What I mean is that for most users it would be quite annoying that the system sets the language to something else than the "default language" specified in the admin panel. But I'm probably missing out on something here. yes, you are missing the point of the meaning of "default" Treasurer MFC
Recommended Posts
Archived
This topic is now archived and is closed to further replies.