Method and device for localizing software

A software version and software technology, applied in the computer field, can solve problems such as inconvenient software maintenance, heavy workload, and logical confusion, and achieve the effects of easy maintenance, reduced workload, and time saving

Active Publication Date: 2013-09-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The first method: If there are logic or bugs (errors, defects, loopholes or problems) in the software code that need to be modified, each localized software version needs to be modified synchronously, and the workload is heavy, and the complete code needs to be searched for changes places are also easy to miss
The second method: when using macros to achieve different localizations, if many localizations need to be implemented, a large number of judgments will be generated in many places in the software code, which will easily cause logical confusion and make it difficult to maintain the software

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
  • Method and device for localizing software
  • Method and device for localizing software
  • Method and device for localizing software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] see figure 1 , the embodiment of the present invention provides a method for software localization, including:

[0025] 101: Split the software into common code parts and localized code parts.

[0026] 102: Perform localization modification on the localization code part.

[0027] 103: Logically connect the common code part with the modified localized code part to obtain localized software.

[0028] Wherein, before the localization modification is performed on the localization code part, the method further includes:

[0029] Copy the localized code part to obtain multiple localized code parts;

[0030] Correspondingly, make localization modifications to the localization code part, specifically:

[0031] Make localization modifications to multiple localization code parts respectively;

[0032] Correspondingly, the general code part is logically connected with the localized code part after localization modification to obtain the localized software, specifically:

[0...

Embodiment 2

[0047] see figure 2 , the embodiment of the present invention provides a method for software localization, including:

[0048] 201: Extract localization codes from software codes.

[0049] Among them, the localization code refers to the code that needs to be modified when realizing software localization. By modifying the localization code, each localized software obtained after localization can meet the requirements of the language and business habits of the country or region used, and By modifying the localization code, it is ensured that each localization software obtained after localization is an independent application without installation conflicts and the like.

[0050] On the Symbian platform, the code that generally needs to be changed when implementing software localization includes the code part corresponding to the resource file, the UID (Unique Identifier, unique identifier), file name, and string resource corresponding to the MMP (Project Description File) file....

Embodiment 3

[0065] see image 3 , the embodiment of the present invention provides a software localization device, the device includes:

[0066] A splitting module 301, configured to split the software into a common code part and a localized code part;

[0067] The localization modification module 302 is used to perform localization modification on the localization code part after the splitting module 301 splits the software into a general code part and a localization code part;

[0068] The logical connection module 303 is configured to logically connect the common code part with the modified localized code part after the localized modification module 302 performs localized modification on the localized code part to obtain localized software.

[0069] Further, see Figure 4 , the device also includes:

[0070] The copying module 304 is used to copy the localized code part to obtain multiple localized code parts after the splitting module 301 splits the software into a common code part...

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 method and a device for localizing software, and belongs to the technical field of a computer. The method comprises the following steps of disassembling the software into a common code part and a localized code part; carrying out the localized modification for the localized code part; and logically connecting the common code part with the localized code part after the localized modification to obtain the localized software. The device comprises a disassembling module, a localizing modification module and a logic connection module. When the localization of the software is realized, only fewer codes are changed, so that the workload is reduced, the time can be saved, and the place needing to be altered can be prevented from being missed; and since the common code part is identical, one localization software can be added only by copying one localized code part, no macro is added, the logic chaos of the software can be avoided, and the software is convenient to maintain.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for software localization. Background technique [0002] With the development of computer technology, system software that can provide various operating systems and application software that can realize various applications have been continuously developed to provide services for people. With the frequent interpersonal communication, the developed software (system software and application software, etc.) not only needs to be usable in the country or region where it was developed, but also needs to be usable in other countries or regions, that is, the developed software Needs to be met can be used in different countries or regions. In order to enable the developed software to be used in different countries or regions, at present, the usual practice is to localize the software into a version that can be used in the country or region according to the language ...

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/44
Inventor 邓坚开平苏春山邹泉
Owner TENCENT TECH (SHENZHEN) CO LTD
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