Jump to content

[Solved]Translation Does Not Work Fully


Recommended Posts

Hello, I'm using version 1.5.3.1 and install a theme some items are not in EN as shopping and others, and to me the following message appears in the admin area:

 

 
[PrestaShopException]
 
File "br.php" doesn't exists and cannot be created in /home/floripasat/www/themes/thgr00027o/lang/
at line 1488 in file controllers/admin/AdminTranslationsController.php
 
1482. if (!Tools::file_exists_cache($dir))
1483. if (!mkdir($dir, 0700))
1484. throw new PrestaShopException('Directory '.$dir.' cannot be created.');
1485. if (!Tools::file_exists_cache($dir.DIRECTORY_SEPARATOR.$file))
1486. if (!file_put_contents($dir.'/'.$file, "<?php\n\nglobal \$".$var.";\n\$".$var." = array();\n\n?>"))
1487. throw new PrestaShopException('File "'.$file.'" doesn\'t exists and cannot be created in '.$dir);
1488. if (!is_writable($dir.DIRECTORY_SEPARATOR.$file))
1489. $this->displayWarning(Tools::displayError('This file must be writable:').' '.$dir.'/'.$file);
1490. include($dir.DIRECTORY_SEPARATOR.$file);
1491. return $$var;
1492. }
AdminTranslationsControllerCore->fileExists - [line 1576 - controllers/admin/AdminTranslationsController.php] - [0 Argument]
AdminTranslationsControllerCore->initFormFront - [line 150 - controllers/admin/AdminTranslationsController.php] - [0 Argument]
AdminTranslationsControllerCore->initForm - [line 107 - controllers/admin/AdminTranslationsController.php] - [1 Arguments]
AdminTranslationsControllerCore->initContent - [line 167 - classes/controller/Controller.php] - [0 Argument]
ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument]
DispatcherCore->dispatch - [line 50 - administracao/index.php] - [0 Argument]
 
 
 
Thank someone help me
 
 
Edited by xandehenrique (see edit history)
Link to comment
Share on other sites

  • 2 years later...
×
×
  • Create New...