peng.jianhua created RANGER-1508:
------------------------------------
Summary: In the non English environment, the login fails, the
browser returns garbled, we need to log in to support the internationalization
of the 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
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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)