VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 how can I create a link?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

elvis
VP-ASP Super User

202 Posts

Posted - July 02 2008 :  10:07:40  Show Profile  Reply with Quote
I am working on to create second navigation under the main one.
I have to create multi language site.
So I need to hand-code in the hmt.

When I see the following code, I understand the first part.
<a href="shopcontent.asp?type=privacy"><%=Server.HTMLEncode(getlang("langcommonprivacy"))%></a>

But I don't know how to create the second part. <%=Server.HTMLEncode(getlang("langcommonprivacy"))%></a>

If my menu is called "Our partner", I don't know what I need to do with "langcommonprivacy".
This must be related to the language file. But after that I just have no clue.
Can anyone help me please.

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - July 02 2008 :  10:57:06  Show Profile  Reply with Quote
If you have a content record called Our Partner, then you need to provide a translation for the content by editing the Our Partner record and click the Add new translation button. Once you have done this you can create a new language record called langcommonpartner, provide translations for this record and use it in the navigation.
The second part of the link displays the translated text to click that the customer will see.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

elvis
VP-ASP Super User

202 Posts

Posted - July 02 2008 :  16:19:11  Show Profile  Reply with Quote
Thanks carfin.

What is the difference langcommonxxxxx and langproductxxxxx etc. Is there any rule I need to follow? Or can I create a completely new, such as mypartner? Or I have to add lang at the front?

Thanks.

Edited by - elvis on July 02 2008 16:20:18
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - July 02 2008 :  16:30:07  Show Profile  Reply with Quote
the langcommonwhatever is used to distinguish between translations that are used frequently throughout the site and translations that are used specifically on a particular page. Best to keep the 'lang' at the front so that they are easy to find.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000