deeeeeeeeeen Posted May 13, 2013 Share Posted May 13, 2013 Hi There I am trying to add language - Traditional Chinese and I am totally lost while in localization//languages/edit I try to upload no picture image , I have made one similar to en.jpg 2 errors An error occurred while copying no-picture image to your product folder. An error occurred while copying "No picture" image to your manufacturer folder I try upload the flag image, I check directory /img/I/ all other cuntry flag named 1,2,3,4,5,6 so I check the flag name to 7.jpg or hk.jpg An error occurred while updating object. lang () Localization Countries i click Hong Kong edit /var/zpanel/hostdata/imazecorp/public_html/shop_imazecorp_com/cache/class_index.php is not writable, please give write permissions (chmod 666) on this file. at line 132 in file classes/Autoload.php 126. $content = '<?php return '.var_export($classes, true).'; ?>'; 127. 128. // Write classes index on disc to cache it 129. $filename = $this->root_dir.Autoload::INDEX_FILE; 130. if ((file_exists($filename) && !is_writable($filename)) || !is_writable(dirname($filename))) 131. throw new PrestaShopException($filename.' is not writable, please give write permissions (chmod 666) on this file.'); 132. else 133. { 134. // Let's write index content in cache file 135. // In order to be sure that this file is correctly written, a check is done on the file content 136. $loop_protection = 0; Autoload->generateIndex - [line 87 - classes/Autoload.php] - [0 Argument] Autoload->load - [line - ] - [1 Arguments] spl_autoload_call - [line - ] - [1 Arguments] class_exists - [line 447 - classes/AddressFormat.php] - [1 Arguments] AddressFormatCore::getLiableClass - [line 434 - controllers/admin/AdminCountriesController.php] - [1 Arguments] AdminCountriesControllerCore->displayValidFields - [line 252 - controllers/admin/AdminCountriesController.php] - [0 Argument] AdminCountriesControllerCore->renderForm - [line 1402 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->initContent - [line 167 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 50 - adminDe_157167/index.php] - [0 Argument] so I change class_index.php permission to 666, no luck at all , same error I have go thru http://doc.prestashop.com/display/PS15/Understanding+Local+Settings#UnderstandingLocalSettings-ImportLocalizationPack but I cannot get answer, can someone give me clear steps of how to set up language, Many Thanks a Lot/Den Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 13, 2013 Share Posted May 13, 2013 HI, you can do this by adding it through Localization>Translations>Add or Update Language>Chinese-Traditional. Link to comment Share on other sites More sharing options...
deeeeeeeeeen Posted May 13, 2013 Author Share Posted May 13, 2013 On 5/13/2013 at 6:38 PM, Benjamin Utterback said: HI, you can do this by adding it through Localization>Translations>Add or Update Language>Chinese-Traditional. Thank you Benjamin, no luck!!! when i select Language Chinese Traditional -add or update a language Archive cannot be extracted. what Should I do Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 13, 2013 Share Posted May 13, 2013 I just successfully added the langauge. There must be a problem with how you tried to add the language before. The way that you first tried to add the language was not correct. It is strange that it is not working for you, and mine is working. Try to delete and remove any languages you added before. Link to comment Share on other sites More sharing options...
deeeeeeeeeen Posted May 13, 2013 Author Share Posted May 13, 2013 On 5/13/2013 at 7:16 PM, Benjamin Utterback said: I just successfully added the langauge. There must be a problem with how you tried to add the language before. The way that you first tried to add the language was not correct. It is strange that it is not working for you, and mine is working. Try to delete and remove any languages you added before. Hi, I have deleted the Chinese traditional and add again problem existed 3 errors An error occurred while copying no-picture image to your product folder. An error occurred while copying "No picture" image to your manufacturer folder The field language_code is invalid. (iso_code zh, Language_code zh_TW, is that corrected) Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 13, 2013 Share Posted May 13, 2013 Hi deeeeeeeeeeeeeeen, That is the wrong way. Delete the Chinese Traditional language and refer to post #2 to add it correctly. Link to comment Share on other sites More sharing options...
deeeeeeeeeen Posted May 13, 2013 Author Share Posted May 13, 2013 On 5/13/2013 at 7:30 PM, Benjamin Utterback said: Hi deeeeeeeeeeeeeeen, That is the wrong way. Delete the Chinese Traditional language and refer to post #2 to add it correctly. Hi Benjamin Please give me the lnik of post #2 thanks Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 13, 2013 Share Posted May 13, 2013 No Problem. I actually mean post #2 of this thread. Here it is. http://www.prestashop.com/forums/index.php?/topic/246811-language-issue/page__view__findpost__p__1224601 Link to comment Share on other sites More sharing options...
deeeeeeeeeen Posted May 13, 2013 Author Share Posted May 13, 2013 On 5/13/2013 at 8:11 PM, Benjamin Utterback said: No Problem. I actually mean post #2 of this thread. Here it is. http://www.prestasho...ost__p__1224601 Please forgive for the stupid question, I do in (Translation exchange) Localization>Translations>Add or Update Language>Chinese-Traditional. i got these Archive cannot be extracted. what's wrong with me , maybe this is another stupid question. thanks Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 13, 2013 Share Posted May 13, 2013 Hi, could you chmod all your folders and files to 777 temporarily and then try it again. This is usually a permissions issue. Link to comment Share on other sites More sharing options...
Recommended Posts