Jump to content

How to use description and short description for all languages


Recommended Posts

  • 4 weeks later...

Beside the description you can see a flag. When you click on, a small windaw appears with some flags. When you click on one (american flag for english, french flag for french language...) you can write the description you want in the right language.

Chris

Link to comment
Share on other sites

  • 7 months later...
  • 2 weeks later...

Hi Raulibi,

I created a tool available on www.pataro.fr - Despite it is not free, you can still use the tool as it has 30 free runs available during trial. Basically, the tool can import/update/delete products and categories in all available languages in the BO. It uses essentially Excel as working document.
Please, have a look if this can fit your needs...

Link to comment
Share on other sites

  • 5 months later...

I was looking to use a default short description for all languages and I found one solution - what it does - when saving the product, it will write short description in all languages. It's not perfect but may help some one.
Open classes/Product.php and on line 359 (I'm using 1.4)

replace this:
$fields[$language['id_lang']]['description_short'] = (isset($this->description_short[$language['id_lang']])) ? pSQL($this->description_short[$language['id_lang']], true) : '';

with this:
$fields[$language['id_lang']]['description_short'] = (isset($this->description_short[$language['id_lang']])) ? pSQL($this->description_short[$defaultLanguage['id_lang']], true) : '';

I hope that helps.

Link to comment
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
×
×
  • Create New...