Skip to content

Language-specific buttons and hyperlinks

There are many cases why you may wish to have language-specific buttons or hyperlinks.

The technique below follows the same approach as that for our language-specific pages option, and uses a similar underlying technical approach.

Creating language-specific buttons

Add a button using your web editor and in the button text include the 2 digit text for the language this button applies to inside curly quotes.

Then add a second button for the 2nd language with a different destination URL and different text.

This image has an empty alt attribute; its file name is image-700x1024.png
Example of an English-only button. This button will be hidden when your users view your page in any other language than English.

Creating language-specific hyperlinks

The same exact approach is used for normal text-based hyperlinks.

Create the text, including the curly braces with the 2-digit language code, highlight the text then enter the destination URL.

This image has an empty alt attribute; its file name is image-1-1024x396.png
Creating language-specific hyperlinks. The example above will be hidden when any non-English user visits the page.

2-digit language codes

We have a reference here for the relevant 2-digit language codes.

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.