| CPC G06F 8/38 (2013.01) [G06F 40/40 (2020.01)] | 16 Claims |

|
1. A micro-front-end-based page internationalization configuration method, wherein the method comprises:
creating an internationalized page in a micro-front-end main application;
acquiring at least one entry from the internationalized page, and configuring a plurality of attributes to each of the at least one entry, wherein the plurality of attributes comprise a keyword and at least one language translation data, the keyword is configured for identifying a current entry, and the keyword is globally unique;
obtaining a configured internationalized page;
persisting data in the configured internationalized page; and
reading the data and transmitting the data to at least one micro-front-end sub-application for any one of the at least one micro-front-end sub-application to perform page translation according to the data;
wherein after the persisting data in the configured internationalized page, the method further comprises:
determining whether a browser is refreshed or whether a page is reloaded;
in response to a determination that the browser is refreshed or the page is reloaded, determining system initialization;
reading all the data in the micro-front-end main application in response to the system initialization;
recognizing a current language environment;
converting, according to the current language environment, a format of each of the at least one entry to filter out attribute data information of other language environments to obtain corresponding language translation data of each of the at least one entry; and
combining the keyword with the corresponding language translation data of each of the at least one entry to obtain combined entry data.
|