CN110647371A - Multi-language resource file analysis method and system based on service configuration - Google Patents

Multi-language resource file analysis method and system based on service configuration Download PDF

Info

Publication number
CN110647371A
CN110647371A CN201910782647.7A CN201910782647A CN110647371A CN 110647371 A CN110647371 A CN 110647371A CN 201910782647 A CN201910782647 A CN 201910782647A CN 110647371 A CN110647371 A CN 110647371A
Authority
CN
China
Prior art keywords
resource file
file
multilingual
resource
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910782647.7A
Other languages
Chinese (zh)
Inventor
何怿铭
郑利蓉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN LAN-YOU TECHNOLOG Co Ltd
Original Assignee
SHENZHEN LAN-YOU TECHNOLOG Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN LAN-YOU TECHNOLOG Co Ltd filed Critical SHENZHEN LAN-YOU TECHNOLOG Co Ltd
Priority to CN201910782647.7A priority Critical patent/CN110647371A/en
Publication of CN110647371A publication Critical patent/CN110647371A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a multilingual resource file analysis method, a system, equipment and a computer readable storage medium based on service configuration, which comprises the following steps: s1, configuring the resource file; s2, generating a multilingual resource file by using the key value pair data with the service in the configuration; and S3, analyzing the multilingual resource file by adopting a multilingual resource file analysis method to complete the multilingual scene adaptation of the operation interface. The configuration mode of the personalized service of the multi-language resource file can be realized; and the capability of personalized customization and service customization in different language environments is provided for the user operation interface.

Description

Multi-language resource file analysis method and system based on service configuration
Technical Field
The present invention relates to the technical field of multi-language configuration, and in particular, to a method, a system, a device, and a computer-readable storage medium for analyzing a multi-language resource file based on service configuration.
Background
With the rapid development of international trade and the emergence of joint venture enterprises like bamboo shoots in spring after rain, all large enterprises provide more perfect services for global users by using a multilingual technology.
The current multi-language solution consists of two major modules: a multilingual resource file (a file storing multilingual translation data) and a multilingual resource file parsing engine (which validates the multilingual resource file using the multilingual resource file). The multilingual resource file analysis engine is responsible for distributing and presenting the configuration data of the multilingual resource file to the user operation interface according to the language setting of the current system context so as to achieve the purpose that users of different languages see different language operation interfaces.
The current multi-language solutions in existence have limitations: for example, a translation may have 6 characters in the chinese context, 12 characters in the english context, or even 18 characters in the japanese context. If the processing is not proper, the layout of the user operation interface is disordered under certain language environments, and the final presentation effect is influenced.
In different language environments, the lengths of the translated data (Value) are different in the same Key Value (Key), so that the effects presented on the interface control may be different, and personalized customization is not easy to perform. Where personalized adjustments are required, including (but not limited to): the length of the control, the position of the control, the attribute of the parent control where the control is located, and the like.
A multilingual key-value pair may not only complete the assignment translation of one attribute of an interface control (e.g., a text attribute displayed by the control), but also translate data such as a control TITLE (a control attribute that a mouse moves to the control and then displays a text), whereas the existing scheme cannot sense the requirement that "one control needs assignment of multiple attributes", which can be realized by increasing key values, but is cumbersome.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a method, a system, a device, and a computer-readable storage medium for parsing a multi-language resource file based on service configuration, which are used to solve the problem in the prior art that a user operation interface is disordered in layout under some language environments, which affects the final rendering effect.
The invention provides a multilingual resource file analysis method based on service configuration, which comprises the following steps: s1, configuring the resource file; s2, generating a multilingual resource file by using the key value pair data with the service in the configuration; and S3, analyzing the multilingual resource file by adopting a multilingual resource file analysis method to complete the multilingual scene adaptation of the operation interface.
In an embodiment of the present invention, the step S2 includes the steps of: and respectively defining the configured resource files containing the simple key value pairs and the business expansion key values to generate the multi-language resource files.
In an embodiment of the present invention, the service extension key value pair includes a general function, an anonymous function, and a class file function; wherein, corresponding to the general function, the step S2 includes the steps of: traversing a functional expression of the general function; corresponding to the anonymity function, the step S2 includes the steps of: traversing a functional expression of the anonymous function; corresponding to the class file function, the step S2 includes the steps of: the class, class file and code file path of key-value pair data are loaded and traversed through reflection technology.
In an embodiment of the present invention, the step S3 includes the steps of: s31, acquiring current language setting; s32, acquiring the current language resource file in the multilingual resource files; s33, acquiring a current language resource object traversal device; s34, traversing the key value pairs in the current language resource file by adopting the object traversing device; s35, obtaining a value, a target control and business data according to the key value; and S36, analyzing the multilingual resource file according to the value type, and completing the multilingual scene adaptation of the operation interface.
The invention also provides a multilingual resource file parsing system based on service configuration, which comprises the following steps: the configuration module is used for configuring the resource file; the resource generation module is used for generating a multilingual resource file from the key value pair data with the service in the configuration; and the analysis module is used for analyzing the multi-language resource file by adopting a multi-language resource file analysis method to complete multi-language scene adaptation of the operation interface.
In an embodiment of the present invention, the resource generation module is further configured to define the configured resource file containing the simple key value pair and the service extension key value, respectively, to generate the multilingual resource file.
In an embodiment of the present invention, the service extension key value pair includes a general function, an anonymous function, and a class file function;
the resource generation module is also used for traversing a function expression of the general function corresponding to the general function;
corresponding to the anonymous function, the resource generation module is also used for traversing a function expression of the anonymous function;
and the resource generation module is also used for loading and traversing the class, the class file and the code file path of the key value pair data through a reflection technology corresponding to the class file function.
In an embodiment of the present invention, the parsing module includes: a language setting acquisition unit for acquiring a current language setting; a language resource file obtaining unit, configured to obtain a current language resource file in the multilingual resource files; the traversal device acquisition unit is used for acquiring the traversal device of the current language resource object; the object traversing device is used for traversing the key value pairs in the current language resource file; the data acquisition unit is used for acquiring a value, a target control and service data according to the key value; and the analysis unit is used for analyzing the multi-language resource file according to the value type to complete the multi-language scene adaptation of the operation interface.
The invention also provides a terminal device, comprising a memory, a processor and a computer program stored in the memory and operable on the processor, wherein the processor implements the steps of any one of the above methods when executing the computer program.
The invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method according to any one of the preceding claims.
As described above, the multilingual resource file parsing method, system, device and computer-readable storage medium based on service configuration according to the present invention have the following advantages:
the configuration mode of the personalized service of the multi-language resource file can be realized; and the capability of personalized customization and service customization in different language environments is provided for the user operation interface.
Drawings
FIG. 1 is a block diagram illustrating a process of a multi-language resource file parsing method based on service configuration according to the present invention.
FIG. 2 is a block diagram of a multi-language resource file parsing system based on service configuration according to the present invention.
Fig. 3 is a schematic structural diagram of a terminal device provided in the present invention.
Fig. 4 is a code diagram of the Javascript version when configured in an embodiment of the present invention.
Fig. 5 is a code diagram of a Javascript version when configured in another embodiment of the invention.
Fig. 6 is a code diagram of the configured Javascript version in an embodiment of the present invention.
Fig. 7 is a code diagram illustrating a configured Javascript version according to another embodiment of the present invention.
Fig. 8 is a code diagram of the Javascript version during parsing according to an embodiment of the present invention.
Fig. 9 is a code diagram of the Javascript version during parsing according to another embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
In the embodiment of the invention, the target component of the target page to be generated is determined based on the template component by acquiring the software development requirement and according to the software development requirement on the preset page frame template. The target component comprises at least one of an adjusting component obtained by modification based on the template component, a new component created based on the template component and a component to be replaced determined based on the template component, and the reserved template component and the generated target component are assembled in the page basic frame template to form a target page based on the component name and the position information of the target component. Because software is developed based on the preset page basic frame template, a large amount of manpower is not required to be invested to develop the page from the beginning, and the expected result can be completed only by replacing, modifying or newly adding components, so that the development efficiency is greatly improved, and the development cost is greatly reduced. Meanwhile, the problem of browser compatibility does not need to be considered based on the preset page basic frame template, and the development difficulty is reduced. In addition, the page is modularized and configured, the target page is formed by building blocks of the modules, and the modification of the page is realized by modifying the configuration file of the template module, so that the method is extremely flexible.
In the embodiment of the present invention, the main execution body of the process is a terminal device, and the terminal device includes, but is not limited to, a notebook computer, a server, a tablet computer, a smart phone, and other terminal devices having a software development function. In particular, the terminal device can be used for providing a load-bearing function or a front-end interface display of the desktop application for the native application when executing the process in the implementation of the present invention, and providing an interface assembly framework for the desktop application.
Referring to fig. 1 to 3, it should be understood that the structures, ratios, sizes, and the like shown in the drawings are only used for matching the disclosure of the present disclosure, and are not used to limit the conditions that the present disclosure can be implemented, so the present disclosure has no technical significance, and any structural modifications, ratio changes or size adjustments should still fall within the scope of the present disclosure without affecting the efficacy and the achievable purpose of the present disclosure. In addition, the terms "upper", "lower", "left", "right", "middle" and "one" used in the present specification are for clarity of description, and are not intended to limit the scope of the present invention, and the relative relationship between the terms and the terms is not to be construed as a scope of the present invention.
As shown in fig. 1, fig. 1 is a block diagram illustrating a flow of a multi-language resource file parsing method based on service configuration according to the present invention.
The invention provides a multilingual resource file analysis method based on service configuration, which comprises the following steps:
s1, configuring the resource file;
s2, generating a multilingual resource file by using the key value pair data with the service in the configuration;
and S3, analyzing the multilingual resource file by adopting a multilingual resource file analysis method to complete the multilingual scene adaptation of the operation interface.
Typically, a Key-Value pair includes a Key-Value Key and a Value; the value is the translated data of the key. In an embodiment of the present invention, the step S2 includes the steps of: and respectively defining the configured resource files containing the simple key value pairs and the business expansion key values to generate the multi-language resource files. Generally, the service extension key value pair comprises a general function, an anonymous function and a file-like function; wherein, corresponding to the general function, the step S2 includes the steps of: traversing a functional expression of the general function; corresponding to the anonymity function, the step S2 includes the steps of: traversing a functional expression of the anonymous function; corresponding to the class file function, the step S2 includes the steps of: the class, class file and code file path of key-value pair data are loaded and traversed through reflection technology.
Further, the step S3 includes the steps of: s31, acquiring current language setting; s32, acquiring the current language resource file in the multilingual resource files; s33, acquiring a current language resource object traversal device; s34, traversing the key value pairs in the current language resource file by adopting the object traversing device; s35, obtaining a value, a target control and business data according to the key value; and S36, analyzing the multilingual resource file according to the value type, and completing the multilingual scene adaptation of the operation interface.
Without loss of generality, Javascript (client development language) and Java (server development language) are exemplified below, trying to solve the problem of existing multi-language solutions, and others are analogized.
When configured, the code of the Javascript version is as shown in FIG. 4 and FIG. 5; the code of the configured Javascript version is shown in fig. 6 and 7. Fig. 4 is a code diagram of the Javascript version when configured in an embodiment of the present invention. Fig. 5 is a code diagram of a Javascript version when configured in another embodiment of the invention. Fig. 6 is a code diagram of the configured Javascript version in an embodiment of the present invention. Fig. 7 is a code diagram illustrating a configured Javascript version according to another embodiment of the present invention.
While the code of the Javascript version is shown in fig. 7 and 8 at the time of parsing. Fig. 7 is a code diagram of the Javascript version during parsing according to an embodiment of the present invention. Fig. 8 is a code diagram of the Javascript version during parsing according to another embodiment of the present invention.
As shown in fig. 2, fig. 2 is a block diagram illustrating a multi-language resource file parsing system based on service configuration according to the present invention. The invention also provides a multilingual resource file parsing system based on service configuration, which comprises the following steps: the configuration module is used for configuring the resource file; the resource generation module is used for generating a multilingual resource file from the key value pair data with the service in the configuration; and the analysis module is used for analyzing the multi-language resource file by adopting a multi-language resource file analysis method to complete multi-language scene adaptation of the operation interface.
Typically, a Key-Value pair includes a Key-Value Key and a Value; the value is the translated data of the key. In an embodiment of the present invention, the resource generation module is further configured to define the configured resource file containing the simple key value pair and the service extension key value, respectively, to generate the multilingual resource file. Generally, the service extension key value pair comprises a general function, an anonymous function and a file-like function; the resource generation module is also used for traversing a function expression of the general function corresponding to the general function; corresponding to the anonymous function, the resource generation module is also used for traversing a function expression of the anonymous function; and the resource generation module is also used for loading and traversing the class, the class file and the code file path of the key value pair data through a reflection technology corresponding to the class file function.
Further, the parsing module comprises: a language setting acquisition unit for acquiring a current language setting; a language resource file obtaining unit, configured to obtain a current language resource file in the multilingual resource files; the traversal device acquisition unit is used for acquiring the traversal device of the current language resource object; the object traversing device is used for traversing the key value pairs in the current language resource file; the data acquisition unit is used for acquiring a value, a target control and service data according to the key value; and the analysis unit is used for analyzing the multi-language resource file according to the value type to complete the multi-language scene adaptation of the operation interface.
Without loss of generality, Javascript (client development language) and Java (server development language) are exemplified below, trying to solve the problem of existing multi-language solutions, and others are analogized.
When configured, the code of the Javascript version is as shown in FIG. 4 and FIG. 5; the code of the configured Javascript version is shown in fig. 6 and 7. Fig. 4 is a code diagram of the Javascript version when configured in an embodiment of the present invention. Fig. 5 is a code diagram of a Javascript version when configured in another embodiment of the invention. Fig. 6 is a code diagram of the configured Javascript version in an embodiment of the present invention. Fig. 7 is a code diagram illustrating a configured Javascript version according to another embodiment of the present invention.
While the code of the Javascript version is shown in fig. 8 and 9 at the time of parsing. Fig. 8 is a code diagram of the Javascript version during parsing according to an embodiment of the present invention. Fig. 9 is a code diagram of the Javascript version during parsing according to another embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal device provided in the present invention. As shown in fig. 3, the terminal device in this embodiment includes: a processor, a memory, and a computer program, such as a software development program, stored in the memory and executable on the processor. When the processor executes the computer program, the steps in each embodiment of the method for implementing synchronous triggering of the data acquisition device by using the WIFI broadcast or multicast message, for example, steps S1 to S3 shown in fig. 1, are implemented. Alternatively, the processor, when executing the computer program, implements the functions of each module/unit in the above-mentioned device embodiments, for example, the functions of the modules shown in fig. 2.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the terminal device. For example, the computer program may be divided into an acquisition module, an execution module, and a generation module (module in a virtual device), and the specific functions of each module are as follows:
the terminal device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The terminal device may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the present embodiment is only an example of a terminal device, and does not constitute a limitation of the terminal device, and may include more or less components, or combine some components, or different components, for example, the terminal device may further include an input/output device, a network access device, a bus, and the like.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may be an internal storage unit of the terminal device, such as a hard disk or a memory of the terminal device. The memory may also be an external storage device of the terminal device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device. Further, the memory may also include both an internal storage unit and an external storage device of the terminal device. The memory is used for storing the computer program and other programs and data required by the terminal device. The memory may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A multilingual resource file parsing method based on service configuration is characterized by comprising the following steps:
s1, configuring the resource file;
s2, generating a multilingual resource file by using the key value pair data with the service in the configuration;
and S3, analyzing the multilingual resource file by adopting a multilingual resource file analysis method to complete the multilingual scene adaptation of the operation interface.
2. The method for parsing a service configuration-based multilingual resource file of claim 1, wherein the step S2 comprises the steps of:
and respectively defining the configured resource files containing the simple key value pairs and the business expansion key values to generate the multi-language resource files.
3. The method for parsing a multi-lingual resource file based on service configuration as claimed in claim 2, wherein the service extension key value pair comprises a general function, an anonymous function and a file-like function;
wherein, corresponding to the general function, the step S2 includes the steps of: traversing a functional expression of the general function;
corresponding to the anonymity function, the step S2 includes the steps of: traversing a functional expression of the anonymous function;
corresponding to the class file function, the step S2 includes the steps of: the class, class file and code file path of key-value pair data are loaded and traversed through reflection technology.
4. The method for parsing a service configuration-based multilingual resource file of claim 1, wherein the step S3 comprises the steps of:
s31, acquiring current language setting;
s32, acquiring the current language resource file in the multilingual resource files;
s33, acquiring a current language resource object traversal device;
s34, traversing the key value pairs in the current language resource file by adopting the object traversing device;
s35, obtaining a value, a target control and business data according to the key value;
and S36, analyzing the multilingual resource file according to the value type, and completing the multilingual scene adaptation of the operation interface.
5. A multilingual resource file parsing system based on service configuration is characterized by comprising:
the configuration module is used for configuring the resource file;
the resource generation module is used for generating a multilingual resource file from the key value pair data with the service in the configuration;
and the analysis module is used for analyzing the multi-language resource file by adopting a multi-language resource file analysis method to complete multi-language scene adaptation of the operation interface.
6. The multi-language resource file parsing system based on service configuration of claim 5, wherein the resource generation module is further configured to define resource files containing simple key value pairs and service extension key values after configuration respectively to generate the multi-language resource file.
7. The multi-lingual resource file parsing system based on business configuration of claim 6, wherein the business extension key-value pair comprises a general function, an anonymous function and a file-like function;
the resource generation module is also used for traversing a function expression of the general function corresponding to the general function;
corresponding to the anonymous function, the resource generation module is also used for traversing a function expression of the anonymous function;
and the resource generation module is also used for loading and traversing the class, the class file and the code file path of the key value pair data through a reflection technology corresponding to the class file function.
8. The multi-lingual resource file parsing system based on business configuration of claim 5, wherein the parsing module comprises:
a language setting acquisition unit for acquiring a current language setting;
a language resource file obtaining unit, configured to obtain a current language resource file in the multilingual resource files;
the traversal device acquisition unit is used for acquiring the traversal device of the current language resource object;
the object traversing device is used for traversing the key value pairs in the current language resource file;
the data acquisition unit is used for acquiring a value, a target control and service data according to the key value;
and the analysis unit is used for analyzing the multi-language resource file according to the value type to complete the multi-language scene adaptation of the operation interface.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201910782647.7A 2019-08-22 2019-08-22 Multi-language resource file analysis method and system based on service configuration Pending CN110647371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910782647.7A CN110647371A (en) 2019-08-22 2019-08-22 Multi-language resource file analysis method and system based on service configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910782647.7A CN110647371A (en) 2019-08-22 2019-08-22 Multi-language resource file analysis method and system based on service configuration

Publications (1)

Publication Number Publication Date
CN110647371A true CN110647371A (en) 2020-01-03

Family

ID=69009650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910782647.7A Pending CN110647371A (en) 2019-08-22 2019-08-22 Multi-language resource file analysis method and system based on service configuration

Country Status (1)

Country Link
CN (1) CN110647371A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522531A (en) * 2020-04-16 2020-08-11 北京奇艺世纪科技有限公司 File checking method and device, electronic equipment and computer readable storage medium
CN113986211A (en) * 2021-10-29 2022-01-28 苏州万店掌网络科技有限公司 Code editor-based method and system for rapid code internationalization

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080010594A1 (en) * 2004-12-02 2008-01-10 Jobst Hoerentrup Method for Generating Multi-Language Menus
CN104714968A (en) * 2013-12-16 2015-06-17 中国银联股份有限公司 Method and device for internationalizing web page
CN105094941A (en) * 2015-09-24 2015-11-25 深圳市捷顺科技实业股份有限公司 Method and device for achieving multiple languages
CN107193545A (en) * 2017-04-07 2017-09-22 广东省科技基础条件平台中心 Multilingual co-development device, the method and system of a kind of component-oriented
CN109582414A (en) * 2018-11-06 2019-04-05 福建天泉教育科技有限公司 Using international method, storage medium
CN109634684A (en) * 2018-12-07 2019-04-16 万兴科技股份有限公司 Method, apparatus, computer equipment and the storage medium of application program load language

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080010594A1 (en) * 2004-12-02 2008-01-10 Jobst Hoerentrup Method for Generating Multi-Language Menus
CN104714968A (en) * 2013-12-16 2015-06-17 中国银联股份有限公司 Method and device for internationalizing web page
CN105094941A (en) * 2015-09-24 2015-11-25 深圳市捷顺科技实业股份有限公司 Method and device for achieving multiple languages
CN107193545A (en) * 2017-04-07 2017-09-22 广东省科技基础条件平台中心 Multilingual co-development device, the method and system of a kind of component-oriented
CN109582414A (en) * 2018-11-06 2019-04-05 福建天泉教育科技有限公司 Using international method, storage medium
CN109634684A (en) * 2018-12-07 2019-04-16 万兴科技股份有限公司 Method, apparatus, computer equipment and the storage medium of application program load language

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522531A (en) * 2020-04-16 2020-08-11 北京奇艺世纪科技有限公司 File checking method and device, electronic equipment and computer readable storage medium
CN111522531B (en) * 2020-04-16 2023-09-05 北京奇艺世纪科技有限公司 File checking method, device, electronic equipment and computer readable storage medium
CN113986211A (en) * 2021-10-29 2022-01-28 苏州万店掌网络科技有限公司 Code editor-based method and system for rapid code internationalization

Similar Documents

Publication Publication Date Title
CN110795195B (en) Webpage rendering method and device, electronic equipment and storage medium
CN107656914B (en) Configurable table generation method and device, terminal equipment and storage medium
CN111079047B (en) Web-oriented page construction system
CN109254818B (en) Pixel-level positioning method and device for different resolutions of browser
CN115712413B (en) Low code development method, device, equipment and storage medium
CN111796823A (en) Method and device for updating page and displaying page and page maintenance system
CN114424257A (en) Automatic rendering and extraction of form data using machine learning
US20160196008A1 (en) Implementing desktops on a mobile terminal
CN110941779B (en) Page loading method and device, storage medium and electronic equipment
CN111368180A (en) Page display method and device and electronic equipment
CN113031946A (en) Method and device for rendering page component
CN111880813B (en) Method for realizing android card UI (user interface) and storage medium
CN110647371A (en) Multi-language resource file analysis method and system based on service configuration
CN115526160A (en) Rich text processing method, device and equipment and storage medium
CN110489119B (en) Method, device and storage medium for displaying query result based on graph database
CN108694043B (en) Page decoration method and system
CN113407254A (en) Form generation method and device, electronic equipment and storage medium
CN110888634B (en) Game floor page generation method, game floor page generation device, computer equipment and storage medium
CN113761871A (en) Rich text rendering method and device, electronic equipment and storage medium
US11126410B2 (en) Method and apparatus for building pages, apparatus and non-volatile computer storage medium
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN113050921A (en) Webpage conversion method, device, storage medium and computer equipment
US20220284371A1 (en) Method, device and medium for a business function page
CN115167941A (en) Front-end component processing method, device, terminal and storage medium
CN114449063A (en) Message processing method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200103