daYmo Posted September 19, 2008 Share Posted September 19, 2008 Hi there, I'm migrating a website from zencart to prestashop for few weeks : that's fine now.Anyway my big question is : Is there any way to set a default language for instance French but set the default content (when you put no content in product description for instance for other languages) to another language.To be clear : i want French language as default language. However when I create product/category and I specify the french and english content, I want the english one to be set for other languages such as german and all. Is there any way to do it or do I have to do it myself with a database update script ? Or maybe modifying anywhere to set the Configuration::set('PS_LANG_DEFAULT',1,true);Thanks for your help ! Link to comment Share on other sites More sharing options...
daYmo Posted September 22, 2008 Author Share Posted September 22, 2008 Hello,any idea ?Thanks. Link to comment Share on other sites More sharing options...
daYmo Posted September 30, 2008 Author Share Posted September 30, 2008 ^^ UP ^^ Link to comment Share on other sites More sharing options...
Damien Metzger Posted September 30, 2008 Share Posted September 30, 2008 That's a good idea but I see no easy or logical way to do it quickly.You should submit it as feature request since it's an interesting idea. Link to comment Share on other sites More sharing options...
daYmo Posted September 30, 2008 Author Share Posted September 30, 2008 Ok ! Good to read an answer Damien.... So I'll do it if you think there's no easy or logical way to do it quickly. Maybe just simply a configuration variable like PS_LANG_CONTENT_DEFAULT so as to distinguish with PS_LANG_DEFAULT.And then as we do put the "PS_LANG_DEFAULT" product content in others languages, the point would be to check if there is a content for PS_LANG_CONTENT_DEFAULT (different or not from PS_LANG_DEFAULT, if not we'll be in the study case of how it works now) and to set it to others languages as it work at the moment but for PS_LANG_DEFAULTWhat would you think of that Damien ? Maybe I don't have a realistic view of the system, but at first see that would be the easier way to mabage that...Thanks for reading and answering.Bye Link to comment Share on other sites More sharing options...
Damien Metzger Posted September 30, 2008 Share Posted September 30, 2008 The difficulty is not in the way to do it, but the quantity to change Even if in fact, I think it's easier than what I first thought.Maybe I'll see to it in detail tomorrow. Link to comment Share on other sites More sharing options...
daYmo Posted September 30, 2008 Author Share Posted September 30, 2008 Yep sure, I know what you mean Damien ;-) I'll also check it, the impacts & all, and we could find the proper way to implement it. See ya later. 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