Unlock instant, AI-driven research and patent intelligence for your innovation.

Increment-based front-end multilingual international translation method and device

A multilingual, incremental technology, applied in the field of translation, which can solve problems such as errors and ignoring translation nodes

Active Publication Date: 2021-09-14
TURING AI INST NANJING CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the definition of React-Intl, if a node defines an ID, it is considered to be the key value specified by the user. If there is no ID, it will be hashed according to the defaultMessage. Otherwise, the translation node will be ignored. Therefore, if the developer forgets to set the defaultMessage will generate an error

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Increment-based front-end multilingual international translation method and device
  • Increment-based front-end multilingual international translation method and device
  • Increment-based front-end multilingual international translation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0043] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily Describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides an increment-based front-end multilingual internationalization translation method and device, and relates to translation technology. IDs are generated for translation nodes in a translation database according to preset rules, and the IDs are backfilled into a code base. Wherein, the IDs corresponding to each of the translation nodes are different; the text to be translated input by the user is received, and a translation result is generated based on the text to be translated and the ID, wherein the preset rules include: obtaining Extract the time stamp and self-increment sequence of the translation node, and generate the technical solution of the ID mark based on the time stamp and the self-increment sequence. The scheme of automatically generating and backfilling the ID mark can save developers from paying attention to the ID mark Maintenance, there will be no error due to not filling in the defaultMessage, and at the same time, it is guaranteed that even if other fields are modified, it will not affect the final generated result.

Description

technical field [0001] The invention relates to translation technology, in particular to an increment-based front-end multilingual internationalization translation method and device. Background technique [0002] In internationalized web applications, it is very common to switch to different languages ​​and display different text on the page content, which we call i18n internationalization. The main front-end solution for internationalization is the mapping table, which stores the mapping tables of different countries in the form of key-value, and then obtains the corresponding value from the mapping table according to the specified key in the code for display. In a common backend system, if internationalization is required, a similar scheme is adopted. For example, in the Java Spring project, the .properties file is used to store all the key-value values ​​that need to be internationalized in the backend. When you need to add a foreign language, you only need to copy a cur...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F40/58
CPCG06F40/58
Inventor 郭志强彭林伟李强龙利民
Owner TURING AI INST NANJING CO LTD