Translating text in templates

If your site is available in multiple languages, you can have the text you add to your templates set to translate as shown in the following example.

 

Instead of –

 

<h1>Thank you for registering on our site.</h1>

 

Use the following –

 

<h1>[getlang langmaillistinfomsg]</h1>

 

Where langmaillistinfomsg is a variable in the Languages table (see page 307).

 

Using this syntax, VPCART will look up the value in the Languages table with the keyword langmaillistinfomsg in the language the customer is currently viewing the site in.