Setting Up Language-based Stylesheets
You can use <fm:Switch> to call a specific language stylesheet.
To set up a language-based stylesheet
- From the Navigation bar, select Applications>Applications.
- On the Applications page, select an application.
- Under Sections, click Translation.
- Under Categories, click var.
- Click the New button.
- Make a new var keyword called ‘ stylesheet’.
- Enter a name of the stylesheet in the appropriate language columns.
For example, in the English column type englishstylesheet.css .
- In the HTML, change the name of the stylesheet file to {%var:languageStylesheet} so it retrieves the correct stylesheet depending on the language chosen.
For example: If English and French were 2 languages, the CSS including code would look like:
<link rel=“stylesheet” type=“text/css” href=”../assets/{%var:languageStylesheet}” />