Supercharge Your Innovation With Domain-Expert AI Agents!

Hard coding processing method and device

A processing method, hard-coded technology, applied in the computer field, can solve problems such as bringing problems online, and achieve the effect of reducing labor costs and reducing manual participation

Pending Publication Date: 2022-08-02
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The whole process of manual operation should be very careful, because once there is a mistake in copying, such as missing or adding a letter, it is easy to bring the problem online

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
  • Hard coding processing method and device
  • Hard coding processing method and device
  • Hard coding processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered 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 from the following description for clarity and conciseness.

[0050] figure 1 It is a schematic flowchart of a main flow of a hard-coding processing method according to an embodiment of the present invention. like figure 1 As shown, the hard-coding processing method may include the following steps:

[0051] Step S101: Store the information related to hard coding in one or more hard coding files to the language configuration file, wher...

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 hard coding processing method and device, and relates to the technical field of computers. According to one specific embodiment, the method comprises the steps that information, related to hard codes, in one or more hard code files is stored in a language configuration file, and the information related to the hard codes comprises a main key-to-be-edited character string existing in a key-value pair mode and position information used for indicating the position of the to-be-edited character string; modifying a character string to be edited in the hard coding file into a key value corresponding to the reference primary key; converting the language configuration file into an editable file in a specific format, so that a translator translates a to-be-edited character string included in the editable file; utilizing the translated character string in the editable file to update a to-be-edited character string corresponding to the primary key in the language configuration file; and updating the hard coded file based on the position information, the primary key and the updated to-be-edited character string. According to the embodiment, the hard coded file is electronically updated.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, to a method and device for hard-coding processing. Background technique [0002] With the internationalization development requirements of various Internet platforms, developers are required to manually find the hard-coded strings that require language translation, and then manually copy these strings into files to provide translators for translation. After the translator completes the translation, the developer then copies the translated string to a specific hardcoded location. The entire manual process has to be done with great care, because once the copy is wrong, such as one missing or more letter, it is easy to bring the problem to the line. SUMMARY OF THE INVENTION [0003] In view of this, the embodiments of the present invention provide a method and apparatus for processing hard-coding, which realizes electronic updating of hard-coding files, so as to reduc...

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
IPC IPC(8): G06F16/17G06F16/172G06F16/13G06F16/14G06F16/16
CPCG06F16/173G06F16/172G06F16/13G06F16/164G06F16/166G06F16/148
Inventor 张兵磊马炜峰黄志强苏琦宋立仙
Owner BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More