X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Using links and text with language labels (https://forum.x-cart.com/showthread.php?t=18743)

NightFire 12-18-2005 02:34 AM

Using links and text with language labels
 
Hi,

In my webshop I have some custom templates with some text and links.
But I'm also using two languages in my shop: Dutch and English.

The custom text and links I made is only in Dutch. So if a customer selects the English language the links and text will still be in Dutch. So he can't understand it.

I tried some different things with the language labels, but couldn't get it working.

Below are some examples of the codes that needs to be working with the language labels:

Code:

Privacy Statement |
                                                Algemene Voorwaarden |
                                                SiteMap
</td>


Code:

Home |
                                                Informatie |
                                                Contact |
                                                FAQ |
                                                Zoeken |
                                                Winkelwagen
                                                </td>


I hope somebody could help me to put those links with a language variable.

Thanks in advance.

balinor 12-27-2005 04:44 AM

Just go to Languages, and create the language variable you want to use. Then call it in those templates the same way other lanaguage variables are called.

NightFire 12-27-2005 11:02 AM

Thanks balinor.

It works. Last time I just put the language label into the place where the text was. But I checked a few other templates for examples and it must be done by the following:

Code:

{$lng.lbl_your_label}


All times are GMT -8. The time now is 03:33 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.