Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  • English (US)
  • Spanish
  • French
  • Russian
  • Netherlands (Nederlands)
  • Swedish (Svenskt)
  • Italian (Italiano)
  • Urdu
  • Chinese (Simplified)
  • Dutch (Deutsch)
  • Japanese
  • Croatian
  • Czech
  • Slovenian
  • Polish
  • Portuguese (Brazil)
  • Turkish
  • Farsi
  • Arabic

Adding Your Own

If you need a language translation, we don't provide we recommend the following steps:

...

Warning

If your language file contains non-ASCII characters, you'll need to use the Native-to-ASCII Converter included with the Sun JVM. Otherwise, it may not display properly in your browser or SVN.

Selecting CSS per language/locale

Something like this in casLoginView.jsp:

Code Block
languagejava
<%
    String cssFileName = "mylogin.css"; // default
    Locale locale = request.getLocale();

    if (locale != null && StringUtils.isNotBlank(locale.getLanguage())){
       String languageCssFileName = "mylogin_" + locale.getLanguage() + ".css";
       // Maybe test here if languageCssFile exists...
       cssFileName = languageCssFileName;
    }

%>
<link href="/path/to/css/files/<%=cssFileName%>" rel="stylesheet" type="text/css"/>
Warning

The above snippet is only experimental and may need to be reviewed further. Use at your own risk.