CN111857906B - Text display method, device and system of terminal and storage medium - Google Patents

Text display method, device and system of terminal and storage medium Download PDF

Info

Publication number
CN111857906B
CN111857906B CN202010493782.2A CN202010493782A CN111857906B CN 111857906 B CN111857906 B CN 111857906B CN 202010493782 A CN202010493782 A CN 202010493782A CN 111857906 B CN111857906 B CN 111857906B
Authority
CN
China
Prior art keywords
language
converted
data
terminal
conversion
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
CN202010493782.2A
Other languages
Chinese (zh)
Other versions
CN111857906A (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.)
Beijing Kuangshi Technology Co Ltd
Original Assignee
Beijing Kuangshi 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 Beijing Kuangshi Technology Co Ltd filed Critical Beijing Kuangshi Technology Co Ltd
Priority to CN202010493782.2A priority Critical patent/CN111857906B/en
Priority to PCT/CN2020/119739 priority patent/WO2021243916A1/en
Publication of CN111857906A publication Critical patent/CN111857906A/en
Application granted granted Critical
Publication of CN111857906B publication Critical patent/CN111857906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation

Abstract

The application relates to a text display method, a text display device, a text display system and a storage medium of a terminal. The method comprises the following steps: acquiring data to be converted and a target conversion language corresponding to the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of the language to be converted of the text content, and the target conversion language comprises at least one; distributing the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language; receiving converted data obtained after language conversion is carried out on data to be converted according to a target conversion language and a language packet corresponding to the target conversion language; the converted data and the language package are transmitted to the language package management device so that the language package management device distributes the converted data and the language package to each terminal for display. By adopting the method, the display of the terminal can be richer.

Description

Text display method, device and system of terminal and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, and a storage medium for displaying a text on a terminal.
Background
In a traffic system, corresponding text information is usually required to be displayed for guests, and in international software, pages are usually required to display different languages according to needs.
In the conventional international traffic system, the display of different languages is usually performed based on a front-end web page. The method specifically comprises the steps that a front-end developer extracts text information in a page, extracts the text as a variable, replaces the original text with the variable, then stores the variable and the corresponding text information into a resource file, and loads the corresponding resource file to display when the page is switched in languages.
However, the conventional traffic system is based on a front-end web page, and the display content is single, so that the application scene is single, the display switching efficiency of different languages is low, and the operation is inconvenient.
Disclosure of Invention
In view of the above, it is necessary to provide a text display method, device, traffic system and storage medium for a variety of terminals.
A text display method of a terminal, the method comprising:
acquiring data to be converted and a target conversion language corresponding to the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
distributing the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language;
receiving converted data obtained after the data to be converted is subjected to language conversion according to the target conversion language and a language packet corresponding to the target conversion language;
and sending the converted data and the language package to a language package management device so that the language package management device distributes the converted data and the language package to each terminal for display.
A text display method of a terminal, the method comprising:
receiving the converted data and the language packet sent by the language packet management equipment; wherein the converted data corresponds to at least one target conversion language;
receiving a selection instruction for the language pack input by a user or a selection instruction sent by the language management equipment;
determining a language to be displayed from at least one target conversion language corresponding to the language packet according to the selection instruction;
and displaying the converted text in the converted data corresponding to the language to be displayed.
A text display method of a terminal, the method comprising:
acquiring converted data after data to be converted is converted and a language packet corresponding to a target conversion language to be converted of the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
and distributing the converted data and the language package to each terminal for displaying.
A text display apparatus of a terminal, the apparatus comprising:
the acquisition module is used for acquiring data to be converted and a target conversion language corresponding to the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
the distribution module is used for distributing the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language;
the receiving module is used for receiving converted data obtained after the data to be converted is subjected to language conversion according to the target conversion language and a language packet corresponding to the target conversion language;
and the sending module is used for sending the converted data and the language package to language package management equipment so that the language package management equipment distributes the converted data and the language package to each terminal for displaying.
A text display apparatus of a terminal, the apparatus comprising:
the first receiving module is used for receiving the converted data and the language packet sent by the language packet management equipment; wherein the converted data corresponds to at least one target conversion language;
the second receiving module is used for receiving a selection instruction aiming at the language pack input by a user or a selection instruction sent by the language management equipment;
the determining module is used for determining a language to be displayed from at least one target conversion language corresponding to the language package according to the selection instruction;
and the display module is used for displaying the converted text in the converted data corresponding to the language to be displayed.
A text display apparatus of a terminal, the apparatus comprising:
the acquisition module is used for acquiring converted data after data to be converted is converted and a language packet corresponding to a target conversion language to be converted of the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
and the distribution module is used for distributing the converted data and the language package to each terminal for displaying.
A terminal text display system comprises a conversion platform server, a language pack management device and at least one terminal;
the conversion platform server is used for acquiring data to be converted and a target conversion language corresponding to the data to be converted, distributing the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language, receiving converted data obtained after the data to be converted is subjected to language conversion according to the target conversion language and a language packet corresponding to the target conversion language, and sending the converted data and the language packet to language packet management equipment;
the data to be converted is data formed according to a preset conversion data template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
the language pack management device for distributing the received converted data and the language pack to each of the terminals;
the terminal is used for receiving the converted data and the language package sent by the language package management equipment, determining a language to be displayed from at least one target conversion language corresponding to the language package according to a selection instruction aiming at the language package input by a user or the selection instruction sent by the language management equipment, and displaying the converted text in the converted data corresponding to the language to be displayed.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring data to be converted and a target conversion language corresponding to the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
distributing the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language;
receiving converted data obtained after the data to be converted is subjected to language conversion according to the target conversion language and a language packet corresponding to the target conversion language;
and sending the converted data and the language package to a language package management device so that the language package management device distributes the converted data and the language package to each terminal for display.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving the converted data and the language packet sent by the language packet management equipment; wherein the converted data corresponds to at least one target conversion language;
receiving a selection instruction for the language pack input by a user or a selection instruction sent by the language management equipment;
determining a language to be displayed from at least one target conversion language corresponding to the language packet according to the selection instruction;
and displaying the converted text in the converted data corresponding to the language to be displayed.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring converted data after data to be converted is converted and a language packet corresponding to a target conversion language to be converted of the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
and distributing the converted data and the language package to each terminal for displaying.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring data to be converted and a target conversion language corresponding to the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
distributing the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language;
receiving converted data obtained after the data to be converted is subjected to language conversion according to the target conversion language and a language packet corresponding to the target conversion language;
and sending the converted data and the language package to a language package management device so that the language package management device distributes the converted data and the language package to each terminal for display.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving the converted data and the language packet sent by the language packet management equipment; wherein the converted data corresponds to at least one target conversion language;
receiving a selection instruction for the language pack input by a user or a selection instruction sent by the language management equipment;
determining a language to be displayed from at least one target conversion language corresponding to the language packet according to the selection instruction;
and displaying the converted text in the converted data corresponding to the language to be displayed.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring converted data after data to be converted is converted and a language packet corresponding to a target conversion language to be converted of the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
and distributing the converted data and the language package to each terminal for displaying.
In the text display method, the text display device, the text display system and the text display medium of the terminal, the converted data and the language packages of each terminal are uniformly managed by the language package management device and are decoupled from the software operated by the terminal, and compared with the scheme that the language packages and the software (particularly front-end pages) are stored in a binding mode and the language packages and the translated texts can be updated only by updating the software operated by the terminal in the prior art, the language package can be newly added in real time and the existing translated texts can be edited under the condition that the software operated by the terminal is not updated, so that the switching and updating of the language types and the display contents are simpler and faster. Meanwhile, the language pack management equipment distributes the converted data and the language pack to the associated terminals, and compared with a scheme that a single terminal displays texts based on a front-end page in the prior art, the language pack management equipment can realize multi-terminal linkage display based on a web page, a client and a back end, meets the requirement of international business, and is rich and flexible in application scene.
Drawings
FIG. 1 is an architecture diagram of a terminal text display system, according to an embodiment;
fig. 2 is a flowchart illustrating a text display method of a terminal according to an embodiment;
fig. 3 is a flowchart illustrating a text display method of a terminal according to another embodiment;
fig. 4 is a flowchart illustrating a text display method of a terminal according to another embodiment;
fig. 5 is a flowchart illustrating a text display method of a terminal according to another embodiment;
fig. 6 is a flowchart illustrating a text display method of a terminal according to another embodiment;
fig. 7 is a flowchart illustrating a text display method of a terminal according to another embodiment;
fig. 8 is a schematic structural diagram of a text display device of a terminal according to an embodiment;
fig. 9 is a schematic structural diagram of a text display device of a terminal according to another embodiment;
fig. 10 is a schematic structural diagram of a text display device of a terminal according to yet another embodiment;
FIG. 11 is an internal block diagram of a computer device provided in one embodiment;
fig. 12 is an internal structural diagram of a terminal according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The text display method of the terminal provided by the embodiment of the application can be applied to a terminal text display system shown in fig. 1. The terminal 1002 communicates with the language pack management apparatus 1004 via a network, and the conversion platform server 1006 communicates with the language pack management apparatus 1004 via a network. The terminal 1002 may be a client such as an access controller and a guest greeting device, or may be a Web front end and a back end for providing services. Terminals include, but are not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The language pack management device 1004 and the translation platform server 1006 may be implemented as separate servers or as a server cluster composed of a plurality of servers.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
It should be noted that the execution subject of the method embodiments described below may be a text display device of a terminal, and the device may be implemented as part or all of the computer device by software, hardware, or a combination of software and hardware. The following method embodiments are described with reference to the multi-side device, the execution subject being the translation platform server, the terminal, and the language package management device.
Fig. 2 is a flowchart illustrating a text display method of a terminal according to an embodiment. The embodiment relates to a specific process that a conversion platform server converts data to be converted and sends the converted data to a corresponding terminal for display, as shown in fig. 2, the specific process includes:
s101, acquiring data to be converted and a target conversion language corresponding to the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of the language to be converted of the text content, and the target conversion language comprises at least one.
If the text display flow of the terminal is developed as an application project, a project manager usually generates a language package according to the type of the language to be converted into the project to be developed through a project management computer terminal. For example, the language package may include two language types of japanese and chinese, and the translation platform server receives the data package submitted by the project manager through the project management computer terminal. The conversion here is called translation, and the conversion platform server is the server where the translation platform is located. Alternatively, the project manager may send a language package composed of the project name, the language code, and the target translation language to be translated to the translation platform server. Wherein, the project name may be an application identifier, such as a name, a code, a number, and the like of the currently developed application; the language code may include, but is not limited to, en representing english, cn representing chinese, ge representing german, etc., and the language code may also adopt other characters, which is only an example here and is not limited in this embodiment; the target conversion language may include, but is not limited to, at least one of English (English), Chinese (Chinese), German (German), and the like, for example, two, three, or even more, language types and language codes in one-to-one correspondence, for example, en and English, cn and Chinese, ge and German, and the like.
The conversion platform server receives data to be converted sent by a developer through a computer terminal for development, wherein the data to be converted has a certain data structure and is data formed according to a preset data conversion template. Optionally, different characters at different positions in the data conversion template respectively represent which terminal, which application needs to perform conversion, and what needs to be converted. Therefore, the readability of the data to be converted on a code level and the consistency of data access and data processing are ensured according to the structured data formed by the preset data conversion template, and the data processing is facilitated.
And S102, distributing the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language.
Specifically, the conversion platform server distributes the data to be converted to the queues to be converted corresponding to the target conversion languages respectively according to the target conversion languages. It should be noted that each queue to be translated may correspond to a target conversion language, that is, a language is converted. For example, if the target conversion language includes chinese and english, the conversion platform server allocates the data to be converted to the queue to be converted in chinese and the queue to be converted in english, respectively.
S103, receiving converted data obtained after the data to be converted is subjected to language conversion according to the target conversion language and a language package corresponding to the target conversion language.
And the translator converts the data to be converted in the corresponding queue to be converted according to the target conversion language to obtain converted data, and uploads the converted data and the language packet corresponding to the target conversion language through the computer terminal for translation. Optionally, the translator may log in the conversion platform server through the registered account to perform translation and input a translation result, or may automatically perform conversion by using an artificial intelligence technique and upload the result to the conversion platform server. At this time, the conversion platform server receives the converted data and the language packet corresponding to the converted data. It should be noted that the language pack may include at least one language category of the converted data, corresponding to the target conversion language. For example, after the language to be converted is converted according to the target conversion language, the obtained converted data is data of two language types of english and chinese, and the language packet includes the two language types of english and chinese.
And S104, sending the converted data and the language package to a language package management device so that the language package management device distributes the converted data and the language package to each terminal for displaying.
Specifically, the conversion platform server sends the converted data and the language package to the language package management device, and the language package management device distributes the converted data and the language package to each terminal, so that each terminal can display text contents in the converted data as required.
In this embodiment, the conversion platform server can obtain the data to be converted and the target conversion language corresponding to the data to be converted, and distribute the data to be converted to the queue to be converted corresponding to the target conversion language according to the target conversion language, so that the data to be converted can be converted in at least one language. And then the conversion platform server receives the converted data obtained by performing language conversion on the data to be converted according to the target conversion language and the language package corresponding to the target conversion language, and sends the converted data and the language package to the language package management equipment, so that the language package management equipment distributes the converted data and the language package to each terminal, each terminal can receive the converted data of at least one language, and the content in the converted data of at least one language is displayed, so that the problem of single display content caused by the conventional display only based on a front-end page can be avoided, and the display form of the terminal is enriched. When the language types in the language package are multiple, and when the multiple language types need to be switched, the code does not need to be modified every time, the language types in the language package can be called by each terminal to realize the display of different language types, so that the switching of the language types and the display contents based on the terminal side is realized, the method can realize the personalized display of the terminal and the differentiated display of the multiple terminals, and the switching of the language types and the display contents is simpler, more convenient and faster. The method is applied to a face passing system, can realize terminal differentiation display, can meet the international business requirements, and has richer and more flexible application scenes.
Compared with the scheme that the language package and the software (particularly a front-end page) are stored in a binding mode and the language package and the translated text can be updated only by updating the software operated by the terminal in the prior art, the embodiment of the application can add the language package and edit the existing translated text in real time under the condition that the software operated by the terminal is not updated, so that the switching and updating of the language type and the display content are simpler, more convenient and quicker. Meanwhile, the language pack management equipment distributes the converted data and the language pack to the associated terminals, and compared with a scheme that a single terminal displays texts based on a front-end page in the prior art, the language pack management equipment can realize multi-terminal linkage display based on a web page, a client and a back end, meets the requirement of international business, and is rich and flexible in application scene.
Alternatively, on the basis of the foregoing embodiment, one possible implementation form of the "the language pack management device distributes the converted data and the language pack to each terminal for display" in the foregoing step S104 may include: and the language pack management device distributes the converted data and the language pack to each terminal according to the terminal identification included in the converted data for display.
The data to be converted comprises an unconverted text, a variable name corresponding to the unconverted text, a source language, a terminal identifier and an application identifier. The converted data includes a converted text after language conversion, the variable name, a target language, a terminal identifier, and an application identifier. The meaning of the above terms is exemplified here by way of example: for example, the data to be converted may include the unconverted text "welcome," welcome "corresponding variable name" XX, "" welcome "source language" chinese, "terminal identification" client greeting device, "and application identification" YY corporation menuing system. The converted data may include language-converted text such as "Welcome" converted text "Welcome", variable name "XX", target language "english", terminal identification "client greeting device" and application identification "YY corporation portal greeting system". The above example is only one example, and the above unconverted text may include a plurality of text, such as "hello", "morning good", and the like; the terminal identifier may include terminal identifiers of a plurality of terminals, where the terminal identifiers of different types of terminals are different; the target language may include the type of language that Chinese, English, etc. needs to be converted. In one embodiment, developers at each end, such as front-end development, back-end development, client development, and the like, extract unconverted text in respective code and set variable names to the unconverted text. Optionally, the variable name may be prefixed by a fixed character, which can characterize the terminal from which it came. For example, the backend may use the terminal identifier representing the backend of the abbreviation "+ B" of the project name as the prefix of the variable name, the frontend may use the terminal identifier representing the frontend of the abbreviation "+ F" of the project name as the prefix of the variable name, and the client may use the terminal identifier representing the client of the abbreviation "+ P" of the project name as the prefix of the variable name, so as to distinguish the data to be converted submitted by the developer from which terminal. Optionally, the data to be converted may further include a corresponding meaning description, for example, a description of "welcome" and "welcome a person outside" is added, so as to ensure uniqueness of the data to be converted, avoid confusion, and use a variable name to represent the content to be displayed can ensure readability of a code level, thereby further improving accuracy of text display.
Specifically, the conversion platform server sends the converted data and the language package to the language package management device, and the language package management device reads the terminal identifier in the converted data and then distributes the converted data and the language package to each terminal for display according to the corresponding terminal identifier in the converted data. Optionally, the terminal may select one of the language packs as a language to be displayed, and display a converted text corresponding to the language to be displayed in the converted data. For example, when it is determined that the subject is a foreign guest in a country with the native language being english, the "english" in the language package may be used as the language to be displayed, and then the converted text "welome" corresponding to the language to be displayed is displayed. It should be noted that the corresponding unconverted text of different terminals may be different. For example, the corresponding unconverted text of the client may include: hello, welcome, the corresponding unconverted text at the back end may include: software updating and software upgrading. Correspondingly, the converted text may be different for different terminals. In addition, for the same unconverted text and the same language, the converted text corresponding to the same terminal may be different, for example, for the same unconverted text "Bye", the converted text of the client may be "Bye", and the converted text corresponding to the front end may be "Goodbye". The language pack management device can distribute the converted data and the language pack to the terminals corresponding to the converted data according to the terminal identification, so that each terminal can display different languages, or different characters of the same language, or different expressions of the same language and the same semantic.
In this embodiment, the data to be converted includes the unconverted text, the variable name corresponding to the unconverted text, the source language, the terminal identifier, and the application identifier; and the converted data includes the language-converted text, a variable name, a target language, a terminal identification, and an application identification. Therefore, the language pack management device distributes the converted data and the language pack to each terminal for display according to the terminal identification included by the converted data, so that different terminals can obtain and display the corresponding converted data based on the respective terminal identification, thereby realizing multi-terminal differentiated display, and enabling the text display form to be richer and more targeted.
Optionally, on the basis of the foregoing embodiment, the method may further include, as shown in fig. 3:
and S105, receiving the conversion modification data, and searching the converted data to be edited according to the variable name, the target language, the terminal identification and the application identification in the conversion modification data.
And S106, updating the converted text in the converted data to be edited according to the converted modified text in the converted modified data.
S107, the updated converted data are sent to a language pack management device, so that the language pack management device distributes the updated converted data to a terminal corresponding to a terminal identifier included in the converted data for display.
Specifically, when the terminal has a requirement for changing the translated text, for example, the client needs to change the text display content corresponding to a variable name, the conversion platform server can receive the conversion modification data sent by the terminal, and the data form of the conversion modification data may refer to the structural description of the data to be converted, which is not described herein again. The conversion modification data comprises conversion modification text needing to be modified, for example, if the client needs to modify 'hello' into 'hello', the conversion modification text is 'hello', the conversion platform server searches corresponding converted data to be edited, namely the converted data corresponding to the converted text 'hello', according to the variable name, the target language, the terminal identification and the application identification in the conversion modification data, and then updates the converted text 'hello' in the converted data to be edited by using the conversion modification text 'hello'. Optionally, the conversion platform server may search for converted data to be edited according to a variable name, a target language, a terminal identifier and an application identifier in the conversion modified data, export the converted data as an editable text, replace the converted text in the exported converted data with the conversion modified text, then import the converted data again to update the converted data, and then send the updated converted data to the language pack management device, so that the language pack management device distributes the updated converted data to a terminal corresponding to the converted device for display. At this time, the terminal originally displaying the text "hello" will change to display "hello". It should be noted that there may be only one terminal that needs to change the translation text, and at this time, only the updated converted data needs to be sent to the terminal that needs to change the translation text, and the other terminals do not need to update the translation text. When multiple terminals are required to be updated simultaneously, the updated converted data can be sent to each terminal.
It will be appreciated that when the terminal detects new converted data or an update in the converted data (e.g., a change in text corresponding to a partial variable), the existing data is immediately updated, thereby changing the text display on the terminal interface.
In this embodiment, the conversion platform server determines the converted data to be edited based on the conversion modification data sent by the terminal, updates the converted text in the converted data to be edited according to the conversion modification text in the conversion modification data, and finally sends the updated converted data to the language pack management device, so that the language pack management device distributes the updated converted data to each terminal for display, thereby realizing the display change of the text based on the client requirement. The method does not need the re-participation of developers, the updating of the displayed text is more convenient and faster, the maintenance cost in the later period is greatly reduced, and the customization requirement of the terminal is further met.
Optionally, on the basis of the foregoing embodiments, as shown in fig. 4, the method may further include:
s108, acquiring a newly added target conversion language and the data to be converted corresponding to the newly added target conversion language, and distributing the data to be converted to a queue to be converted corresponding to the newly added target conversion language according to the newly added target conversion language.
S109, receiving newly-added converted data obtained after the data to be converted is subjected to language conversion, and updating the language package according to the newly-added target conversion language to obtain an updated language package.
And S110, sending the newly added converted data and the updated language package to the language package management equipment so that the language package management equipment distributes the newly added converted data and the updated language package to each terminal for displaying.
When the terminal has a change requirement, for example, the client needs to change the target conversion language, for example, a language is newly added, the conversion platform server can receive the newly added target conversion language sent by the terminal and the to-be-converted data corresponding to the newly added target conversion language, and the specific description of the to-be-converted data may refer to the foregoing description, which is not described herein again. At this time, the conversion platform server allocates the corresponding data to be converted to the queue to be converted corresponding to the newly added target conversion language for conversion according to the newly added target conversion language, and the implementation process of this step may refer to the description of the foregoing S102. Then, the conversion platform server receives the new converted data obtained by performing the language conversion on the data to be converted, and updates the language package according to the new target conversion language to obtain an updated language package, that is, the new target conversion language is added to the original language package, and this step may be described in the foregoing S103. The conversion platform server sends the newly added converted data and the updated language package to the language package management device, so that the language package management device distributes the newly added converted data and the updated language package to each terminal for display, which may be referred to the description of S104.
For example, the conversion platform server can receive a newly added target conversion language "french" and data to be converted corresponding to the newly added target conversion language sent by the terminal, and distribute the data to be converted to a queue to be converted corresponding to the "french" according to the newly added target conversion language. And after the translation is finished, receiving newly-added converted data obtained after the data to be converted is subjected to language conversion, wherein the newly-added converted data comprises converted data of French, updating a language package according to the newly-added French to obtain an updated language package, and the language type of French is added in the updated language package.
In this embodiment, the conversion platform server obtains a newly added target conversion language and data to be converted corresponding to the newly added target conversion language, and distributes the data to be converted to a queue to be converted corresponding to the newly added target conversion language according to the newly added target conversion language, then receives the newly added converted data obtained after performing language conversion on the data to be converted, and updates a language package according to the newly added target conversion language to obtain an updated language package, and finally sends the newly added converted data and the updated language package to the language package management device, so that the language package management device distributes the newly added converted data and the updated language package to each terminal for display. The method can realize the text display of the newly added language based on the requirement of the newly added language submitted by the terminal, thereby meeting a large number of international requirements and further enriching the use scene. Meanwhile, the newly added language does not need the intervention of developers, so that the requirement of the newly added language is more convenient and faster to realize, the later maintenance cost is greatly reduced, and the customization requirement of the terminal is further met.
In the above embodiments, the executed subject is a conversion platform server to describe the technical solution of the present application, and then, the executed subject is taken as a terminal to describe the technical solution of the present application.
Fig. 5 is a flowchart illustrating a text display method of a terminal according to an embodiment. The embodiment relates to a specific process that the terminal displays the converted text according to the language to be displayed. As shown in fig. 5, includes:
s201, receiving converted data and a language packet sent by a language packet management device; wherein the converted data corresponds to at least one target conversion language.
S202, receiving a selection instruction aiming at the language pack input by a user or a selection instruction sent by the language management equipment.
Specifically, the terminal receives the converted data and the language pack transmitted by the language pack management device. Wherein the converted data corresponds to at least one target conversion language. For a detailed description of the converted data and language packets, reference may also be made to the foregoing embodiments, which are not described in detail herein. It should be noted that the selection instruction points to a language category in the language package as the language to be displayed. Alternatively, the terminal may receive a selection instruction for the language pack by the user, for example, the selection instruction may be an instruction issued by a clicking operation performed by the user through a pull-down menu of the language pack displayed on the terminal interface, for example, the user clicks the language type of "english" through an external device mouse of the terminal, and has issued a selection instruction pointing to "english". Optionally, the selection instruction may also be a selection instruction sent by another terminal and forwarded by the language pack management device. For example, A, B, C is 3 terminals included in the guest greeting system, and when the user selects "english" at terminal a, the language pack management device receives the language "english" to be displayed selected by the user and then forwards the selection of the user to terminal B and terminal C, so that terminal B and terminal C are linked to change the display language to "english". It can be understood that the pull-down menu of the language package displayed on the interface of the terminal can be updated in real time, for example, when the terminal detects that the new language package contains the new language, the new language can be added into the pull-down menu displayed on the interface.
S203, according to the selection instruction, determining the language to be displayed from at least one target conversion language corresponding to the language package.
And S204, displaying the converted text in the converted data corresponding to the language to be displayed.
Specifically, the terminal determines a language to be displayed corresponding to the selection instruction from at least one target conversion language corresponding to the language package based on the selection instruction, and displays the language to be displayed according to a converted text of the converted data corresponding to the language to be displayed. For example, the selection instruction points to "English", the terminal determines that the language to be displayed is English from at least one target conversion language in the language package, and at this time, the terminal displays the converted text "welome" in the converted data corresponding to English.
In this embodiment, the terminal receives the converted data and the language package sent by the language package management device, receives a selection instruction for the language package input by the user or a selection instruction sent by the language management device, and then determines a language to be displayed from at least one target conversion language corresponding to the language package according to the selection instruction and displays a converted text in the converted data corresponding to the language to be displayed. The method can realize the display of the converted text based on the language to be displayed pointed by the selection instruction, so that the text of different languages can be displayed based on the selection of a user of the terminal, when the switching of multiple language types is required, the code does not need to be modified every time, the display of different language types can be realized by each terminal based on the selection instruction of the language packet, the switching of the language types and the display contents based on the terminal side is realized, and the personalized display of the terminal and the differentiated display of multiple terminals can be realized, and meanwhile, the switching of the language types and the display contents is simpler, more convenient and faster. The method is applied to a face passing system, can realize terminal differentiation display, can meet the international business requirements, and has richer and more flexible application scenes.
Optionally, on the basis of the embodiment shown in fig. 5, the method further includes: in response to the selection instruction for the language pack input by the user, sending the selection instruction to the language pack management device to enable the language pack management device to forward the selection instruction to a terminal associated with the terminal accepting the selection instruction input by the user, and instructing the associated terminal to display converted texts in converted data corresponding to the languages to be displayed. Specifically, the terminal may further send the selection instruction to the language pack management device in response to a selection instruction for the language pack input by the user, and forward the selection instruction to a terminal associated with the terminal that accepts the selection instruction input by the user through the language pack management device, so that the associated terminal determines a language to be displayed from at least one target conversion language corresponding to the language pack according to the selection instruction, and displays a converted text in converted data corresponding to the language to be displayed. In this embodiment, the terminal responds to a selection instruction for the language package input by the user, and sends the selection instruction to the language package management device, so that the language package management device forwards the selection instruction to a terminal associated with the terminal that receives the selection instruction input by the user, and instructs the associated terminal to display a converted text in converted data corresponding to a language to be displayed on the terminal.
Optionally, on the basis of the foregoing embodiment, the terminal may further receive updated converted data sent by the language pack management device, and replace, with the updated converted data, converted data having the same variable name, target language, terminal identifier, and application identifier as the updated converted data. The generation manner and description of the updated converted data in this embodiment may refer to the description of the foregoing embodiment, and is not limited herein. Specifically, when the terminal has a change demand, the terminal can acquire the updated converted data sent by the language pack management device, and replace the converted data having the same variable name, target language, terminal identifier and application identifier as the updated converted data with the updated converted data, so as to meet the change demand.
In this embodiment, the terminal receives the updated converted data sent by the language pack management device, and replaces the converted data having the same variable name, target language, terminal identifier, and application identifier as the updated converted data with the updated converted data, so that the terminal can implement text display change based on the client requirement. According to the method, developers do not need to participate again, the updating of the display text of the terminal is more convenient and faster, the later maintenance cost is greatly reduced, and the requirement of customized display of the terminal is further met.
Optionally, on the basis of the foregoing embodiment, one possible implementation manner of the foregoing step S204 may include: acquiring a locking state at the current moment; and if the locking state is locked, continuously displaying the converted text in the converted data corresponding to the current display language. Specifically, each terminal may further set its own lock state, and when the lock state of the terminal at the current time is locked, the text displayed by the terminal is not changed, for example, the text is not modified according to the updated conversion and displayed, but the converted text in the converted data corresponding to the current display language is continuously displayed. Optionally, at this time, the terminal may continue to display the converted text in the converted data corresponding to the current display language after receiving the selection instruction; or the terminal with the locked state no longer receives the selection instruction sent by the language pack management device, so that the converted text in the converted data corresponding to the currently displayed language is continuously displayed, thereby avoiding excessive information transmission and saving the device resources. Optionally, if the terminal is unlocked, the terminal updates the displayed text according to the selection instruction. In the embodiment, the terminal can determine whether to update the text based on the selection instruction according to the respective locking state, so that the display content can be conveniently and uniformly updated, the original display content can be kept by setting the locked terminal which does not need to be updated according to the actual use requirement, the functions are further enriched, and the application scene is richer.
Next, the technical solution of the present application will be described with the executive body as the language pack management device.
Fig. 6 is a flowchart illustrating a text display method of a terminal according to an embodiment. The present embodiment relates to a specific process in which the language pack management apparatus distributes the converted data according to the terminal identification. As shown in fig. 6, includes:
s301, acquiring converted data after data to be converted is converted and a language packet corresponding to a target conversion language to be converted of the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of the language to be converted of the text content, and the target conversion language comprises at least one.
Specifically, the language pack management device receives the converted data after the conversion of the data to be converted, which is sent by the conversion platform server, and the language pack corresponding to the target conversion language to which the data to be converted needs to be converted. For detailed descriptions of the data to be converted, the converted data, and the language pack, reference may be made to the description of the foregoing embodiments, and further description is omitted here.
S302, distributing the converted data and the language package to each terminal for displaying.
Specifically, the language pack management device distributes the converted data and the language pack to each terminal for display, or may synchronously issue the converted data and the language pack to each terminal for display.
In one example, the language pack management device may first issue the converted data of a default language (e.g., english) and a language pack (e.g., including english, french, german) to the terminal, so that the terminal displays a pull-down list of selectable languages (including english, french, german) according to the language pack, and after the user selects a language to be displayed (e.g., german) according to the pull-down list, the language pack management device then issues the converted data corresponding to the language to be displayed, so as to reduce the occupation of the storage space of the terminal and reduce the data transmission amount.
In this embodiment, the language pack management device acquires the converted data after the data to be converted and the language pack corresponding to the target conversion language to which the data to be converted needs to be converted, and distributes the converted data and the language pack to each terminal for display. The method can enable each terminal to receive the converted data of at least one language by distributing the converted data and the language package to each terminal for displaying, can avoid the problem of single display content caused by the traditional display only based on a front-end page by displaying the content in the converted data of at least one language, and enriches the display forms of the terminals. When the language types in the language package are multiple, and when the multiple language types need to be switched, the code does not need to be modified every time, the language types in the language package can be called by each terminal to realize the display of different language types, so that the switching of the language types and the display contents based on the terminal side is realized, the method can realize the personalized display of the terminal and the differentiated display of the multiple terminals, and the switching of the language types and the display contents is simpler, more convenient and faster. The method is applied to a face passing system, can realize terminal differentiation display, can meet the international business requirements, and has richer and more flexible application scenes.
On the basis of the embodiment shown in fig. 6, the data to be converted includes an unconverted text, a variable name corresponding to the unconverted text, a source language, a terminal identifier, and an application identifier; the converted data comprises a converted text after language conversion, the variable name, a target language, a terminal identifier and an application identifier; wherein the terminal identifications of different types of terminals are different. The data to be converted comprises an unconverted text, a variable name corresponding to the unconverted text, a source language, a terminal identifier and an application identifier. The converted data includes a converted text after language conversion, the variable name, a target language, a terminal identifier, and an application identifier. The meaning of the above terms is exemplified here by way of example: for example, the data to be converted may include the unconverted text "welcome", "welcome" corresponding variable name "XX", "source language" chinese "of hello", the terminal identification "client greeting device", and the application identification "YY company menuing system". The converted data may include language-converted text such as "Welcome" converted text "Welcome", variable name "XX", target language "english", terminal identification "client greeting device" and application identification "YY corporation portal greeting system". The above example is only one example, and the above unconverted text may include a plurality of text, such as "hello", "morning good", and the like; the terminal identifier may include terminal identifiers of a plurality of terminals, where the terminal identifiers of different types of terminals are different; the target language may include the type of language that Chinese, English, etc. needs to be converted. In one embodiment, developers at each end, such as front-end development, back-end development, client development, and the like, extract unconverted text in respective code and set variable names to the unconverted text. Optionally, the variable name may be prefixed by a fixed character, which can characterize the terminal from which it came. For example, the backend may use the terminal identifier representing the backend of the abbreviation "+ B" of the project name as the prefix of the variable name, the frontend may use the terminal identifier representing the frontend of the abbreviation "+ F" of the project name as the prefix of the variable name, and the client may use the terminal identifier representing the client of the abbreviation "+ P" of the project name as the prefix of the variable name, so as to distinguish the data to be converted submitted by the developer from which terminal. Optionally, the data to be converted may further include a corresponding meaning description, for example, a description of "welcome" and "welcome a person outside" is added, so as to ensure uniqueness of the data to be converted, avoid confusion, and use a variable name to represent the content to be displayed can ensure readability of a code level, thereby further improving accuracy of text display.
One possible implementation form of the step S302 may include: and distributing the converted data and the language packet to each terminal for display according to the terminal identification included in the converted data.
Specifically, the language pack management device receives the converted data and the language pack sent by the conversion platform server, reads the terminal identifier in the converted data, and then distributes the converted data and the language pack to the terminal corresponding to the terminal identifier for display according to the terminal identifier in the converted data. Optionally, the terminal may select one of the language packs as a language to be displayed, and display a converted text corresponding to the language to be displayed in the converted data. For example, when it is determined that the subject is a foreign guest in a country with the native language being english, the "english" in the language package may be used as the language to be displayed, and then the converted text "welome" corresponding to the language to be displayed is displayed. It should be noted that, a group of data to be converted can be generated under the condition that one unconverted text corresponds to a plurality of terminals, and the processing is performed to realize multi-terminal differentiated display.
In this embodiment, the data to be converted includes the unconverted text, the variable name corresponding to the unconverted text, the source language, the terminal identifier, and the application identifier; and the converted data includes the language-converted text, a variable name, a target language, a terminal identification, and an application identification. Therefore, the language pack management device distributes the converted data and the language pack to each terminal for display according to the terminal identification included by the converted data, so that different terminals can obtain and display the corresponding converted data based on the respective terminal identification, thereby realizing multi-terminal differentiated display, and enabling the text display form to be richer and more targeted.
Optionally, on the basis of the foregoing embodiments, the method may further include, as shown in fig. 7:
and S303, receiving a selection instruction which is sent by the terminal and input by the user aiming at the language packet.
S304, the selection instruction is forwarded to a terminal associated with the terminal receiving the selection instruction input by the user, so that the associated terminal determines a language to be displayed from at least one target conversion language corresponding to the language packet based on the selection instruction, and displays a converted text in converted data corresponding to the language to be displayed.
The terminal associated with a certain terminal may be a terminal that desires to have a language update linkage relationship with the terminal, for example, a plurality of terminals belonging to the same local area network and deployed with the same or related applications. Specifically, the language pack management device receives a selection instruction, which is sent by a terminal and is input by a user for a language pack, and then forwards the selection instruction to a corresponding terminal associated with the terminal receiving the selection instruction input by the user, so that the terminal receiving the selection instruction determines a language to be displayed corresponding to the selection instruction from at least one target conversion language corresponding to the language pack, and displays the language to be displayed according to a converted text of a converted data pack corresponding to the language to be displayed. For example, the selection instruction points to "English", and the terminal that receives the selection instruction determines that the language to be displayed is English from at least one target conversion language in the language package, and at this time, the terminal displays the converted text "welome" in the converted data corresponding to English. In this embodiment, the language pack management device receives a selection instruction, which is sent by a terminal and is input by a user for a language pack, and forwards the selection instruction to a terminal associated with the terminal receiving the selection instruction input by the user, so that the associated terminal determines a language to be displayed from at least one target conversion language corresponding to the language pack based on the selection instruction, and displays a converted text in converted data corresponding to the language to be displayed. The method can realize that the corresponding other terminals are updated according to the new language to be displayed based on the updating of the language to be displayed of one terminal in the same system, and can realize the synchronous updating of a plurality of terminals when the language to be displayed is updated at the rear end, thereby realizing the unified adjustment of the display content of the terminals, thereby being more convenient and quicker.
In one embodiment, one possible implementation manner of the step S304 may include: acquiring a locking state of a terminal associated with a terminal receiving the selection instruction input by the user; and forwarding the selection instruction to a target terminal with an unlocked locking state, so that the target terminal determines a language to be displayed from at least one target conversion language corresponding to the language packet based on the selection instruction, and displays a converted text in the converted data corresponding to the language to be displayed. Specifically, the language pack management device may obtain the lock state set by each terminal, which may include locked and unlocked states, and when the lock state of the terminal at the current time is locked, the text displayed by the terminal is not changed, for example, the text is not modified according to the updated conversion to be displayed, but the converted text in the converted data corresponding to the current display language is continuously displayed. Optionally, the language pack management device may send a selection instruction to the terminal, and the terminal continues to display the converted text in the converted data corresponding to the currently displayed language after receiving the selection instruction; or when the locking state of the terminal is locking, the language pack management device does not send a selection instruction to the terminal any more, so that the terminal continues to display the converted text in the converted data corresponding to the currently displayed language, thereby avoiding excessive information transmission and saving device resources. Optionally, if the terminal is in an unlocked state, the unlocked terminal is taken as a target terminal, and the language pack management device sends a selection instruction to the target terminal, so that the target terminal updates the displayed text according to the selection instruction. In this embodiment, the language pack management device determines, by obtaining the lock state of the terminal associated with the terminal that receives the selection instruction input by the user, the language to be displayed from at least one target conversion language corresponding to the language pack and forwarding the selection instruction to the target terminal whose lock state is unlocked, so that the target terminal can determine, based on the selection instruction, whether to update the text based on the selection instruction from the converted text terminal in the converted data corresponding to the language to be displayed, and display the converted text terminal in the converted data corresponding to the language to be displayed according to the respective lock state.
It should be understood that although the various steps in the flow charts of fig. 2-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, there is provided a text display apparatus of a terminal, including:
an obtaining module 100, configured to obtain data to be converted and a target conversion language corresponding to the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
the distribution module 200 is configured to distribute the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language;
a receiving module 300, configured to receive the converted data obtained after performing language conversion on the data to be converted according to the target conversion language and a language package corresponding to the target conversion language;
a sending module 400, configured to send the converted data and the language package to a language package management device, so that the language package management device distributes the converted data and the language package to each terminal for display.
In one embodiment, the data to be converted includes an unconverted text, a variable name corresponding to the unconverted text, a source language, a terminal identifier, and an application identifier; the converted data comprises a converted text after language conversion, the variable name, a target language, a terminal identifier and an application identifier; wherein, the terminal identifications of different types of terminals are different; the sending module 400 is specifically configured to distribute the converted data and the language pack to each terminal according to the terminal identifier included in the converted data for display by the language pack management device.
In an embodiment, the obtaining module 100 is further configured to receive the conversion modification data, and search for the converted data to be edited according to a variable name, a target language, a terminal identifier, and an application identifier in the conversion modification data; updating the converted text in the converted data to be edited according to the converted modified text in the converted modified data;
the sending module 400 is further configured to send the updated converted data to a language pack management device, so that the language pack management device distributes the updated converted data to a terminal corresponding to a terminal identifier included in the converted data for display.
In an embodiment, the obtaining module 100 is further configured to obtain a new target conversion language and the data to be converted corresponding to the new target conversion language;
the allocating module 200 is further configured to allocate, according to the newly added target conversion language, the data to be converted to a queue to be converted corresponding to the newly added target conversion language;
the receiving module 300 is further configured to receive new converted data obtained after performing language conversion on the data to be converted;
the obtaining module 100 is further configured to update the language package according to the newly added target conversion language to obtain an updated language package;
the sending module 400 is further configured to send the newly added converted data and the updated language package to the language package management device, so that the language package management device distributes the newly added converted data and the updated language package to each terminal for display.
In one embodiment, as shown in fig. 9, there is provided a text display apparatus of a terminal, including:
a first receiving module 500, configured to receive the converted data and the language pack sent by the language pack management device; wherein the converted data corresponds to at least one target conversion language;
a second receiving module 600, configured to receive a selection instruction for the language pack input by a user or a selection instruction sent by the language management device;
a determining module 700, configured to determine, according to the selection instruction, a language to be displayed from at least one target conversion language corresponding to the language package;
a display module 800, configured to display the converted text in the converted data corresponding to the language to be displayed.
In one embodiment, the display module 800 is further configured to, in response to the selection instruction for the language pack input by the user, send the selection instruction to the language pack management apparatus, so that the language pack management apparatus forwards the selection instruction to a terminal associated with a terminal that receives the selection instruction input by the user, and instruct the associated terminal to display the converted text in the converted data corresponding to the language to be displayed.
In an embodiment, the first receiving module 500 is further configured to receive the updated converted data sent by the language pack management device, and replace the converted data with the same variable name, target language, terminal identifier, and application identifier as the updated converted data with the updated converted data.
In an embodiment, the display module 800 is specifically configured to obtain a locking state at the current time; and if the locking state is locked, continuously displaying the converted text in the converted data corresponding to the current display language.
In one embodiment, as shown in fig. 10, there is provided a text display apparatus of a terminal, including:
an obtaining module 900, configured to obtain converted data after conversion of data to be converted and a language package corresponding to a target conversion language to be converted of the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
a distribution module 1000, configured to distribute the converted data and the language package to each terminal for display.
In one embodiment, the data to be converted includes an unconverted text, a variable name corresponding to the unconverted text, a source language, a terminal identifier, and an application identifier; the converted data comprises a converted text after language conversion, the variable name, a target language, a terminal identifier and an application identifier; wherein, the terminal identifications of different types of terminals are different; the distributing module 1000 is specifically configured to distribute the converted data and the language package to each terminal according to a terminal identifier included in the converted data for display.
In an embodiment, the obtaining module 900 is further configured to receive a selection instruction, sent by the terminal, for the language pack input by the user; and forwarding the selection instruction to a terminal associated with the terminal receiving the selection instruction input by the user, so that the associated terminal determines a language to be displayed from at least one target conversion language corresponding to the language packet based on the selection instruction, and displays a converted text in converted data corresponding to the language to be displayed.
In an embodiment, the obtaining module 900 is specifically configured to obtain a lock state of a terminal associated with a terminal that receives the selection instruction input by the user; and forwarding the selection instruction to a target terminal with an unlocked locking state, so that the target terminal determines a language to be displayed from at least one target conversion language corresponding to the language packet based on the selection instruction, and displays a converted text in the converted data corresponding to the language to be displayed.
For specific limitations of the text display device of the terminal, reference may be made to the above limitations of the text display method of the terminal, which are not described herein again. The respective modules in the text display device of the terminal described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, there is also provided a terminal text display system, as shown in fig. 1, the system includes a conversion platform server 1006, a language pack management apparatus 1004, and at least one terminal 1002;
the conversion platform server 1006 is configured to obtain data to be converted and a target conversion language corresponding to the data to be converted, allocate the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language, receive converted data obtained after performing language conversion on the data to be converted according to the target conversion language and a language package corresponding to the target conversion language, and send the converted data and the language package to the language package management device 1004;
the data to be converted is data formed according to a preset conversion data template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
a language pack management device 1004 for distributing the received converted data and the language pack to each terminal 1002;
the terminal 1002 is configured to receive the converted data and the language package sent by the language package management device 1004, determine a language to be displayed from at least one target conversion language corresponding to the language package according to a selection instruction for the language package input by a user or a selection instruction sent by the language management device 1004, and display a converted text in the converted data corresponding to the language to be displayed.
In one embodiment, the data to be converted comprises an unconverted text, a variable name corresponding to the unconverted text, a source language, a terminal identifier and an application identifier; the converted data comprises a converted text after language conversion, the variable name, a target language, a terminal identifier and an application identifier; wherein the terminal identifications of different types of terminals are different.
In one embodiment, the language pack management device 1004 is further configured to distribute the converted data and the language pack to each terminal 1002 for display according to a terminal identifier included in the converted data.
In one embodiment, the translation platform server 1006 is further configured to receive translation modification data; searching converted data to be edited according to the variable name, the target language, the terminal identifier and the application identifier in the converted modified data; updating the converted text in the converted data to be edited according to the converted modified text in the converted modified data; transmitting the updated converted data to the language pack management apparatus 1004;
the language pack management device 1004 is further configured to distribute the updated converted data to a terminal corresponding to a terminal identifier included in the converted data for display;
the terminal 1002 is further configured to receive the updated converted data sent by the language pack management device; and replacing the converted data with the same variable name, target language, terminal identification and application identification as the updated converted data by using the updated converted data.
In an embodiment, the conversion platform server 1006 is further configured to obtain a new target conversion language and the data to be converted corresponding to the new target conversion language; distributing the data to be converted to a queue to be converted corresponding to the newly added target conversion language according to the newly added target conversion language; receiving newly added converted data obtained after the data to be converted is subjected to language conversion; updating the language package according to the newly added target conversion language to obtain an updated language package; sending the newly added converted data and the updated language package to the language package management device;
the language pack management device 1004 is further configured to distribute the new converted data and the updated language pack to each of the terminals for display.
In an embodiment, the terminal 1002 is specifically configured to obtain a locking state at the current time; and if the locking state is locked, continuously displaying the converted text in the converted data corresponding to the current display language.
In one embodiment, the terminal 1002 is further configured to send a selection instruction input by the user for the language pack to the language pack management apparatus 1004;
the language pack management device 1004 is further configured to obtain a locking state of each terminal 1002, and forward the selection instruction to the target terminal 1002 whose locking state is unlocked;
the target terminal 1002 is further configured to determine a language to be displayed from at least one target conversion language corresponding to the language package based on the selection instruction, and display a converted text in the converted data corresponding to the language to be displayed.
For the implementation principle and the beneficial effects of the embodiment of the terminal text display system, reference may be made to the foregoing method embodiment, which is not described herein again.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data to be converted and converted data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a text display method of a terminal.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 12. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a text display method of a terminal. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configurations shown in fig. 11 and 12 are merely block diagrams of portions of configurations related to aspects of the present application, and do not constitute limitations on the computing devices to which aspects of the present application may be applied, as particular computing devices may include more or less components than shown, or combine certain components, or have a different arrangement of components.
Those skilled in the art will appreciate that the configurations shown in fig. 11 and 12 are merely block diagrams of portions of configurations related to aspects of the present application, and do not constitute limitations on the computing devices to which aspects of the present application may be applied, as particular computing devices may include more or less components than shown, or combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: acquiring data to be converted and a target conversion language corresponding to the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one; distributing the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language; receiving converted data obtained after the data to be converted is subjected to language conversion according to the target conversion language and a language packet corresponding to the target conversion language; and sending the converted data and the language package to a language package management device so that the language package management device distributes the converted data and the language package to each terminal for display.
In one embodiment, the data to be converted includes an unconverted text, a variable name corresponding to the unconverted text, a source language, a terminal identifier, and an application identifier; the converted data comprises a converted text after language conversion, the variable name, a target language, a terminal identifier and an application identifier; wherein, the terminal identifications of different types of terminals are different; the processor, when executing the computer program, further performs the steps of: and the language pack management device distributes the converted data and the language pack to each terminal according to the terminal identification included in the converted data for display.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving the conversion modification data; searching converted data to be edited according to the variable name, the target language, the terminal identifier and the application identifier in the converted modified data; updating the converted text in the converted data to be edited according to the converted modified text in the converted modified data; and sending the updated converted data to language pack management equipment so that the language pack management equipment distributes the updated converted data to a terminal corresponding to a terminal identifier included in the converted data for display.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a newly added target conversion language and the data to be converted corresponding to the newly added target conversion language; distributing the data to be converted to a queue to be converted corresponding to the newly added target conversion language according to the newly added target conversion language; receiving newly added converted data obtained after the data to be converted is subjected to language conversion; updating the language package according to the newly added target conversion language to obtain an updated language package; and sending the newly added converted data and the updated language package to the language package management equipment so that the language package management equipment distributes the newly added converted data and the updated language package to each terminal for display.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: receiving the converted data and the language packet sent by the language packet management equipment; wherein the converted data corresponds to at least one target conversion language; receiving a selection instruction for the language pack input by a user or a selection instruction sent by the language management equipment; determining a language to be displayed from at least one target conversion language corresponding to the language packet according to the selection instruction; and displaying the converted text in the converted data corresponding to the language to be displayed.
In one embodiment, the processor, when executing the computer program, further performs the steps of: in response to the selection instruction for the language pack input by the user, sending the selection instruction to the language pack management device to enable the language pack management device to forward the selection instruction to a terminal associated with the terminal receiving the selection instruction input by the user, and instructing the associated terminal to display the converted text in the converted data corresponding to the language to be displayed.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving updated converted data sent by the language pack management equipment; and replacing the converted data with the same variable name, target language, terminal identification and application identification as the updated converted data by using the updated converted data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a locking state at the current moment; and if the locking state is locked, continuously displaying the converted text in the converted data corresponding to the current display language.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: acquiring converted data after data to be converted is converted and a language packet corresponding to a target conversion language to be converted of the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one; and distributing the converted data and the language package to each terminal for displaying.
In one embodiment, the data to be converted includes an unconverted text, a variable name corresponding to the unconverted text, a source language, a terminal identifier, and an application identifier; the converted data comprises a converted text after language conversion, the variable name, a target language, a terminal identifier and an application identifier; wherein, the terminal identifications of different types of terminals are different; the processor, when executing the computer program, further performs the steps of: and distributing the converted data and the language packet to each terminal for display according to the terminal identification included in the converted data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving a selection instruction which is sent by a terminal and input by a user aiming at the language packet; and forwarding the selection instruction to a terminal associated with the terminal receiving the selection instruction input by the user, so that the associated terminal determines a language to be displayed from at least one target conversion language corresponding to the language packet based on the selection instruction, and displays a converted text in converted data corresponding to the language to be displayed.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a locking state of a terminal associated with a terminal receiving the selection instruction input by the user; and forwarding the selection instruction to a target terminal with an unlocked locking state, so that the target terminal determines a language to be displayed from at least one target conversion language corresponding to the language packet based on the selection instruction, and displays a converted text in the converted data corresponding to the language to be displayed.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring data to be converted and a target conversion language corresponding to the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one; distributing the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language; receiving converted data obtained after the data to be converted is subjected to language conversion according to the target conversion language and a language packet corresponding to the target conversion language; and sending the converted data and the language package to a language package management device so that the language package management device distributes the converted data and the language package to each terminal for display.
In one embodiment, the data to be converted includes an unconverted text, a variable name corresponding to the unconverted text, a source language, a terminal identifier, and an application identifier; the converted data comprises a converted text after language conversion, the variable name, a target language, a terminal identifier and an application identifier; wherein, the terminal identifications of different types of terminals are different; the computer program when executed by the processor further realizes the steps of: and the language pack management device distributes the converted data and the language pack to each terminal according to the terminal identification included in the converted data for display.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving the conversion modification data; searching converted data to be edited according to the variable name, the target language, the terminal identifier and the application identifier in the converted modified data; updating the converted text in the converted data to be edited according to the converted modified text in the converted modified data; and sending the updated converted data to language pack management equipment so that the language pack management equipment distributes the updated converted data to a terminal corresponding to a terminal identifier included in the converted data for display.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a newly added target conversion language and the data to be converted corresponding to the newly added target conversion language; distributing the data to be converted to a queue to be converted corresponding to the newly added target conversion language according to the newly added target conversion language; receiving newly added converted data obtained after the data to be converted is subjected to language conversion; updating the language package according to the newly added target conversion language to obtain an updated language package; and sending the newly added converted data and the updated language package to the language package management equipment so that the language package management equipment distributes the newly added converted data and the updated language package to each terminal for display.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving the converted data and the language packet sent by the language packet management equipment; wherein the converted data corresponds to at least one target conversion language; receiving a selection instruction for the language pack input by a user or a selection instruction sent by the language management equipment; determining a language to be displayed from at least one target conversion language corresponding to the language packet according to the selection instruction; and displaying the converted text in the converted data corresponding to the language to be displayed.
In one embodiment, the computer program when executed by the processor further performs the steps of: in response to the selection instruction for the language pack input by the user, sending the selection instruction to the language pack management device to enable the language pack management device to forward the selection instruction to a terminal associated with the terminal receiving the selection instruction input by the user, and instructing the associated terminal to display the converted text in the converted data corresponding to the language to be displayed.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving updated converted data sent by the language pack management equipment; and replacing the converted data with the same variable name, target language, terminal identification and application identification as the updated converted data by using the updated converted data.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a locking state at the current moment; and if the locking state is locked, continuously displaying the converted text in the converted data corresponding to the current display language.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring converted data after data to be converted is converted and a language packet corresponding to a target conversion language to be converted of the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one; and distributing the converted data and the language package to each terminal for displaying.
In one embodiment, the data to be converted includes an unconverted text, a variable name corresponding to the unconverted text, a source language, a terminal identifier, and an application identifier; the converted data comprises a converted text after language conversion, the variable name, a target language, a terminal identifier and an application identifier; wherein, the terminal identifications of different types of terminals are different; the computer program when executed by the processor further realizes the steps of: and distributing the converted data and the language packet to each terminal for display according to the terminal identification included in the converted data.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving a selection instruction which is sent by a terminal and input by a user aiming at the language packet; and forwarding the selection instruction to a terminal of a terminal associated with the terminal receiving the selection instruction input by the user, so that the associated terminal determines a language to be displayed from at least one target conversion language corresponding to the language packet based on the selection instruction, and displays a converted text in converted data corresponding to the language to be displayed.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a locking state of a terminal associated with a terminal receiving the selection instruction input by the user; and forwarding the selection instruction to a target terminal with an unlocked locking state, so that the target terminal determines a language to be displayed from at least one target conversion language corresponding to the language packet based on the selection instruction, and displays a converted text in the converted data corresponding to the language to be displayed.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (15)

1. A text display method of a terminal, the method comprising:
acquiring data to be converted and a target conversion language corresponding to the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the type of the language to be converted of the text content, the target conversion language comprises at least one type, and different characters at different positions in the data conversion template respectively represent which terminal, which application needs to be converted and the content which needs to be converted;
distributing the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language;
receiving converted data obtained after the data to be converted is subjected to language conversion according to the target conversion language and a language package corresponding to the target conversion language, wherein the language package consists of a project name, a language code and the target conversion language to be converted;
and sending the converted data and the language packet to a language packet management device so that the language packet management device acquires a locking state of a terminal associated with a terminal receiving a selection instruction input by a user, and forwards the selection instruction to a target terminal with the locking state being unlocked, so that the target terminal determines a language to be displayed from at least one target conversion language corresponding to the language packet based on the selection instruction, and displays a converted text in the converted data corresponding to the language to be displayed.
2. The method according to claim 1, wherein the data to be converted comprises an unconverted text, a variable name corresponding to the unconverted text, a source language, a terminal identifier and an application identifier; the converted data comprises a converted text after language conversion, the variable name, a target language, a terminal identifier and an application identifier; wherein, the terminal identifications of different types of terminals are different;
the language pack management device distributes the converted data and the language pack to each terminal for display, and includes:
and the language pack management device distributes the converted data and the language pack to each terminal according to the terminal identification included in the converted data for display.
3. The method of claim 2, further comprising:
receiving the conversion modification data;
searching converted data to be edited according to the variable name, the target language, the terminal identifier and the application identifier in the converted modified data;
updating the converted text in the converted data to be edited according to the converted modified text in the converted modified data;
and sending the updated converted data to language pack management equipment so that the language pack management equipment distributes the updated converted data to a terminal corresponding to a terminal identifier included in the converted data for display.
4. The method according to any one of claims 1-3, further comprising:
acquiring a newly added target conversion language and the data to be converted corresponding to the newly added target conversion language;
distributing the data to be converted to a queue to be converted corresponding to the newly added target conversion language according to the newly added target conversion language;
receiving newly added converted data obtained after the data to be converted is subjected to language conversion;
updating the language package according to the newly added target conversion language to obtain an updated language package;
and sending the newly added converted data and the updated language package to the language package management equipment so that the language package management equipment distributes the newly added converted data and the updated language package to each terminal for display.
5. A text display method of a terminal, comprising:
receiving the converted data and the language packet sent by the language packet management equipment; wherein the converted data corresponds to at least one target conversion language, the converted data and the language package are distributed to a queue to be converted corresponding to the target conversion language by a conversion platform server according to the target conversion language for language conversion and then are sent to the language package management equipment, so that the language pack management apparatus manages the language pack by acquiring the lock state of the terminal associated with the terminal receiving the selection instruction input by the user, and the selection instruction is transmitted to the target terminal with the unlocked locking state, the data to be converted is data formed according to a preset data conversion template, different characters at different positions in the data conversion template respectively represent which terminal, which application needs to be converted and the content needing to be converted, the language package consists of a project name, a language code and a target conversion language which needs to be converted;
receiving a selection instruction for the language pack input by a user or a selection instruction sent by the language management equipment;
determining a language to be displayed from at least one target conversion language corresponding to the language packet according to the selection instruction;
and displaying the converted text in the converted data corresponding to the language to be displayed.
6. The method of claim 5, further comprising:
in response to the selection instruction for the language pack input by the user, sending the selection instruction to the language pack management device to enable the language pack management device to forward the selection instruction to a terminal associated with the terminal receiving the selection instruction input by the user, and instructing the associated terminal to display converted texts in converted data corresponding to the languages to be displayed.
7. The method of claim 6, further comprising:
receiving updated converted data sent by the language pack management equipment;
and replacing the converted data with the same variable name, target language, terminal identification and application identification as the updated converted data by using the updated converted data.
8. A text display method of a terminal, the method comprising:
acquiring converted data after data to be converted is converted and a language packet corresponding to a target conversion language to be converted of the data to be converted; wherein, the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of the language to be converted of the text content, the target conversion language includes at least one, the converted data and the language pack are obtained from a conversion platform server based on a language pack management device, the conversion platform server distributes the data to be converted to the queue to be converted corresponding to the target conversion language according to the target conversion language to perform language conversion to obtain the converted data and the language packet, different characters at different positions in the data conversion template respectively represent which terminal, which application needs to be converted and the content needing to be converted, the language package consists of a project name, a language code and a target conversion language which needs to be converted;
the method comprises the steps of obtaining a locking state of a terminal associated with a terminal receiving a selection instruction input by a user, forwarding the selection instruction to a target terminal with an unlocked locking state, distributing the converted data and a language package to the target terminal, enabling the target terminal to determine a language to be displayed from at least one target conversion language corresponding to the language package based on the selection instruction, and displaying a converted text in the converted data corresponding to the language to be displayed.
9. The method according to claim 8, wherein the data to be converted comprises an unconverted text, a variable name corresponding to the unconverted text, a source language, a terminal identifier and an application identifier; the converted data comprises a converted text after language conversion, the variable name, a target language, a terminal identifier and an application identifier; wherein, the terminal identifications of different types of terminals are different;
the distributing the converted data and the language pack to each terminal for display includes:
and distributing the converted data and the language packet to each terminal for display according to the terminal identification included in the converted data.
10. The method of claim 9, further comprising:
receiving a selection instruction which is sent by a terminal and input by a user aiming at the language packet;
and forwarding the selection instruction to a terminal associated with the terminal receiving the selection instruction input by the user, so that the associated terminal determines a language to be displayed from at least one target conversion language corresponding to the language packet based on the selection instruction, and displays a converted text in converted data corresponding to the language to be displayed.
11. A text display apparatus of a terminal, the apparatus comprising:
the acquisition module is used for acquiring data to be converted and a target conversion language corresponding to the data to be converted; the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the type of the language to be converted of the text content, the target conversion language comprises at least one type, and different characters at different positions in the data conversion template respectively represent which terminal, which application needs to be converted and the content which needs to be converted;
the distribution module is used for distributing the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language;
the receiving module is used for receiving converted data obtained after the data to be converted is subjected to language conversion according to the target conversion language and a language package corresponding to the target conversion language, wherein the language package consists of a project name, a language code and the target conversion language to be converted;
and the sending module is used for sending the converted data and the language packet to a language packet management device so that the language packet management device obtains the locking state of a terminal associated with a terminal receiving a selection instruction input by a user, and forwards the selection instruction to a target terminal with the locking state being unlocked, so that the target terminal determines a language to be displayed from at least one target conversion language corresponding to the language packet based on the selection instruction, and displays the converted text in the converted data corresponding to the language to be displayed.
12. A text display apparatus of a terminal, the apparatus comprising:
the first receiving module is used for receiving the converted data and the language packet sent by the language packet management equipment; wherein the converted data corresponds to at least one target conversion language, the converted data and the language package are distributed to a queue to be converted corresponding to the target conversion language by a conversion platform server according to the target conversion language for language conversion and then are sent to the language package management equipment, so that the language pack management apparatus manages the language pack by acquiring the lock state of the terminal associated with the terminal receiving the selection instruction input by the user, and the selection instruction is transmitted to the target terminal with the unlocked locking state, the data to be converted is data formed according to a preset data conversion template, different characters at different positions in the data conversion template respectively represent which terminal, which application needs to be converted and the content needing to be converted, the language package consists of a project name, a language code and a target conversion language which needs to be converted;
the second receiving module is used for receiving a selection instruction aiming at the language pack input by a user or a selection instruction sent by the language management equipment;
the determining module is used for determining a language to be displayed from at least one target conversion language corresponding to the language package according to the selection instruction;
and the display module is used for displaying the converted text in the converted data corresponding to the language to be displayed.
13. A text display apparatus of a terminal, the apparatus comprising:
the acquisition module is used for acquiring converted data after data to be converted is converted and a language packet corresponding to a target conversion language to be converted of the data to be converted; wherein, the data to be converted is data formed according to a preset data conversion template, the target conversion language is used for representing the category of the language to be converted of the text content, the target conversion language includes at least one, the converted data and the language pack are obtained from a conversion platform server based on a language pack management device, the conversion platform server distributes the data to be converted to the queue to be converted corresponding to the target conversion language according to the target conversion language to perform language conversion to obtain the converted data and the language packet, different characters at different positions in the data conversion template respectively represent which terminal, which application needs to be converted and the content needing to be converted, the language package consists of a project name, a language code and a target conversion language which needs to be converted;
the distribution module is used for acquiring the locking state of a terminal associated with a terminal for receiving a selection instruction input by a user, forwarding the selection instruction to a target terminal with the locking state being unlocked, distributing the converted data and the language package to the target terminal, so that the target terminal determines a language to be displayed from at least one target conversion language corresponding to the language package based on the selection instruction, and displays the converted text in the converted data corresponding to the language to be displayed.
14. A terminal text display system is characterized in that the system comprises a conversion platform server, a language pack management device and at least one terminal;
the conversion platform server is used for acquiring data to be converted and a target conversion language corresponding to the data to be converted, distributing the data to be converted to a queue to be converted corresponding to the target conversion language according to the target conversion language, receiving converted data obtained after the data to be converted is subjected to language conversion according to the target conversion language and a language packet corresponding to the target conversion language, and sending the converted data and the language packet to language packet management equipment, wherein different characters at different positions in a data conversion template respectively represent which terminal is, which application needs to be converted, and content which needs to be converted, and the language packet is composed of a project name, a language code and the target conversion language which needs to be converted;
the data to be converted is data formed according to a preset conversion data template, the target conversion language is used for representing the category of languages required to be converted for text content, and the target conversion language comprises at least one;
the language pack management device is used for acquiring the locking state of a terminal associated with a terminal receiving a selection instruction input by a user and forwarding the selection instruction to a target terminal with an unlocked locking state;
the target terminal is used for receiving the converted data and the language package sent by the language package management device, determining a language to be displayed from at least one target conversion language corresponding to the language package according to a selection instruction aiming at the language package input by a user or the selection instruction sent by the language management device, and displaying the converted text in the converted data corresponding to the language to be displayed.
15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.
CN202010493782.2A 2020-06-03 2020-06-03 Text display method, device and system of terminal and storage medium Active CN111857906B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010493782.2A CN111857906B (en) 2020-06-03 2020-06-03 Text display method, device and system of terminal and storage medium
PCT/CN2020/119739 WO2021243916A1 (en) 2020-06-03 2020-09-30 Text display method and apparatus for terminals, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010493782.2A CN111857906B (en) 2020-06-03 2020-06-03 Text display method, device and system of terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111857906A CN111857906A (en) 2020-10-30
CN111857906B true CN111857906B (en) 2022-02-01

Family

ID=72985495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010493782.2A Active CN111857906B (en) 2020-06-03 2020-06-03 Text display method, device and system of terminal and storage medium

Country Status (2)

Country Link
CN (1) CN111857906B (en)
WO (1) WO2021243916A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114997118A (en) * 2021-03-02 2022-09-02 北京字跳网络技术有限公司 Document processing method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1530861A (en) * 2003-02-24 2004-09-22 Language translating method and system
CN102541844A (en) * 2010-11-01 2012-07-04 微软公司 Providing multi-lingual translation for third party content feed applications
CN106155652A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 A kind of generation method and system of multi-language data file
CN108399166A (en) * 2018-02-07 2018-08-14 深圳壹账通智能科技有限公司 Text interpretation method, device, computer equipment and storage medium
CN110673920A (en) * 2019-09-29 2020-01-10 深圳前海环融联易信息科技服务有限公司 Internationalization processing method and device, computer equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060117304A1 (en) * 2004-11-23 2006-06-01 Microsoft Corporation Method and system for localizing a package
CN101216820A (en) * 2008-01-17 2008-07-09 北京中星微电子有限公司 Multi-language translation method and device
CN101566946A (en) * 2008-04-25 2009-10-28 北京闻言科技有限公司 Method for flexibly supporting software multi-language version
CN102693322B (en) * 2012-06-01 2014-10-22 杭州海康威视数字技术股份有限公司 Multi-language supporting webpage processing method, webpage loading method and systems
US9805030B2 (en) * 2016-01-21 2017-10-31 Language Line Services, Inc. Configuration for dynamically displaying language interpretation/translation modalities
CN107590110B (en) * 2017-09-20 2021-09-28 广州酷狗计算机科技有限公司 Text display method and device
CN109032717A (en) * 2018-06-15 2018-12-18 福建天晴数码有限公司 A kind of method and system updating interface display language
CN109947512B (en) * 2019-03-18 2020-06-05 北京字节跳动网络技术有限公司 Text adaptive display method, device, server and storage medium
CN110362370B (en) * 2019-06-14 2022-10-18 平安科技(深圳)有限公司 Webpage language switching method and device and terminal equipment
CN110597591B (en) * 2019-09-17 2022-10-14 深圳融昕医疗科技有限公司 Interface multi-language implementation method and device of embedded equipment and storage medium
CN111061533A (en) * 2019-12-18 2020-04-24 深圳前海环融联易信息科技服务有限公司 Page multi-language display method and device, electronic equipment and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1530861A (en) * 2003-02-24 2004-09-22 Language translating method and system
CN102541844A (en) * 2010-11-01 2012-07-04 微软公司 Providing multi-lingual translation for third party content feed applications
CN106155652A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 A kind of generation method and system of multi-language data file
CN108399166A (en) * 2018-02-07 2018-08-14 深圳壹账通智能科技有限公司 Text interpretation method, device, computer equipment and storage medium
CN110673920A (en) * 2019-09-29 2020-01-10 深圳前海环融联易信息科技服务有限公司 Internationalization processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
WO2021243916A1 (en) 2021-12-09
CN111857906A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
JP6868705B2 (en) Message processing methods, storage media, and computer equipment
CN106775836B (en) Interface display method and interface display device
US11134040B2 (en) Managing customer relationship using multiple chat servers designed to interface with service applications
CN109901834A (en) Document file page generation method, device, computer equipment and storage medium
CN109343851A (en) Page generation method, device, computer equipment and storage medium
CN102077553B (en) Method, apparatus and computer program product for providing context triggered distribution of context models
CN113268226A (en) Page data generation method and device, storage medium and equipment
CN106230977B (en) A kind of client functionality loading method, system, client and server-side
CN110222288B (en) Page display method, device and storage medium
KR20220127334A (en) Table browsing methods, devices, electronic devices and storage media in documents
CN113190152A (en) Method and device for switching application program theme
CN112016023A (en) Service processing method, device, terminal and storage medium
CN111857906B (en) Text display method, device and system of terminal and storage medium
CN113076499A (en) Page interaction method, device, equipment, medium and program product
CN110347454A (en) Application program theme setting method, terminal equipment control method and device, terminal device and computer readable storage medium
CN113157270A (en) Page adaptation method and device
CN110855562A (en) Internet of things data distribution management method and system, storage medium and management terminal
CN111857782B (en) Interface updating method and device, computer equipment and storage medium
CN113704671A (en) Page generation method and device
CN114125067A (en) Front-end and back-end separated gray scale publishing method, front-end server and configuration server
CN113992622A (en) Multi-template aggregation message notification sending system and method based on unified model
WO2016107119A1 (en) Method and device for realizing unstructured supplementary service data menu
CN112817593A (en) Control page display method and device, storage medium and electronic device
CN112836148A (en) Report display method and device, storage medium and electronic equipment
CN112612531A (en) Application program starting method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant