silver2008 Posted February 11, 2010 Share Posted February 11, 2010 I just install a new language to system: 1) Admin ==> login ==> localization ===> language ==> add new language ==> schinese(code:sc) 2) Find the file [catalog]/includes/languages/english.php and the folder [catalog]/includes/languages/english/ that contains various files 3) Duplicate them and rename them to schinese.php (for the file) and /schinese/ for the folder 4) find the file [catalog]/includes/languages/japanese/images/icon.gif and change it to the chinese flag -------------------------------------------------------------------------------------------------------- finish above 1) to 4), the chinese language botton can't appear on homepage when I open my web site, and then I click ==> the chinese language botton, it's showing the error message: Warning: main(includes/languages//xxxxxxx/catalog/includes/sc.php): failed to open stream: No such file or directory in /home/content/g//xxxxxx/html/xxxxxxx/catalog/includes/application_top.php on line 288 Warning: main(includes/languages//xxxxxxxx/catalog/includes/sc.php): failed to open stream: No such file or directory in /home/content/g//xxxxxxx/html/xxxxxx/catalog/includes/application_top.php on line 288 Fatal error: main(): Failed opening required 'includes/languages//xxxxxxx/catalog/includes/sc.php' (include_path='.:/usr/local/lib/php') in /home/content/g//xxxxxx/html/xxxxxx/catalog/includes/application_top.php on line 288 Any one can help me with that? thanks! Quote Link to comment Share on other sites More sharing options...
silver2008 Posted February 11, 2010 Author Share Posted February 11, 2010 Additional: I just install a new language to system: 1) Admin ==> login ==> localization ===> language ==> add new language ==> schinese(code:sc) 2) Find the file [catalog]/includes/languages/english.php and the folder [catalog]/includes/languages/english/ that contains various files 3) Duplicate them and rename them to schinese.php (for the file) and /schinese/ for the folder 4) find the file [catalog]/includes/languages/tchinese/images/icon.gif and change it to the chinese flag 5)For the admin part ==> repeat steps (2) and (3) paths are changing accordingly -------------------------------------------------------------------------------------------------------- finish above 1) to 4), the chinese language botton can't appear on homepage when I open my web site, and then I click ==> the chinese language botton, it's showing the error message: Warning: main(includes/languages//xxxxxxx/catalog/includes/sc.php): failed to open stream: No such file or directory in /home/content/g//xxxxxx/html/xxxxxxx/catalog/includes/application_top.php on line 288 Warning: main(includes/languages//xxxxxxxx/catalog/includes/sc.php): failed to open stream: No such file or directory in /home/content/g//xxxxxxx/html/xxxxxx/catalog/includes/application_top.php on line 288 Fatal error: main(): Failed opening required 'includes/languages//xxxxxxx/catalog/includes/sc.php' (include_path='.:/usr/local/lib/php') in /home/content/g//xxxxxx/html/xxxxxx/catalog/includes/application_top.php on line 288 Any one can help me with that? thanks! Quote Link to comment Share on other sites More sharing options...
rashel Posted May 7, 2010 Share Posted May 7, 2010 Exactly the same like you, bur for the french part... Mmmmm, you are waiting for an answer since 2 years..... I wander if i ll have an answer! :D ps: i am a blond girl, is it helping...? :D Quote Link to comment Share on other sites More sharing options...
neglectdesign Posted August 31, 2010 Share Posted August 31, 2010 (edited) I had a similar problem with the French language install. I solved it, but since the cause in my case was my own stupidity i'm not sure it will solve your problem: In the language menu (administration -> localization -> Languages) I had put the absolute path to my French language files in the "directory" field. Everything before the language directory doesn't need to be entered. So in the directory field you just type "french" instead of "catalog/includes/languages/french". You'll know it worked as the French language icon immediately shows in the language menu. Edited August 31, 2010 by neglectdesign Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.