incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Nalley <da...@gnsa.us>
Subject Fwd: Localization
Date Fri, 01 Jun 2012 18:05:16 GMT
---------- Forwarded message ----------
From: Brian Federle <Brian.Federle@citrix.com>
Date: Fri, Jun 1, 2012 at 1:56 PM
Subject: RE: Localization
To: Sonny Chhen <Sonny.Chhen@citrix.com>, David Nalley <david@gnsa.us>
Cc: Jessica Wang <Jessica.Wang@citrix.com>


Hey,



Adding a new language is mainly just adding a new option to the

language select on the login page. After adding the

messages.ru.properties file, change the HTML like so:



<!-- Select language -->

<div class="select-language">

  <select name="language">

    <option value=""></option> <!-- when this blank option is
selected, browser's default language will be used -->

    <option value="en"><fmt:message key="label.lang.english"/></option>

    <option value="ja"><fmt:message key="label.lang.japanese"/></option>

  </select>

</div>





<!-- Select language -->

<div class="select-language">

  <select name="language">

    <option value=""></option> <!-- when this blank option is
selected, browser's default language will be used -->

    <option value="en"><fmt:message key="label.lang.english"/></option>

    <option value="ja"><fmt:message key="label.lang.japanese"/></option>

    <option value="ru"><fmt:message key="label.lang.russian"/></option>

  </select>

</div>



-Brian

Mime
View raw message