The invention discloses a cross-platform self-adaptive internationalization language
dynamic switching method based on a
database. According to the method, a multi-language resource
database table structure is constructed, multi-language resources are stored in a unified mode, and
data association and a
unique identifier are established; providing a unified universal language request interface, receiving a request query
database to obtain resources, writing the resources into a cache layer, and generating a
version identifier; establishing a multi-terminal
adaptation mechanism, realizing incremental updating of the front-end application according to the cache
version identifier, and adapting to different platform and equipment requests; seamless updating of the interface is achieved by means of an event mechanism, and reloading of the application is avoided; an expansion management platform is established, and addition, deletion, modification and check, batch import and
automatic translation interface integration of language resources are supported. According to the invention, the problems of dispersed language
resource management, inconvenient switching, poor cross-platform compatibility and the like in the prior art are solved, the
management process can be simplified, the cost can be reduced, the
system performance and expandability can be improved, and smooth and convenient multi-language use experience can be brought to users.