Code file generation method, computer equipment and readable storage medium

A technology of code files and computer programs, which is applied in computer equipment and readable storage media, and in the field of code file generation, can solve the problems of high labor cost, long time, low efficiency, etc., and achieve the effect of automatic generation

Pending Publication Date: 2021-12-07
中科曙光国际信息产业有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method requires a lot of labor costs, takes a lot of time, and is very inefficient.

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
  • Code file generation method, computer equipment and readable storage medium
  • Code file generation method, computer equipment and readable storage medium
  • Code file generation method, computer equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0045] First of all, in order to facilitate the understanding of the technical methods provided by the embodiments of the present application, the terms involved in the embodiments of the present application are explained:

[0046] (1) Code file

[0047] The code files in the embodiments of the present application may be called scripts. A script (Script) is a set including various program commands, and the program commands in the set are usually stored in an independent executable file. An executable file (executable file) refers to a file that can be loaded and executed b...

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 embodiment of the invention provides a code file generation method, computer equipment and a readable storage medium. The method comprises the steps of obtaining an original code file of a target project, the original code file comprising a plurality of key value pairs, the key value pairs comprising keywords and values of the keywords, and the values of the keywords being character strings of a first language type; according to the contrast file, determining a translated text of each character string of the first language type in the original code file under multiple language types; using the contrast file for indicating a translated text of the value of the keyword related to the target item under multiple language types; and generating a code file corresponding to each language type in the multiple language types according to the translated text of each character string of the first language type under the multiple language types and the original code file. The generation cost of the internationalized code file can be reduced, and the creation efficiency of the internationalized code file is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a code file generation method, computer equipment and a readable storage medium. Background technique [0002] Some scripts required by the computer to run usually include key-value pairs, and the key-value pairs include key and value, wherein the key may be a parameter name, and the value may be a parameter value. When docking some internationalization projects, it is necessary to perform internationalization adaptation processing on scripts, and convert scripts into internationalization scripts (or internationalization code files). The internationalization adaptation of scripts mainly involves the translation of value. For example, if the value in the key-value pair is "time", you can translate "time" into "time" to generate an internationalized script. [0003] At present, it mainly relies on programmers to manually write internationalization files and compile va...

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): G06F8/73
CPCG06F8/73
Inventor 安晓普王雄斌曹梦飞原帅王家尧张磊
Owner 中科曙光国际信息产业有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products