ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-13139) Implement multi-language support for Ambari Web user interface
Date Sat, 19 Sep 2015 02:57:05 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-13139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14876851#comment-14876851
] 

Hudson commented on AMBARI-13139:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #3469 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3469/])
AMBARI-13139. Implement multi-language support for Ambari Web user interface. (F. Canan Pembe
Muhtaroglu via yusaku) (yusaku: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9ba52c37ffd534f3d807f4b98a074016341b40bf)
* ambari-web/app/initialize.js


> Implement multi-language support for Ambari Web user interface
> --------------------------------------------------------------
>
>                 Key: AMBARI-13139
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13139
>             Project: Ambari
>          Issue Type: New Feature
>          Components: ambari-web
>    Affects Versions: 2.1.3
>            Reporter: F. Canan Pembe Muhtaroglu
>            Assignee: F. Canan Pembe Muhtaroglu
>             Fix For: 2.1.3
>
>         Attachments: AMBARI-13139.2.patch, AMBARI-13139.2b.patch, AMBARI-13139.3.patch,
AMBARI-13139.patch
>
>
> Currently, externalized strings can be defined for English only (in messages.js). One
should be able to define those strings also for other languages to support internationalization.
> As a solution, a small change in initialize.js (in ambari-web) is proposed. In this solution,
the language of the web user interface is selected according to the language setting of the
browser. This is an approach also used in some other web-based solutions. The default locale
is defined as English. This applies when there is no support for the current language of the
browser.
> For this solution to work, a "locales" directory should be created in ambari-web (e.g.
app/locales/) and current messages.js file should be moved to app/locales/en/ where "en" stands
for English. When other languages will be added, only a new messages.js file needs to be added
to the directory for that language in "locales" directory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message