Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Translate problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

aage
Starting Member

Norway
7 Posts

Posted - October 25 2006 :  00:39:28  Show Profile  Visit aage's Homepage  Reply with Quote

I am using template and having trouble using translate description and features. I am using version 6.091

Http://test.uwphoto.no

With regards Aage

stockman
Starting Member

8 Posts

Posted - October 25 2006 :  01:18:01  Show Profile  Reply with Quote
I can't see any problems with translation for product description on shopdisplayproducts.asp page, however your product features are not translated to Ebglish. Did you add English translation for them in your shop admin?
Go to Top of Page

aage
Starting Member

Norway
7 Posts

Posted - October 25 2006 :  01:30:32  Show Profile  Visit aage's Homepage  Reply with Quote
Yes I have added English translation in shop admin for all features.

Is there a new version of the file shopcategorylist.asp with translating ?

Aage

Edited by - aage on October 25 2006 01:53:41
Go to Top of Page

aage
Starting Member

Norway
7 Posts

Posted - October 26 2006 :  01:56:49  Show Profile  Visit aage's Homepage  Reply with Quote
I fix the shopcategorylist.asp with adding following line

Sub Getcategoryfields (rs, categoryid, hassubcategory, strcategory, rc)
dim strcathide
categoryid=rs("categoryid")
strcategory=rs("catdescription")
'aage lagt til
strcategory=translatelanguage(dbc, "categories", "catdescription","categoryid", categoryid, strcategory)
hassubcategory=rs("hassubcategory")

To fix the productfeautures I add this into shoptranslate.asp

I try to add this in
case "catalogid"
dbtable = "translateproducts"
shopopendatabaseP pdbc
case else
dbtable = "translateprodfeatures"
shopopendatabaseP pdbc


And change a line in shopproductfeaturesgenerate.asp
from 'feature=translatelanguage(myconn, "prodfeatures", "featurecaption","id", lngfeatureid, strfeaturecaption)

to
strfeaturecaption=translatelanguage(myconn, "prodfeatures", "featurecaption","id", lngfeatureid, strfeaturecaption)

And that helps

http://test.uwphoto.no


Edited by - aage on October 26 2006 02:41:27
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00