[go: up one dir, main page]

CN108334394B - Multi-language processing method and device for basic data of multi-language software system - Google Patents

Multi-language processing method and device for basic data of multi-language software system Download PDF

Info

Publication number
CN108334394B
CN108334394B CN201810098462.XA CN201810098462A CN108334394B CN 108334394 B CN108334394 B CN 108334394B CN 201810098462 A CN201810098462 A CN 201810098462A CN 108334394 B CN108334394 B CN 108334394B
Authority
CN
China
Prior art keywords
language
basic data
software system
data
version
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.)
Active
Application number
CN201810098462.XA
Other languages
Chinese (zh)
Other versions
CN108334394A (en
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.)
Guangdong Whole Cloud Technology Co ltd
Original Assignee
Guangdong Whole Cloud Technology 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 Guangdong Whole Cloud Technology Co ltd filed Critical Guangdong Whole Cloud Technology Co ltd
Priority to CN201810098462.XA priority Critical patent/CN108334394B/en
Publication of CN108334394A publication Critical patent/CN108334394A/en
Application granted granted Critical
Publication of CN108334394B publication Critical patent/CN108334394B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a multilingual processing method and a device for basic data of a multilingual software system, wherein the method comprises the steps of establishing multiple language version type information which is in one-to-one correspondence with multiple system language versions of the multilingual software system and establishing a corresponding mapping relation; creating a basic data type list according to the basic data types of the multi-language software system; creating basic data of a plurality of language versions corresponding to the language version type information one by one through the basic data type list; and acquiring the basic data of the language version corresponding to the currently used system language version according to the currently used system language version and the mapping relation, and displaying the basic data through the current interface of the multi-language software system. By the method, the basic data can be multi-linguistically processed, so that language barriers of people using different languages and the multi-lingual software system are eliminated, the use of the multi-lingual software system is simplified, and the interface friendliness of the multi-lingual software system is improved.

Description

Multi-language processing method and device for basic data of multi-language software system
Technical Field
The invention relates to the technical field of computers, in particular to a multi-language processing method and device for basic data of a multi-language software system.
Background
In the design and development of the multi-language version of the enterprise management software, different fixed language packages are often used for loading the interface language packages in the multi-language version, but when some basic data which is required to be configured by a customer in a user-defined mode exists in the system, the basic data can only be set into one fixed language basic data, so that language barriers exist for working personnel using different languages facing the basic data of the fixed language, the use of the enterprise management software system is not facilitated, and the interface friendliness of the enterprise management software system is low.
Disclosure of Invention
The invention aims to provide a multilingual processing method and device for basic data of a multilingual software system, which can realize multilingual processing of the basic data, so that language barriers between people using different languages and the multilingual software system are eliminated, the use of the multilingual software system is simplified, and the interface friendliness of the multilingual software system is improved.
In order to solve the above technical problems, an embodiment of the present invention provides a multilingual processing method for basic data of a multilingual software system, including:
creating a plurality of language version type information which is in one-to-one correspondence with a plurality of system language versions of a multi-language software system, and storing the plurality of language version type information in a preset multi-language version type library;
establishing a mapping relation between the language version type information and the system language versions;
creating a basic data type list according to the basic data types of the multi-language software system, and storing the basic data type list in a preset basic data type base, wherein the list data of the basic data type list comprises: basic data type, whether multi-language version exists, whether multi-level version exists and setting;
creating basic data of a plurality of language versions corresponding to the language version type information one by one through the basic data type list;
acquiring basic data of a language version corresponding to the system language version currently used by the multi-language software system according to the system language version currently used by the multi-language software system and the mapping relation;
and pushing basic data of the language version corresponding to the system language version currently used by the multi-language software system to a current interface of the multi-language software system.
Preferably, the creating multiple language version type information corresponding to multiple system language versions of the multi-language software system, and storing the multiple language version type information in a preset multi-language version type library specifically includes:
creating a plurality of language version type information corresponding to a plurality of system language versions of a multi-lingual software system;
checking whether a language data packet corresponding to a language identifier in any one of the language version type information exists in the multi-language software system;
when a language data packet corresponding to a language identifier in any one language version type information exists in the multi-language software system, determining to create any one language version type information, and storing any one language version type information in a preset multi-language version type library;
and when the language data packet corresponding to the language identifier in any language version type information does not exist in the multi-language software system, creating the any language version type information in a failure mode, and generating creating failure notification information to notify a user that the creating of the any language version type information in the failure mode.
Preferably, the multilingual processing method for the basic data of the multilingual software system further includes:
and when the basic data type list is successfully created, generating a basic data type ID of the basic data type list according to an incremental numbering rule.
Preferably, the creating, through the basic data type list, basic data of multiple language versions corresponding to the multiple language version type information one to one specifically includes:
responding to a list data setting request input by a user, and acquiring to-be-set list data from the basic data type list;
in response to a basic data type setting request input by a user, according to a basic data type of the to-be-set list data, creating a basic data list corresponding to a basic data type ID of the basic data type list one by one, wherein the list data of the basic data list comprises: basic data ID, name, language version, data value, lower level settings;
creating basic data of a plurality of language versions corresponding to the type information of the plurality of language versions one to one according to the basic data list;
checking whether basic data which is duplicated with a data value or a name of basic data of any language version exists in the multi-language software system;
when basic data which is repeated with the data value or the name of the basic data of any language version does not exist in the multi-language software system, determining to create the basic data of any language version, and storing the basic data of any language version in a preset multi-language basic database;
and when the basic data which is duplicated with the data value or the name of the basic data of any language version exists in the multi-language software system, determining that the basic data of any language version is failed to be established.
Preferably, the multilingual processing method for the basic data of the multilingual software system further includes:
and when the basic data of the plurality of language versions are successfully created, respectively generating basic data IDs of the basic data of the plurality of language versions according to an increasing numbering rule.
The embodiment of the invention also provides a multi-language processing device of the basic data of the multi-language software system, which comprises the following components:
the multi-language version type information creating module is used for creating a plurality of language version type information which is in one-to-one correspondence with a plurality of system language versions of the multi-language software system and storing the plurality of language version type information in a preset multi-language version type library;
the mapping establishing module is used for establishing the mapping relation between the language version type information and the system language versions;
a basic data type list creating module, configured to create a basic data type list according to the basic data types of the multi-language software system, and store the basic data type list in a preset basic data type library, where list data of the basic data type list includes: basic data type, whether multi-language version exists, whether multi-level version exists and setting;
the basic data creating module is used for creating basic data of a plurality of language versions corresponding to the language version type information one by one through the basic data type list;
a basic data acquisition module, configured to acquire basic data of a language version corresponding to a system language version currently used by the multi-language software system according to the system language version currently used by the multi-language software system and the mapping relationship;
and the basic data display module is used for pushing the basic data of the language version corresponding to the system language version currently used by the multi-language software system to the current interface of the multi-language software system.
Preferably, the multilingual version-type information creating module includes:
an information creating unit for creating a plurality of language version type information corresponding to a plurality of system language versions of the multilingual software system;
a first detecting unit, configured to check whether a language data packet corresponding to a language identifier in any one of the language version type information exists in the multi-language software system;
the information creating unit is used for determining to create any one language version type information when a language data packet corresponding to a language identifier in any one language version type information exists in the multi-language software system, and storing the any one language version type information in a preset multi-language version type library;
and the prompt unit is used for failing to create any one language version type information when no language data packet corresponding to the language identifier in any one language version type information exists in the multi-language software system, and generating a creating failure notification message to notify a user that any one language version type information fails to be created.
Preferably, the multilingual processing apparatus based on the multilingual software system further includes:
and the basic data type ID generating module is used for generating the basic data type ID of the basic data type list according to an increment numbering rule when the basic data type list is successfully created.
Preferably, the basic data creating module includes:
the list data acquisition unit is used for responding to a list data setting request input by a user and acquiring list data to be set from the basic data type list;
a basic data list creating unit, configured to create, in response to a basic data type setting request input by a user, a basic data list in one-to-one correspondence with basic data type IDs of the basic data type list according to basic data types of the to-be-set list data, where list data of the basic data list includes: basic data ID, name, language version, data value, lower level settings;
a basic data creating unit, configured to create basic data of multiple language versions corresponding to the multiple language version type information one to one according to the basic data list;
a second detecting unit for checking whether basic data duplicated to a data value or a name of basic data of any one language version exists in the multilingual software system;
the basic data creating unit is used for determining to create the basic data of any language version when the basic data which is repeated with the data value or the name of the basic data of any language version does not exist in the multi-language software system, and storing the basic data of any language version in a preset multi-language version basic database;
the basic data creating unit is used for determining that the basic data of any language version is failed to be created when the basic data which is duplicated with the data value or the name of the basic data of any language version exists in the multi-language software system.
The embodiment of the invention also provides a multi-language processing device of the basic data of the multi-language software system, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor realizes the multi-language processing method of the basic data of the multi-language software system when executing the computer program.
Compared with the prior art, the multilingual processing method for the basic data of the multilingual software system provided by the embodiment of the invention has the beneficial effects that: the multi-language processing method of the basic data of the multi-language software system comprises the following steps: creating a plurality of language version type information which is in one-to-one correspondence with a plurality of system language versions of a multi-language software system, and storing the plurality of language version type information in a preset multi-language version type library; establishing a mapping relation between the language version type information and the system language versions; creating a basic data type list according to the basic data types of the multi-language software system, and storing the basic data type list in a preset basic data type base, wherein the list data of the basic data type list comprises: basic data type, whether multi-language version exists, whether multi-level version exists and setting; creating basic data of a plurality of language versions corresponding to the language version type information one by one through the basic data type list; acquiring basic data of a language version corresponding to the system language version currently used by the multi-language software system according to the system language version currently used by the multi-language software system and the mapping relation; and pushing basic data of the language version corresponding to the system language version currently used by the multi-language software system to a current interface of the multi-language software system. By the method, the basic data can be multi-linguistically processed, so that language barriers of people using different languages and the multi-lingual software system are eliminated, the use of the multi-lingual software system is simplified, and the interface friendliness of the multi-lingual software system is improved. The embodiment of the invention also provides a multi-language processing device of the basic data of the multi-language software system.
Drawings
FIG. 1 is a flow chart of a multilingual processing method for basic data of a multilingual software system according to an embodiment of the present invention;
FIG. 2 is a diagram of a multi-language processing device for multi-language software system basic data according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Please refer to fig. 1, which is a flowchart illustrating a multi-language processing method for basic data of a multi-language software system according to an embodiment of the present invention, the multi-language processing method for basic data of a multi-language software system includes:
s100: creating a plurality of language version type information which is in one-to-one correspondence with a plurality of system language versions of a multi-language software system, and storing the plurality of language version type information in a preset multi-language version type library;
s200: establishing a mapping relation between the language version type information and the system language versions;
the mapping relationship may be implemented by establishing a database index.
S300: creating a basic data type list according to the basic data types of the multi-language software system, and storing the basic data type list in a preset basic data type base, wherein the list data of the basic data type list comprises: basic data type, whether multi-language version exists, whether multi-level version exists and setting;
s400: creating basic data of a plurality of language versions corresponding to the language version type information one by one through the basic data type list;
s500: acquiring basic data of a language version corresponding to the system language version currently used by the multi-language software system according to the system language version currently used by the multi-language software system and the mapping relation;
s600: and pushing basic data of the language version corresponding to the system language version currently used by the multi-language software system to a current interface of the multi-language software system.
In an alternative embodiment, S100: creating multiple language version type information corresponding to multiple system language versions of a multi-language software system, and storing the multiple language version type information in a preset multi-language version type library, specifically comprising:
creating a plurality of language version type information corresponding to a plurality of system language versions of a multi-lingual software system;
checking whether a language data packet corresponding to a language identifier in any one of the language version type information exists in the multi-language software system;
when a language data packet corresponding to a language identifier in any one language version type information exists in the multi-language software system, determining to create any one language version type information, and storing any one language version type information in a preset multi-language version type library;
and when the language data packet corresponding to the language identifier in any language version type information does not exist in the multi-language software system, creating the any language version type information in a failure mode, and generating creating failure notification information to notify a user that the creating of the any language version type information in the failure mode.
For example, creating "japanese" language version type information, wherein the unique identifier of the japanese language data packet is "JP", checking whether the japanese language data packet exists in the multilingual software system, and specifically, identifying by detecting the unique identifier of the language data packet; when the language data packet does not exist in the multi-language software system, creating the language version type information of the 'Japanese' language is failed, and creating failure notification information of the 'language version type information does not find the corresponding language data packet' is generated; and when the Japanese language data packet exists in the multi-language software system, successfully creating the Japanese language version type information, and storing the Japanese language version type information in a preset basic database.
In an optional embodiment, the multilingual processing method further includes:
and when the basic data type list is successfully created, generating a basic data type ID of the basic data type list according to an incremental numbering rule.
In an alternative embodiment, S400: creating, by the basic data type list, basic data of the multiple language versions corresponding to the multiple language version type information one to one, specifically including:
responding to a list data setting request input by a user, and acquiring to-be-set list data from the basic data type list;
in response to a basic data type setting request input by a user, according to a basic data type of the to-be-set list data, creating a basic data list corresponding to a basic data type ID of the basic data type list one by one, wherein the list data of the basic data list comprises: basic data ID, name, language version, data value, lower level settings;
creating basic data of a plurality of language versions corresponding to the type information of the plurality of language versions one to one according to the basic data list;
checking whether basic data which is duplicated with a data value or a name of basic data of any language version exists in the multi-language software system;
when basic data which is repeated with the data value or the name of the basic data of any language version does not exist in the multi-language software system, determining to create the basic data of any language version, and storing the basic data of any language version in a preset multi-language basic database;
and when the basic data which is duplicated with the data value or the name of the basic data of any language version exists in the multi-language software system, determining that the basic data of any language version is failed to be established.
In an optional embodiment, the multilingual processing method further includes:
and when the basic data of the plurality of language versions are successfully created, respectively generating basic data IDs of the basic data of the plurality of language versions according to an increasing numbering rule.
In step S300, for example, an industry base data type table is created: the basic data type is industry, and the multi-language and multi-level management are supported; checking whether the preset basic data type base has an industry basic data type table or not, and when the industry basic data type table exists in the preset basic data type base, failing to establish the current industry basic data type table; and when the preset basic data type base does not have an industry basic data type table, determining to create a current industry basic data type table, automatically generating a basic data type ID according to an incremental numbering rule, and storing the industry basic data type table containing the basic data type ID in the preset basic data type base.
In step S400, by clicking a virtual setting button corresponding to a basic data type whose basic data type is an industry basic data type in the basic data type list, individual setting of the basic data type is performed, and an industry basic data list corresponding to a basic data type ID whose basic data type is an industry basic data type is created, where the industry basic data list includes: the basic data ID, name, language version, data value, and lower level setting may be set, for example, to add, modify, or delete the list data, and store the industry basic data list in a preset basic data list library. Creating basic data of a plurality of language versions corresponding to the type information of the plurality of language versions one to one according to the basic data list; checking whether basic data which is duplicated with a data value or a name of basic data of any language version exists in the multi-language software system; when basic data which is repeated with the data value or the name of the basic data of any language version exists in the multi-language software system, the creation of any language version type information fails; and when the basic data which is repeated with the data value or the name of the basic data of any language version does not exist in the multi-language software system, determining to create the basic data of any language version, and storing the basic data of any language version in a preset multi-language basic database.
In steps S500 and S600, according to the system language version currently used by the multi-language software system, the basic data of the language version corresponding to the system language version currently used by the multi-language software system is obtained according to the system language version currently used by the multi-language software system and the mapping relationship, the basic data of the corresponding language version is displayed through the user interface, and the language identifier of the system language version currently used is stored in the system variable, so that the basic data of different language versions can be selected to be switched when the user interface is displayed. For example, when the language version currently used by the multi-language software system is 'japanese', after login is successful, basic data of the japanese version is automatically loaded, and simultaneously, japanese language identifiers are stored in system variables, so that the basic data of different language versions can be selected to be switched when a system interface is displayed.
Please refer to fig. 2, which is a diagram illustrating a multi-language processing apparatus for providing basic data of a multi-language software system according to an embodiment of the present invention; the multi-language processing device of the basic data of the language software system comprises:
a multilingual version type information creating module 1 for creating multiple language version type information corresponding to multiple system language versions of a multilingual software system one by one and storing the multiple language version type information in a preset multilingual version type library;
the mapping establishing module 2 is used for establishing the mapping relation between the multiple language version type information and the multiple system language versions; the mapping relationship may be implemented by establishing a database index.
A basic data type list creating module 3, configured to create a basic data type list according to the basic data types of the multi-language software system, and store the basic data type list in a preset basic data type library, where the list data of the basic data type list includes: basic data type, whether multi-language version exists, whether multi-level version exists and setting;
a basic data creating module 4, configured to create, through the basic data type list, basic data of multiple language versions corresponding to the multiple language version type information one to one;
a basic data obtaining module 5, configured to obtain, according to the system language version currently used by the multi-language software system and the mapping relationship, basic data of a language version corresponding to the system language version currently used by the multi-language software system;
and the basic data display module 6 is used for pushing the basic data of the language version corresponding to the system language version currently used by the multi-language software system to the current interface of the multi-language software system.
In an alternative embodiment, the multilingual version-type information creating module includes:
an information creating unit for creating a plurality of languages corresponding to a plurality of system language versions of a multi-language software system
Individual language version type information;
a first detecting unit, configured to check whether a language data packet corresponding to a language identifier in any one of the language version type information exists in the multi-language software system;
the information creating unit is used for determining to create any one language version type information when a language data packet corresponding to a language identifier in any one language version type information exists in the multi-language software system, and storing the any one language version type information in a preset multi-language version type library;
and the prompt unit is used for failing to create any one language version type information when no language data packet corresponding to the language identifier in any one language version type information exists in the multi-language software system, and generating a creating failure notification message to notify a user that any one language version type information fails to be created.
For example, creating "japanese" language version type information, wherein the unique identifier of the japanese language data packet is "JP", checking whether the japanese language data packet exists in the multilingual software system, and specifically, identifying by detecting the unique identifier of the language data packet; when the language data packet does not exist in the multi-language software system, creating the language version type information of the 'Japanese' language is failed, and creating failure notification information of the 'language version type information does not find the corresponding language data packet' is generated; and when the Japanese language data packet exists in the multi-language software system, successfully creating the Japanese language version type information, and storing the Japanese language version type information in a preset basic database.
In an optional embodiment, the multilingual software system based data multilingual processing apparatus further includes:
and the basic data type ID generating module is used for generating the basic data type ID of the basic data type list according to an increment numbering rule when the basic data type list is successfully created.
In an alternative embodiment, the basic data creating module comprises:
the list data acquisition unit is used for responding to a list data setting request input by a user and acquiring list data to be set from the basic data type list;
a basic data list creating unit, configured to create, in response to a basic data type setting request input by a user, a basic data list in one-to-one correspondence with basic data type IDs of the basic data type list according to basic data types of the to-be-set list data, where list data of the basic data list includes: basic data ID, name, language version, data value, lower level settings;
a basic data creating unit, configured to create basic data of multiple language versions corresponding to the multiple language version type information one to one according to the basic data list;
a second detecting unit for checking whether basic data duplicated to a data value or a name of basic data of any one language version exists in the multilingual software system;
the basic data creating unit is used for determining to create the basic data of any language version when the basic data which is repeated with the data value or the name of the basic data of any language version does not exist in the multi-language software system, and storing the basic data of any language version in a preset multi-language version basic database;
the basic data creating unit is used for determining that the basic data of any language version is failed to be created when the basic data which is duplicated with the data value or the name of the basic data of any language version exists in the multi-language software system.
In an optional embodiment, the multilingual software system based data multilingual processing apparatus further includes:
and the basic data ID generating module is used for respectively generating the basic data IDs of the basic data of the language versions according to the increasing numbering rule when the basic data of the language versions are successfully created.
The basic data type list creation module works according to the following principle: for example, create an industry base data type table: the basic data type is industry, and the multi-language and multi-level management are supported; checking whether the preset basic data type base has an industry basic data type table or not, and when the industry basic data type table exists in the preset basic data type base, failing to establish the current industry basic data type table; and when the preset basic data type base does not have an industry basic data type table, determining to create a current industry basic data type table, automatically generating a basic data type ID according to an incremental numbering rule, and storing the industry basic data type table containing the basic data type ID in the preset basic data type base.
The basic data creating module works according to the following principle: the method comprises the following steps of clicking a virtual setting button corresponding to a basic data type with an industry basic data type as a basic data type in the basic data type list to independently set the basic data type, and creating an industry basic data list corresponding to a basic data type ID with the industry basic data type as the basic data type, wherein the industry basic data list comprises: the basic data ID, name, language version, data value, and lower level setting may be set, for example, to add, modify, or delete the list data, and store the industry basic data list in a preset basic data list library. Creating basic data of a plurality of language versions corresponding to the type information of the plurality of language versions one to one according to the basic data list; checking whether basic data which is duplicated with a data value or a name of basic data of any language version exists in the multi-language software system; when basic data which is repeated with the data value or the name of the basic data of any language version exists in the multi-language software system, the creation of any language version type information fails; and when the basic data which is repeated with the data value or the name of the basic data of any language version does not exist in the multi-language software system, determining to create the basic data of any language version, and storing the basic data of any language version in a preset multi-language basic database.
The basic data acquisition module and the basic data display module work according to the following principles: and acquiring the basic data of the language version corresponding to the system language version currently used by the multi-language software system according to the system language version currently used by the multi-language software system and the mapping relation, displaying the basic data of the corresponding language version through a user interface, and storing the language identifier of the system language version currently used in a system variable so that the basic data of different language versions can be selected and switched when the user interface is displayed. For example, when the language version currently used by the multi-language software system is 'japanese', after login is successful, basic data of the japanese version is automatically loaded, and simultaneously, japanese language identifiers are stored in system variables, so that the basic data of different language versions can be selected to be switched when a system interface is displayed.
The embodiment of the invention also provides a multi-language processing device of the basic data of the multi-language software system, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor realizes the multi-language processing method of the basic data of the multi-language software system when executing the computer program.
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 multi-language processing device of the multi-language software system basic data. For example, the computer program may be divided into a multilingual version type information creating module for creating a plurality of language version type information corresponding to a plurality of system language versions of a multilingual software system one-to-one, and storing the plurality of language version type information in a preset multilingual version type library; the mapping establishing module is used for establishing the mapping relation between the language version type information and the system language versions; a basic data type list creating module, configured to create a basic data type list according to the basic data types of the multi-language software system, and store the basic data type list in a preset basic data type library, where list data of the basic data type list includes: basic data type, whether multi-language version exists, whether multi-level version exists and setting; the basic data creating module is used for creating basic data of a plurality of language versions corresponding to the language version type information one by one through the basic data type list; a basic data acquisition module, configured to acquire basic data of a language version corresponding to a system language version currently used by the multi-language software system according to the system language version currently used by the multi-language software system and the mapping relationship; and the basic data display module is used for pushing the basic data of the language version corresponding to the system language version currently used by the multi-language software system to the current interface of the multi-language software system.
The multi-language processing device of the basic data of the multi-language software system can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The multi-language processing device of the multi-language software system base data can include, but is not limited to, a processor, a memory. It will be understood by those skilled in the art that the schematic diagram is merely an example of a multi-language processing apparatus of multi-language software system basic data, and does not constitute a limitation of the multi-language processing apparatus of multi-language software system basic data, and may include more or less components than those shown, or some components in combination, or different components, for example, the multi-language processing apparatus of multi-language software system basic data may further include input and output devices, network access devices, buses, 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. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, said processor being the control centre of the multilingual software system base data multilingual processing apparatus, which is connected to the various parts of the multilingual software system base data multilingual processing apparatus by means of various interfaces and lines.
The memory may be used to store the computer programs and/or modules, and the processor may implement the various functions of the multilingual software system-based multilingual processing apparatus by executing or executing the computer programs and/or modules stored in the memory, and calling the data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein the module/unit integrated with the multi-language processing device of the multi-language software system basic data can be stored in a computer readable storage medium if it is implemented in the form of software functional unit and sold or used as an independent product. 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 appropriately increased or decreased as required by legislation and patent practice in the jurisdiction, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals
Compared with the prior art, the multilingual processing method for the basic data of the multilingual software system provided by the embodiment of the invention has the beneficial effects that: the multi-language processing method of the basic data of the multi-language software system comprises the following steps: creating a plurality of language version type information which is in one-to-one correspondence with a plurality of system language versions of a multi-language software system, and storing the plurality of language version type information in a preset multi-language version type library; establishing a mapping relation between the language version type information and the system language versions; creating a basic data type list according to the basic data types of the multi-language software system, and storing the basic data type list in a preset basic data type base, wherein the list data of the basic data type list comprises: basic data type, whether multi-language version exists, whether multi-level version exists and setting; creating basic data of a plurality of language versions corresponding to the language version type information one by one through the basic data type list; acquiring basic data of a language version corresponding to the system language version currently used by the multi-language software system according to the system language version currently used by the multi-language software system and the mapping relation; and pushing basic data of the language version corresponding to the system language version currently used by the multi-language software system to a current interface of the multi-language software system. By the method, the basic data can be multi-linguistically processed, so that language barriers of people using different languages and the multi-lingual software system are eliminated, the use of the multi-lingual software system is simplified, and the interface friendliness of the multi-lingual software system is improved. The embodiment of the invention also provides a multi-language processing device of the basic data of the multi-language software system.
The foregoing is a preferred embodiment of the present invention, and it should be noted that it would be apparent to those skilled in the art that various modifications and enhancements can be made without departing from the principles of the invention, and such modifications and enhancements are also considered to be within the scope of the invention.

Claims (10)

1. A multi-language processing method of basic data of a multi-language software system is characterized by comprising the following steps:
creating a plurality of language version type information which is in one-to-one correspondence with a plurality of system language versions of a multi-language software system, and storing the plurality of language version type information in a preset multi-language version type library;
establishing a mapping relation between the language version type information and the system language versions;
creating a basic data type list according to the basic data types of the multi-language software system, and storing the basic data type list in a preset basic data type base, wherein the list data of the basic data type list comprises: basic data type, whether multi-language version exists, whether multi-level version exists and setting;
creating basic data of a plurality of language versions corresponding to the language version type information one by one through the basic data type list;
acquiring basic data of a language version corresponding to the system language version currently used by the multi-language software system according to the system language version currently used by the multi-language software system and the mapping relation;
and pushing basic data of the language version corresponding to the system language version currently used by the multi-language software system to a current interface of the multi-language software system.
2. The method for multilingual processing of basic data in a multilingual software system according to claim 1, wherein the creating of information on the types of language versions corresponding to the system language versions of the multilingual software system and the storing of the information on the types of language versions in a predetermined multilingual version type library specifically comprises:
creating a plurality of language version type information corresponding to a plurality of system language versions of a multi-lingual software system;
checking whether a language data packet corresponding to a language identifier in any one of the language version type information exists in the multi-language software system;
when a language data packet corresponding to a language identifier in any one language version type information exists in the multi-language software system, determining to create any one language version type information, and storing any one language version type information in a preset multi-language version type library;
and when the language data packet corresponding to the language identifier in any language version type information does not exist in the multi-language software system, creating the any language version type information in a failure mode, and generating creating failure notification information to notify a user that the creating of the any language version type information in the failure mode.
3. The multilingual software system-based data processing method of claim 1, wherein the multilingual software system-based data processing method further comprises:
and when the basic data type list is successfully created, generating a basic data type ID of the basic data type list according to an incremental numbering rule.
4. The multilingual software system base data multilingual processing method according to claim 3, wherein the creating the base data of the plurality of language versions corresponding to the information of the plurality of language version types one by one from the base data type list comprises:
responding to a list data setting request input by a user, and acquiring to-be-set list data from the basic data type list;
in response to a basic data type setting request input by a user, according to a basic data type of the to-be-set list data, creating a basic data list corresponding to a basic data type ID of the basic data type list one by one, wherein the list data of the basic data list comprises: basic data ID, name, language version, data value, lower level settings;
creating basic data of a plurality of language versions corresponding to the type information of the plurality of language versions one to one according to the basic data list;
checking whether basic data which is duplicated with a data value or a name of basic data of any language version exists in the multi-language software system;
when basic data which is repeated with the data value or the name of the basic data of any language version does not exist in the multi-language software system, determining to create the basic data of any language version, and storing the basic data of any language version in a preset multi-language basic database;
and when the basic data which is duplicated with the data value or the name of the basic data of any language version exists in the multi-language software system, determining that the basic data of any language version is failed to be established.
5. The multilingual software system-based data processing method of claim 4, wherein the multilingual software system-based data processing method further comprises:
and when the basic data of the plurality of language versions are successfully created, respectively generating basic data IDs of the basic data of the plurality of language versions according to an increasing numbering rule.
6. A multilingual processing apparatus for multilingual software system-based data, comprising:
the multi-language version type information creating module is used for creating a plurality of language version type information which is in one-to-one correspondence with a plurality of system language versions of the multi-language software system and storing the plurality of language version type information in a preset multi-language version type library;
the mapping establishing module is used for establishing the mapping relation between the language version type information and the system language versions;
a basic data type list creating module, configured to create a basic data type list according to the basic data types of the multi-language software system, and store the basic data type list in a preset basic data type library, where list data of the basic data type list includes: basic data type, whether multi-language version exists, whether multi-level version exists and setting;
the basic data creating module is used for creating basic data of a plurality of language versions corresponding to the language version type information one by one through the basic data type list;
a basic data acquisition module, configured to acquire basic data of a language version corresponding to a system language version currently used by the multi-language software system according to the system language version currently used by the multi-language software system and the mapping relationship;
and the basic data display module is used for pushing the basic data of the language version corresponding to the system language version currently used by the multi-language software system to the current interface of the multi-language software system.
7. The multilingual software system-based-data multilingual processing apparatus of claim 6, wherein the multilingual version-type-information creating module comprises:
an information creating unit for creating a plurality of language version type information corresponding to a plurality of system language versions of the multilingual software system;
a first detecting unit, configured to check whether a language data packet corresponding to a language identifier in any one of the language version type information exists in the multi-language software system;
the information creating unit is used for determining to create any one language version type information when a language data packet corresponding to a language identifier in any one language version type information exists in the multi-language software system, and storing the any one language version type information in a preset multi-language version type library;
and the prompt unit is used for failing to create any one language version type information when no language data packet corresponding to the language identifier in any one language version type information exists in the multi-language software system, and generating a creating failure notification message to notify a user that any one language version type information fails to be created.
8. The multi-language processing apparatus of multi-language software system infrastructure data of claim 6, wherein the multi-language processing apparatus of multi-language software system infrastructure data further comprises:
and the basic data type ID generating module is used for generating the basic data type ID of the basic data type list according to an increment numbering rule when the basic data type list is successfully created.
9. The multilingual software system based on data processing apparatus of claim 8, wherein said base data creating module comprises:
the list data acquisition unit is used for responding to a list data setting request input by a user and acquiring list data to be set from the basic data type list;
a basic data list creating unit, configured to create, in response to a basic data type setting request input by a user, a basic data list in one-to-one correspondence with basic data type IDs of the basic data type list according to basic data types of the to-be-set list data, where list data of the basic data list includes: basic data ID, name, language version, data value, lower level settings;
a basic data creating unit, configured to create basic data of multiple language versions corresponding to the multiple language version type information one to one according to the basic data list;
a second detecting unit for checking whether basic data duplicated to a data value or a name of basic data of any one language version exists in the multilingual software system;
the basic data creating unit is used for determining to create the basic data of any language version when the basic data which is repeated with the data value or the name of the basic data of any language version does not exist in the multi-language software system, and storing the basic data of any language version in a preset multi-language version basic database;
the basic data creating unit is used for determining that the basic data of any language version is failed to be created when the basic data which is duplicated with the data value or the name of the basic data of any language version exists in the multi-language software system.
10. A multi-language processing apparatus of multi-language software system infrastructure data, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the multi-language processing method of multi-language software system infrastructure data according to any one of claims 1 to 5 when executing the computer program.
CN201810098462.XA 2018-01-31 2018-01-31 Multi-language processing method and device for basic data of multi-language software system Active CN108334394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810098462.XA CN108334394B (en) 2018-01-31 2018-01-31 Multi-language processing method and device for basic data of multi-language software system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810098462.XA CN108334394B (en) 2018-01-31 2018-01-31 Multi-language processing method and device for basic data of multi-language software system

Publications (2)

Publication Number Publication Date
CN108334394A CN108334394A (en) 2018-07-27
CN108334394B true CN108334394B (en) 2020-12-04

Family

ID=62926823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810098462.XA Active CN108334394B (en) 2018-01-31 2018-01-31 Multi-language processing method and device for basic data of multi-language software system

Country Status (1)

Country Link
CN (1) CN108334394B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342329A (en) * 2021-05-31 2021-09-03 北京顶象技术有限公司 Multi-language fusion modeling system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6425123B1 (en) * 1999-06-29 2002-07-23 International Business Machines Corporation System, method, and program for testing translatability of software by using english multi-byte transliteration creating double-wide characters
CN1975668A (en) * 2006-12-31 2007-06-06 金蝶软件(中国)有限公司 System for supporting multi-language and method for inputting and reading multi-language data
CN103309646A (en) * 2012-03-07 2013-09-18 腾讯科技(深圳)有限公司 Method and device for localizing software
CN103544306A (en) * 2013-11-01 2014-01-29 广东威创视讯科技股份有限公司 Multi-language display supporting method and device of website
CN103886069A (en) * 2014-03-21 2014-06-25 福建星网视易信息系统有限公司 Software multi-language version real-time switching method and software multi-language version real-time switching system
CN105094941A (en) * 2015-09-24 2015-11-25 深圳市捷顺科技实业股份有限公司 Method and device for achieving multiple languages
CN105786843A (en) * 2014-12-22 2016-07-20 华为软件技术有限公司 Multi-language implementation method for applications and multi-language information query method and device
CN106406887A (en) * 2016-09-21 2017-02-15 郑州云海信息技术有限公司 A web software development method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020165885A1 (en) * 2001-05-03 2002-11-07 International Business Machines Corporation Method and system for verifying translation of localized messages for an internationalized application
US9552213B2 (en) * 2011-05-16 2017-01-24 D2L Corporation Systems and methods for facilitating software interface localization between multiple languages
US9026994B2 (en) * 2013-03-07 2015-05-05 Microsoft Technology Licensing, Llc Cloud-based localization platform

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6425123B1 (en) * 1999-06-29 2002-07-23 International Business Machines Corporation System, method, and program for testing translatability of software by using english multi-byte transliteration creating double-wide characters
CN1975668A (en) * 2006-12-31 2007-06-06 金蝶软件(中国)有限公司 System for supporting multi-language and method for inputting and reading multi-language data
CN103309646A (en) * 2012-03-07 2013-09-18 腾讯科技(深圳)有限公司 Method and device for localizing software
CN103544306A (en) * 2013-11-01 2014-01-29 广东威创视讯科技股份有限公司 Multi-language display supporting method and device of website
CN103886069A (en) * 2014-03-21 2014-06-25 福建星网视易信息系统有限公司 Software multi-language version real-time switching method and software multi-language version real-time switching system
CN105786843A (en) * 2014-12-22 2016-07-20 华为软件技术有限公司 Multi-language implementation method for applications and multi-language information query method and device
CN105094941A (en) * 2015-09-24 2015-11-25 深圳市捷顺科技实业股份有限公司 Method and device for achieving multiple languages
CN106406887A (en) * 2016-09-21 2017-02-15 郑州云海信息技术有限公司 A web software development method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
《Software internationalisation and localisation》;A. Yeo;《Proceedings Sixth Australian Conference on Computer-Human Interaction》;20020806;全文 *
《WEB国际化通用框架研究及在大冬会系统中的应用》;齐白钰;《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》;20090615;第2009年卷(第6期);第I138-504页 *
《基于JSF的国际化框架的设计与实现》;胡泊;《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》;20110315;第2011年卷(第3期);第I138-338页 *

Also Published As

Publication number Publication date
CN108334394A (en) 2018-07-27

Similar Documents

Publication Publication Date Title
WO2021184725A1 (en) User interface test method and apparatus, storage medium, and computer device
CN108427649B (en) Access management method, terminal device, system and storage medium of USB interface
CN107451112B (en) Form tool data checking method, device, terminal equipment and storage medium
CN111399840A (en) Module development method and device
CN110083526A (en) Applied program testing method, device, computer installation and storage medium
CN108170465A (en) A kind of version information management method, electronic equipment and readable storage medium storing program for executing
CN110750440A (en) Data testing method and terminal equipment
CN113312900A (en) Data verification method and device
CN108520063B (en) Event log processing method and device and terminal equipment
CN111367531B (en) Code processing method and device
CN110147350A (en) File search method, device, electronic equipment and storage medium
CN111435326B (en) Method and device for analyzing crash log
CN108334394B (en) Multi-language processing method and device for basic data of multi-language software system
CN110888972A (en) Sensitive content identification method and device based on Spark Streaming
CN107272989A (en) Using startup method, device and terminal device
CN112733510A (en) Financial certificate generation method, device, equipment and computer readable storage medium
CN111460273B (en) Information pushing method and device
CN111488286A (en) Method and device for independently developing Android module
CN115543936A (en) Method, device, equipment and storage medium for batch construction of model files
CN112947907A (en) Method for creating code branch
CN114879985B (en) Method, device, equipment and storage medium for installing certificate file
CN113934453B (en) Risk detection method, risk detection device and storage medium
CN112199428B (en) Application management system, method and terminal equipment of functional data block
CN112306716B (en) Message reminder method and related equipment
CN115757174A (en) Database difference detection method and device

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
CB02 Change of applicant information

Address after: 510000 room 612, Dongfeng East Road, Yuexiu District, Guangzhou, Guangdong, 612

Applicant after: Guangdong whole cloud Technology Co.,Ltd.

Address before: 510000 room 612, Dongfeng East Road, Yuexiu District, Guangzhou, Guangdong, 612

Applicant before: GUANGZHOU TRANSENSE SOFTWARE TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510000 room 2401-03, 24th floor, no.102-2, Xianlie Middle Road, Yuexiu District, Guangzhou City, Guangdong Province

Applicant after: Guangdong whole cloud Technology Co.,Ltd.

Address before: 510000 room 612, Dongfeng East Road, Yuexiu District, Guangzhou, Guangdong, 612

Applicant before: Guangdong whole cloud Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant