MohamedAl-Almany Posted July 6, 2017 Share Posted July 6, 2017 I am setting up my store on prestashop 1.6 but i have an problem with the name. I have 2 languages - english & arabic. The Problem is that i want to have the name in the arabic language/version with arabic and in the english/version with english. Thanks 4 Help in advance. Link to comment Share on other sites More sharing options...
Scully Posted July 6, 2017 Share Posted July 6, 2017 (edited) Depending on where, you could force prestashop to show different names according to language. But the shop name is referenced at many places and sometimes stored as a constant within php. The shop name is stored in the ps_configuration table with key PS_SHOP_NAME. Usually it is fetched by the following possible commands within php: Configuration::getMultiple (if multiple config variables are fetched) or Configuration::get('PS_SHOP_NAME') It would be possible to write an own function for example within ./classes/Tools.php like GetShopNameByLang and there check the language context and return the appropriate value. However with a quick search I found 78 references to PS_SHOP_NAME. So it could take time to find all places where you had to change to code. Edited July 6, 2017 by Scully (see edit history) 1 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