Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Language resource processing method and device

A language resource and processing method technology, applied in the field of language resource processing, can solve problems such as error-prone, low efficiency, and inability to feedback the progress of multilingual completion of applications, achieving high accuracy, high efficiency, and avoiding improper translation effects

Pending Publication Date: 2019-11-01
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: purely manual operation, low efficiency, and error-prone; unable to feedback the progress of the multilingual completion of the application program; if the resources are modified, such as adding new resources , you need to search in huge resource files and frequently convert between EXCEL and XML

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
  • Language resource processing method and device
  • Language resource processing method and device
  • Language resource processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0037] The terms involved in the present invention are explained below.

[0038] Groovy: It is an agile development language based on the JAVA virtual machine. It combines many powerful features of Python, Ruby and Smalltalk. Groovy code can be well combined with JAVA code and can also be used to extend existing code. You can use Libraries written in other JAVA languages;...

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 invention discloses a language resource processing method and device, and relates to the technical field of computers. One specific embodiment of the method comprises the steps of obtaining language resource data of a corresponding language resource file according to at least one received language resource parameter; creating at least one intermediate file according to the number of the language resource parameters; and writing the key and the corresponding value in each piece of language resource data into the corresponding intermediate file. According to the embodiment of the invention,the language resource data of the language resource file is obtained, and the key value of the language resource data is written into the created intermediate file, so that the conversion from the XMLfile to the intermediate file is automatically realized, the efficiency is high, and the accuracy is high.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for processing language resources. Background technique [0002] An internationalized product design will involve multiple languages. In Android, Extensible Markup Language (XML) files are used to store specific language resources. The specific format is as follows: [0003] <string name="app_name">Chinese application name (zh_CN) Simplified Chinese [0004] <string name="app_name">English Name(en_US) American English [0005] When the user switches the language environment, the application program automatically obtains the directory of the corresponding language resource according to the current language environment and the specific name, that is, app_name, so as to realize the switching of the multilingual version. [0006] In order to realize the switching of the above-mentioned multi-language versions, in the prior art, developers first develop appli...

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 Applications(China)
IPC IPC(8): G06F9/451G06F17/27
CPCG06F9/454
Inventor 赵宇
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products