I can not find any text string within the files, in order to translate the "Out Of Stock" label shown on the product page, except the one in the database. Any solution to this?
v1.5.1.3
v1.5.1.3
Last edited by dimko on Sun Oct 09, 2011 4:29 am, edited 1 time in total.
Using OpenCart v1.5.1.3
Hm, I'm not following you... What exactly do you mean under the products page in the admin?
In Admin, in every product options, there is a drop down menu to shoose "Out Of Stock Status", but not to translate it to some other language.
For example, the "In Stock" label can be translated via "$_['text_instock'] = 'In Stock';" which can be found in the "products.php" file, but I can not find in which file is "Out Of Stock" label, so I can translate it, except in the database.
It's the same with "Pre-Order" and "2 - 3 Days" string, they can only be found in the database.
In Admin, in every product options, there is a drop down menu to shoose "Out Of Stock Status", but not to translate it to some other language.
For example, the "In Stock" label can be translated via "$_['text_instock'] = 'In Stock';" which can be found in the "products.php" file, but I can not find in which file is "Out Of Stock" label, so I can translate it, except in the database.
It's the same with "Pre-Order" and "2 - 3 Days" string, they can only be found in the database.
Using OpenCart v1.5.1.3
You may find this in the DB, in the table "txst_stock_status".
For more languages Add fields with language ID and the translation.
Works on my Opencart 1.5.4* with 2 languages, English ID = 1, Italian ID = 2
Hope this helps.
For more languages Add fields with language ID and the translation.
Works on my Opencart 1.5.4* with 2 languages, English ID = 1, Italian ID = 2
Hope this helps.
Web designer & developer (php, jquery, mysql vqmod)
Last online effort: http://www.thelooksite.com
Company website: http://www.onydea.com
Who is online
Users browsing this forum: No registered users and 10 guests