The development of Internet has promoted the communication of the whole world, it needs to develop the WEB application that satisfies the requirements of different regions ' language, culture and living habits, therefore, the internationalization of software has become the problem that must be solved. At home and abroad, there are some deficiencies in the internationalization method:
Existing Dynamic Data internationalization solutions are not easy to migrate and reuse.
There is no out-of-the-box Dynamic Data internationalization solution or framework.
In view of the above problems, we need to propose a solution of dynamic data internationalization.
In order to build an internationalized WEB application in a short time, it is necessary to design an internationalized development framework that is easy to understand and maintain. The purpose of this paper is to extract the common operations related to internationalization, and to generate a framework of WEB application internationalization based on Spring lightweight framework, which simplifies the realization of system internationalization.
The goals are:
Make the internationalization framework available to relational databases or object relational databases.
The internationalization-related common operations are extracted to the aspect (Aspect), so that programmers can focus on the core business logic to write, do not need to consider a specific country \ language environment, simplifying development.
The new framework is easy to configure.
The code of the framework can be reused, which can effectively improve the system development efficiency.
Design and implementation of Dynamic Data internationalization framework model
Overall design
This framework is based on the Java EE three-tier architecture (UI layer, logical layer, and persistence layer), as shown in Figure 1. All levels should follow the Unicode guidelines, that is, the internal coding using Unicode standards, b/s architecture recommended the use of UTF-8 coding.
Figure 1. The general logic framework of internationalization based on B/s
Figure 2. Dynamic Data Internationalization Framework Design