Jump to content

[SOLVED] Please help - can't update translation


Recommended Posts

When I try to change a translation follow by this way:
BO: tools ->Translation -> Front Office Translation -> en
Type my translation in the text box, then click "update translation" button, then I got an error message "Cannot write language file". I know this is because the file needs write permissions but I don't know which file is it. I checked the "translation" folder and I can see all of files on en folder have write permission. It may be a easy question for you, but please help me... Thanks so much!

I have checked the translation folder has write permission. and all files under translation/en/ are also writable.

Share this post


Link to post
Share on other sites

If you don't have an error-log file to see the error then you can open
config.inc.php file inside the config folder and then
change the

@ini_set('display_errors', 'false');


to

@ini_set('display_errors', 'true');



You will see the error at the top of page.
Remember to change it back after the error is fixed.

Share this post


Link to post
Share on other sites

The Front Office translations are written to PHP files in translations/. Make sure that the translations directory and translations/en directories (and other language directories) are chmod 755 and that the files are chmod 644.

Share this post


Link to post
Share on other sites

  • 7 months later...

I had the same problem.
So normally your directories (mentioned above) should be 755, and the files 655, but when you want to change something you should change it to 777, and after changing you should set it back to 755, and 644 again.

Share this post


Link to post
Share on other sites

  • 6 months later...

Can anyone please help me? I get this when trying to update module translations:

 

Forbidden

 

You don't have permission to access /adminxxxxx/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

I have tried putting 777 to all files and folders under /translations/mx and also under themes/prestashop/lang/mx.php

 

Regards

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More