fantomen Posted December 28, 2018 Share Posted December 28, 2018 I have installed Version: osCommerce Online Merchant v2.3.4.1 CE I wanted to add swedish language so I did like this: I went to this place: oscommerce/includes/languages I have copied the english file and renamed it to swedish and then I translated all the text in the swedish file to swedish language. Then I copied the english catalog and renamed it to swedish and then I translated all files in this catalog. (it was many catalogs and files). (I have not translated all files yet, but most of them, I am still working on to translate all files). Something is not working as it should and I can not find the fault, when I click on the swedish flag on the front side of my test website: http://t1.zmm.se/ If I click on the english flag all seems ok. But when I click on swedish flag there is errors. See website errors here: http://t1.zmm.se/ Is there anybody here who can help me? Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 28, 2018 Share Posted December 28, 2018 I see there are missing definitions on that page, like MODULE_CONTENT_NEW_PRODUCTS_HEADING. Some of the text to change is in the modules directory of the languages directory. Are you sure you copied all of the files when you duplicated the English directory? Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
fantomen Posted December 28, 2018 Author Share Posted December 28, 2018 Thank you for your reply. I enclose a picture of my catalogs. In what catalog and in what file and what should I edit? Link to comment Share on other sites More sharing options...
♥JcMagpie Posted December 28, 2018 Share Posted December 28, 2018 For the new products on index page you need to edit, public_html/includes/languages/english/modules/content/index/cm_i_new_products.php You will need to do this for all language files for modules you activate. Or alternatively use google translate, https://apps.oscommerce.com/mYuUD&info-box-with-google-translate-bs4 Also for the ä try using "ä" Link to comment Share on other sites More sharing options...
fantomen Posted December 28, 2018 Author Share Posted December 28, 2018 Thank you for your reply. I can not find this file you wrote about: cm_i_new_products.php These are the files in oscommerce/includes/languages/english/modules/content/index and it looks the same in oscommerce/includes/languages/swedish/modules/content/index Any ideas? Link to comment Share on other sites More sharing options...
♥JcMagpie Posted December 28, 2018 Share Posted December 28, 2018 So which version are you using? BS3 or BS4? if it is BS4 then the file is cm_i_card_products Link to comment Share on other sites More sharing options...
♥JcMagpie Posted December 28, 2018 Share Posted December 28, 2018 Try, public_html/includes/languages/english/modules/content/index_nested/cm_in_new_products.php Link to comment Share on other sites More sharing options...
♥JcMagpie Posted December 28, 2018 Share Posted December 28, 2018 😂 Sorry my BS3 site is modified and I have a none stock new products setup. Stock new_products is in index_nested. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted December 28, 2018 Share Posted December 28, 2018 No I checked and your site you list is BS3! so you should not have' cm_i_card_products.php in your site! card is a BS4 class and only used in the BS4 version of the software! The site you list above is BS3 Bootstrap v3.3.7 (http://getbootstrap.com) So some how you have the wrong files on your site. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.