[
https://issues.apache.org/jira/browse/RANGER-1508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
peng.jianhua updated RANGER-1508:
---------------------------------
Description: Use the browser to log in Ranger admin in Chinese operation
system. The browser returns garbled when an error occurs. The error reason is
that the Ranger admin used hard code to compare error information between
Chinese character and English character. So we need support the
internationalization function to solve this problem. (was: Use the browser to
log in Chinese Ranger admin operating system, when an error occurs, garbage is
returned to the browser, the server code logic, and found English error
information using hard encoding compared and caused the program logic error. So
we need to log in to support the internationalization of the function to solve
such problems.
The reason is because the location error (Locale.getDefault); different
countries and regions to obtain the local languages, we need according to the
login user login area language encoding in different countries and regions of
the dynamic of the current user. According to the configuration file to
dynamically access the correct language.)
> The browser returns garbled when we login ranger security admin in
> non-English environment. We need support the internationalization function to
> solve this problem.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-1508
> URL: https://issues.apache.org/jira/browse/RANGER-1508
> Project: Ranger
> Issue Type: New Feature
> Components: admin
> Affects Versions: 1.0.0
> Reporter: peng.jianhua
> Assignee: peng.jianhua
> Priority: Critical
> Attachments: 0001-RANGER-1508-support-internationalization.patch
>
>
> Use the browser to log in Ranger admin in Chinese operation system. The
> browser returns garbled when an error occurs. The error reason is that the
> Ranger admin used hard code to compare error information between Chinese
> character and English character. So we need support the internationalization
> function to solve this problem.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)