GaisaMeritajs Posted September 25, 2010 Share Posted September 25, 2010 Hi,Following the guidelines here: http://www.prestashop.com/wiki/Languages_and_translations/Whenever I try to import a language, it creates all of the files, except the /themes/mycustomtheme/lang/xx.php file. If I create it manually, then it doesn't overwrite it, and it stays the same—without any translations. That even happens if I set the file itself to CHMOD 777.Why is this happening, and how can I solve it?Thanks Link to comment Share on other sites More sharing options...
rocky Posted September 25, 2010 Share Posted September 25, 2010 Try making the translations directory and all its subdirectories chmod 755. In PrestaShop, all directories should be chmod 755 and all files chmod 644 (except for .htaccess file, which should be chmod 666). Link to comment Share on other sites More sharing options...
GaisaMeritajs Posted September 25, 2010 Author Share Posted September 25, 2010 Thanks. Do you mean the directory:/themes/mycustomtheme/lang/Because it's on 777 now.Regarding the other CHMOD stuff, is this still true for me? Because I'm running Version 1.2.4.0, but I started in this version, and installed the initial language packs, so I don't see why it's not working now... Link to comment Share on other sites More sharing options...
rocky Posted September 25, 2010 Share Posted September 25, 2010 Yes, that's the directory. If you are sure the theme translations are in the language pack you are importing, I can't think of any other reason except permissions for why the PrestaShop wouldn't be able to import the theme translations. Link to comment Share on other sites More sharing options...
GaisaMeritajs Posted September 25, 2010 Author Share Posted September 25, 2010 What do you mean by: "If you are sure the theme translations are in the language pack you are importing"I downloaded the language pack from your site, and am applying it to a customized theme, not too heavily though Link to comment Share on other sites More sharing options...
rocky Posted September 25, 2010 Share Posted September 25, 2010 The translations packs on this site include translations for the "prestashop" theme only. If your theme has another name, you will need to go to Tools > Translations, then use the "Copy" section to copy the translations from "prestashop" to your theme name. You will need to do it for each language. Link to comment Share on other sites More sharing options...
GaisaMeritajs Posted September 25, 2010 Author Share Posted September 25, 2010 Thanks, I'll try that.However, you said:"Try making the translations directory and all its subdirectories chmod 755. In PrestaShop, all directories should be chmod 755 and all files chmod 644 (except for .htaccess file, which should be chmod 666)."Is this a new thing, because on the old Wiki it said to leave everything as is, and then CHMOD specific things to 777. With my version of PS, should I update these changes? I looked in the Wiki for installation, and it hasn't changed... still says CHMOD 777http://www.prestashop.com/wiki/Installing_And_Updating_PrestaShop_Software/See Install PrestaShop Link to comment Share on other sites More sharing options...
rocky Posted September 25, 2010 Share Posted September 25, 2010 The Wiki is wrong. It is written for older servers that won't work unless you use chmod 777. It is rare for servers to require that now. Most servers use the more secure chmod 755 permissions. Link to comment Share on other sites More sharing options...
GaisaMeritajs Posted September 25, 2010 Author Share Posted September 25, 2010 So, what you've said is complete—correct? That's all I should change? Or maybe there's something else I'm meant to CHMOD differently? Link to comment Share on other sites More sharing options...
rocky Posted September 25, 2010 Share Posted September 25, 2010 Hopefully, copying the language files from the prestashop theme to your theme will be enough and you won't have to worry about permissions. My advice above that directories should be chmod 755 and all files should be chmod 644 is correct. That's what I use on my website and what I always recommend to others. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now