cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcos Ortiz <marcos_or...@anadat.es>
Subject RE: Force UI to be in English
Date Thu, 20 Sep 2012 10:32:09 GMT
Hi,

Whit those changes, i haven´t got the combo box to display language and i can´t login

Regards


-----Mensaje original-----
De: Jessica Wang [mailto:Jessica.Wang@citrix.com] 
Enviado el: jueves, 20 de septiembre de 2012 0:05
Para: Marcos Ortiz
CC: cloudstack-users@incubator.apache.org
Asunto: RE: Force UI to be in English

Marcos,

Please try this:
(1) in "/ui/index.jsp": 
replace 
<div class="select-language">      
with      
<div class="select-language" style="display:none">

(2) under "/client/WEB-INF/classes/resources/":
keep "messages.properties", but delete everything else (e.g."messages_es.properties", "messages_ja.properties",
"messages_zh_CN.properties")

(3) under your tomcat "C:\apache-tomcat-x.x.xx\webapps\client\WEB-INF\classes\resources\":
keep "messages.properties", but delete everything else (e.g."messages_es.properties", "messages_ja.properties",
"messages_zh_CN.properties")

Jessica

-----Original Message-----
From: Marcos Ortiz [mailto:marcos_ortiz@anadat.es]
Sent: Tuesday, September 18, 2012 9:44 PM
To: Jessica Wang
Subject: Re: Force UI to be in English

I think i checked this option before and only removes the blank option but the web loads with
the browser default, I need to select English option anyway.

Marcos Ortiz Fernández
IT Technical Engineer
Anadat Consulting


El 18/09/2012, a las 23:47, "Jessica Wang" <Jessica.Wang@citrix.com> escribió:

> Marcos,
> 
> My reply is for CS 3.0.4 cloud platform, not CS 2.2.x.
> 
> ======================================================================
> ============================================================
> 
> <div class="select-language">
>    <select name="language">
>        <option value=""></option>  //************ please remove this line
************
>        <option value="en"><fmt:message key="label.lang.english"/></option>
>        <option value="ja"><fmt:message key="label.lang.japanese"/></option>
>        <option value="zh_CN"><fmt:message key="label.lang.chinese"/></option>
>    </select>
> </div>
> 
> ======================================================================
> ============================================================
> 
> Jessica
> 
> -----Original Message-----
> From: Jessica Wang [mailto:Jessica.Wang@citrix.com]
> Sent: Tuesday, September 18, 2012 11:17 AM
> To: marcos_ortiz@anadat.es; Chiradeep Vittal
> Cc: cloudstack-dev@incubator.apache.org
> Subject: RE: Force UI to be in English
> 
> Marcos,
> 
> Cloudstack UI is using browser's default language as default.
> 
> To force UI to be in English instead of in browser's default language, 
> please just remove one line from your \ui\index.jsp
> 
> ======================================================================
> ============================================================
> 
> <div class="select-language">
>    <select name="language">
>        <option value=""></option>  //************ please remove this line
************
>        <option value="en"><fmt:message key="label.lang.english"/></option>
>        <option value="ja"><fmt:message key="label.lang.japanese"/></option>
>        <option value="zh_CN"><fmt:message key="label.lang.chinese"/></option>
>    </select>
> </div>
> 
> ======================================================================
> ============================================================
> 
> Jessica
> 
> 
> 
> -----Original Message-----
> From: Chiradeep Vittal
> Sent: Monday, September 17, 2012 10:04 PM
> To: Jessica Wang
> Subject: FW: Force UI to be in English
> 
> 
> 
> On 9/17/12 9:43 PM, "Marcos Ortiz" <marcos_ortiz@anadat.es> wrote:
> 
>> Hi all
>> 
>> I am from Spain and I need to change the default language to English 
>> instead to take the default from the browser.
>> 
>> I need this in order to avoid the bad translation to Spanish.
>> 
>> Thanks
>> 
>> 
>> 
> 





Mime
View raw message