Call 1-888-670-1652

 Spire CoreDB Connect Error (2002) Connection timed out

sys:lang-selector

The sys:lang-selector tag generates a list of all available languages for users to select from and view the content of your web page in.

Using both HTML and CSS, the format of the language selection list can be modified in various ways, from a drop-down menu, to image-only labels, image and text labels, horizontal menus, vertical menus, and much more.

The following attributes can also be included within the tag in order to influence its output:

  • id-prefix: This attribute allows you to enter a unique ID that will be used to distinguish the language selector in question, as problems will arise if there are multiple language selectors on a page that cannot be distinguished from one another
  • text-separator: The text included with this attribute will be inserted between the individual language links within the language selector
  • format: This attribute allows you to determine the format in which the available languages will be listed within the language selector
  • tooltip-format: This attribute allows you to determine what text will be displayed when users hold their cursors over each item within the list

In the end, when entering the tag into the HTML window, it should look something like this:

<sys:lang-selector id-prefix="topLangs" text-separator="|" format="%L" tooltip-format="%n (%L)" />