Welcome, Guest
Username: Password: Remember me

TOPIC: Localization

Localization 10 months 16 hours ago #11077

  • Legion
  • Legion's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Please tell me, did all the instructions, but not cloudstack picks up another language. Although all tested at factor of 10
The administrator has disabled public write access.

Re: Localization 10 months 16 hours ago #11078

  • Legion
  • Legion's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
[root@mc resources]# ls
messages.properties  messages_ru.properties
[root@mc resources]#

index.jsp
<div class="select-language">
              <select name="language">
                <option value="en"><fmt:message key="label.lang.english"/></option>
		<option value="ru"><fmt:message key="label.lang.russian"/></option> 
              </select>
            </div>

messages.properties
label.lang.russian=Русский

The administrator has disabled public write access.

Re: Localization 9 months 4 weeks ago #11114

  • Legion
  • Legion's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Version: 3.0.1
UP
The administrator has disabled public write access.

Re: Localization 9 months 4 weeks ago #11120

  • gemiller
  • gemiller's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 90
  • Thank you received: 15
  • Karma: 4
Can you double check that the messages_ru.properties file was saved with UTF-8 encoding? For example, if I was to edit messages_ru.properties on Windows with Notepad and enter Cyrillic strings, I'd have to (1) have the Russian language pack installed on my OS and (2) I'd have to select "UTF-8" from the encoding drop-down in the "Save" dialog in Notepad (default is ANSI).
The administrator has disabled public write access.

Re: Localization 9 months 4 weeks ago #11122

  • Legion
  • Legion's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Of course, it is in UTF-8
Last Edit: 9 months 4 weeks ago by Legion.
The administrator has disabled public write access.

Re: Localization 9 months 3 weeks ago #11139

  • Legion
  • Legion's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
If you manually set the file index.jsp Russian letters, then all will be well displayed. A language file is not like does not want to, I suspect that the failure occurs when encoding restarts cloudstack :(
The administrator has disabled public write access.
Time to create page: 0.235 seconds
About BuildaCloud.org Resources Site Info

Build a Cloud.org is a resource for those users who want to build cloud computing software with both open source and proprietary software.