Define the web-ui framework and trying to use the spring mvc to implement the translate function