CN102467376A - Modification method and device for character information - Google Patents

Modification method and device for character information Download PDF

Info

Publication number
CN102467376A
CN102467376A CN2010105386753A CN201010538675A CN102467376A CN 102467376 A CN102467376 A CN 102467376A CN 2010105386753 A CN2010105386753 A CN 2010105386753A CN 201010538675 A CN201010538675 A CN 201010538675A CN 102467376 A CN102467376 A CN 102467376A
Authority
CN
China
Prior art keywords
term
software
resource file
mark
replacement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010105386753A
Other languages
Chinese (zh)
Other versions
CN102467376B (en
Inventor
李国坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201010538675.3A priority Critical patent/CN102467376B/en
Publication of CN102467376A publication Critical patent/CN102467376A/en
Application granted granted Critical
Publication of CN102467376B publication Critical patent/CN102467376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a modification method and device for character information, which are applied to modification of character information in software. The software provides a user interface and a resource file. The method comprises the following steps of: setting a wording replacing table, wherein the wording replacing table comprises the correspondence relationship between the current wording and replacing wording; marking the current wording to be replaced during the resource file definition; and filtering out the marked wording when the software is started, removing the mark, modifying the marked wording into the replacing wording according to the wording replacing table and operating the software according to the replaced wording. After the embodiment of the invention is applied, the replacement can be realized only through changing the content in the wording replacing table, the operation is simple, and in addition, the modification on the character information in the software can be efficiently and accurately realized.

Description

A kind of amending method of Word message and device
Technical field
The present invention relates to computer software technical field, particularly a kind of amending method of Word message and device in application software.
Background technology
Existing enterprise's resource planning (ERP, Enterprise Resource Planning) management software is accepted by more and more enterprises and is used.In enterprise; Word message in the applied ERP management software (like help, title, menu, button or the like) is also inequality; When a plurality of enterprises use at the family same version software, can use the habitual appellation of enterprises through the mode of revising Word message.Promptly when business management software is customized enforcement, accelerate the be familiar with process of client, reduce client's training cost, make that the versatility of software is strengthened user interface (UI) information.At present, the most frequently used is to revise Word message through resource file, specific as follows:
Referring to Fig. 1, it is the schematic flow sheet of existing modification Word message.This flow process is applicable to the multilingual literal, like Chinese, Japanese, English, Korean or the like.Be that example describes below with Chinese.
The user selects the literal of certain language form through client, and gets into respective interface, for example, after selecting language to be Chinese, gets into Chinese interface.In current application, the user hopes " prescription " this speech is revised as " key element table ", then need be through the interface in current Chinese resource file; Input resource key 1 is like somple_resource_key1, at this moment; Current interface can be fed back Word message 1; Like " this prescription be cited unsuppressible-suppression ", afterwards, the user again through manual operations with key assignments " this unsuppressible-suppression that has been cited of filling a prescription! " in term " prescription " be revised as " key element table ", at this moment, this key assignments changes to " this key element table unsuppressible-suppression that has been cited! ", so far, realized modification to the Word message in the resource key 1.
To access modification successively respectively if also have other resource key to relate to " prescription ",, then adopt above-mentioned similar approach to revise successively if also will revise other Word message.
It is thus clear that existing amending method is owing to need to revise one by one by hand, thereby alter mode is very loaded down with trivial details, efficient is low, be prone to make mistakes, and this alter mode general user is difficult to operation, needs very that the personage of specialty could revise, and application is inconvenience very.
Summary of the invention
The object of the present invention is to provide a kind of amending method and device of Word message, to realize modification simply, efficiently to software Chinese words information.
The embodiment of the invention provides a kind of amending method of Word message, is applicable to the Word message of revising in the software, and said software provides user interface, resource file, and this method comprises:
The term substitution table is set, comprises current use term and the corresponding relation of replacing term in the said term substitution table;
When the definition resource file, the current use term that need are replaced marks;
When said software startup, filter out said by the mark term, remove said mark, according to said term substitution table, the said term that is marked is revised as the replacement term, according to the replacement after term move said software.
Carry out again when wherein, the statement of said filter operation in resource file need move.
Wherein, behind said software startup, resource file is loaded in the buffer memory, said filter out said by the mark term, remove said mark, according to said term substitution table, with the said term that is marked be revised as the replacement term be that the statement in the buffer memory is carried out.
Wherein, the term in the said resource file is Chinese, Japanese, Korean, English, German or French.
Wherein, the said symbol of definition as required that is labeled as.
The embodiment of the invention also provides a kind of modifier of Word message, is applicable to the Word message of revising in the software, and said software provides user interface, resource file, and this device comprises:
The unit is set, is used to be provided with the term substitution table, comprise current use term and the corresponding relation of replacing term in the said term substitution table;
The mark unit is used for when the definition resource file, and the current use term that need are replaced marks;
Revise the replacement unit, be used for when said software startup, filter out and saidly removed said mark,, the said term that is marked is revised as the replacement term, move said software according to the term after the replacement according to said term substitution table by the mark term.
Carry out again when wherein, the statement of said filter operation in resource file need move.
Wherein, said device also comprises:
Buffer unit is used for behind said software startup, resource file being loaded in the buffer memory;
Said modification replacement unit is performed filters out and is saidly removed said mark by the mark term, and according to said term substitution table, the operation that the said term that is marked is revised as the replacement term is to the statement executable operations in the buffer memory.
Wherein, the term in the said resource file is Chinese, Japanese, Korean, English, German or French.
Wherein, the said symbol of definition as required that is labeled as.
Use the embodiment of the invention, only need content in the change term substitution table, just can realize replacement, not only simple to operate, and can make amendment by the Word message in the software efficiently and accurately.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention and technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment and the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of existing modification Word message;
Fig. 2 is the amending method process flow diagram according to a kind of Word message of the embodiment of the invention;
Fig. 3 is a schematic flow sheet according to an embodiment of the present;
Fig. 4 is the schematic flow sheet according to another kind of embodiment of the present invention;
Fig. 5 is the modifier logical schematic according to a kind of Word message of the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Related " term " of this paper is appellation, special-purpose word or wording specific in a certain scope.Be exactly a kind of specific names briefly.
Referring to Fig. 2, it is the amending method process flow diagram according to a kind of Word message of the embodiment of the invention, and this method is applicable to the Word message of revising in the software, and said software provides user interface, resource file, and this method comprises:
Step 201 is provided with the term substitution table, comprises current use term and the corresponding relation of replacing term in the said term substitution table;
For example, term substitution table as described in Table 1 is set:
Current use term The replacement appellation
1 Prescription The key element table
2 ... ?...
Table 1
Step 202, when the definition resource file, the current use term that need are replaced marks;
Here, mark is the symbol that defines as required, for example, can use " [[[]]] " that current use term is marked; This paper does not limit the symbol of mark, and any symbol that marks of can realizing can be applied to the embodiment of the invention;
Need to prove, have the corresponding relation of resource key and Word message in the resource file.For example, resource key 1 is " somple_resource_key1 ", and this resource key 1 word information relates is that key assignments is that unsuppressible-suppression has been cited " this [[[prescription]]] "! "
Step 203, when said software startup, filter out said by the mark term, remove said mark, according to said term substitution table, the said term that is marked is revised as the replacement term, according to the replacement after term move said software.
Need to prove, carry out again when the filter operation in the above-mentioned steps 203 can the statement in resource file need move.That is to say, filter replacement operation in use again.
Need to prove; Behind said software startup, can also be loaded into resource file in the buffer memory, at this moment earlier; Said filter out said by the mark term; Remove said mark, according to said term substitution table, the operation that the said term that is marked is revised as the replacement term is that the statement in the buffer memory is carried out.
Need to prove that the term in the above-mentioned resource file can be the Word message of any kind, for example, can be Chinese, Japanese, Korean, English, German or French or the like, among this paper, the Word message kind in the resource file is not done qualification.
Use the method that the embodiment of the invention provides, only need content in the change term substitution table, just can realize replacement, not only simple to operate, and can make amendment by the Word message in the software efficiently and accurately.
Below in conjunction with specific embodiment the present invention is elaborated again.
Referring to Fig. 3, it is a schematic flow sheet according to an embodiment of the present, in the present embodiment, is to be loaded into buffer unit earlier, the data in the buffer unit is handled again.Be that Chinese is example still in the present embodiment, need suppose " prescription " be revised as " key element table " with the literal type in the resource file, and, setting corresponding relation in the term substitution table; And, in the definition procedure of resource file, current use term has been added mark like " prescription ", as " unsuppressible-suppression has been cited this [[[prescription]]]! ".
The user selects the literal of certain language form through client, and gets into respective interface, for example, after selecting language to be Chinese, gets into Chinese interface.
When software startup, all resource key in each resource file are loaded in the buffer memory successively, also promptly, be Word message 1 with resource key 1 pairing key assignments, resource key 2 pairing key assignments are Word message 2 or the like, are loaded in the buffer memory respectively.
Afterwards, in buffer memory, filter out said by the mark term, remove said mark, according to said term substitution table, the said term that is marked is revised as the replacement term, according to the replacement after term move said software.
For example; In buffer memory,, remove mark to " prescription " with filtering out " [[[prescription]]] " that all are marked; And according to the term substitution table; " prescription " replaced with " key element table ", at this moment, resource key 1 as the pairing key assignments of somple_resource_key1 for " this key element table unsuppressible-suppression that has been cited! ".
Like this, the user only need change content in the term substitution table, just can realize replacement, and is not only simple to operate, and realized the modification to software Chinese words information efficiently and accurately.
Referring to Fig. 4, it is the schematic flow sheet according to another kind of embodiment of the present invention, in the present embodiment, just the data in the resource file is processed when being operation.Be that Chinese is example still in the present embodiment, need suppose " prescription " be revised as " key element table " with the literal type in the resource file, and, setting corresponding relation in the term substitution table; And, in the definition procedure of resource file, current use term has been added mark like " prescription ", as " unsuppressible-suppression has been cited this [[[prescription]]]! ".
The user selects the literal of certain language form through client, and gets into respective interface, for example, after selecting language to be Chinese, gets into Chinese interface.
Behind software startup, in use, filter out said by the mark term, remove said mark, according to said term substitution table, the said term that is marked is revised as the replacement term, according to the replacement after term move said software.
For example; When using certain statement, filter out " [[[prescription]]] " that mark in this statement, remove mark to " prescription "; And according to the term substitution table; " prescription " replaced with " key element table ", at this moment, resource key 1 as the pairing key assignments of somple_resource_key1 for " this key element table unsuppressible-suppression that has been cited! ".
Like this, the user only need change content in the term substitution table, just can realize replacement, and is not only simple to operate, and realized the modification to software Chinese words information efficiently and accurately.
The embodiment of the invention also provides a kind of modifier of Word message, referring to Fig. 5, is applicable to the Word message of revising in the software, and said software provides user interface, resource file, and this device comprises:
Unit 501 is set, is used to be provided with the term substitution table, comprise current use term and the corresponding relation of replacing term in the said term substitution table;
Mark unit 502 is used for when the definition resource file, and the current use term that need are replaced marks;
Revise replacement unit 503, be used for when said software startup, filter out and saidly removed said mark,, the said term that is marked is revised as the replacement term, move said software according to the term after the replacement according to said term substitution table by the mark term.
When need moving, carry out again the statement of above-mentioned filter operation in resource file.
Said apparatus can also comprise:
Buffer unit (figure does not show) is used for behind said software startup, resource file being loaded in the buffer memory;
Said modification replacement unit is performed filters out and is saidly removed said mark by the mark term, and according to said term substitution table, the operation that the said term that is marked is revised as the replacement term is to the statement executable operations in the buffer memory.
Term in the above-mentioned resource file is Chinese, Japanese, Korean, English, German or French or the like.
The above-mentioned symbol of definition as required that is labeled as.
Use the device that the embodiment of the invention provides, only need content in the change term substitution table, just can realize replacement, not only simple to operate, and can make amendment by the Word message in the software efficiently and accurately.
For device embodiment, because it is basically similar in appearance to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Need to prove; In this article; Term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability; Thereby make to comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Under the situation that do not having much more more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises said key element and also have other identical element.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the said method embodiment is to instruct relevant hardware to accomplish through program; Described program can be stored in the computer read/write memory medium; Here the alleged storage medium that gets, as: ROM/RAM, magnetic disc, CD etc.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All any modifications of within spirit of the present invention and principle, being done, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (10)

1. the amending method of a Word message is characterized in that, is applicable to the Word message of revising in the software, and said software provides user interface, resource file, and this method comprises:
The term substitution table is set, comprises current use term and the corresponding relation of replacing term in the said term substitution table;
When the definition resource file, the current use term that need are replaced marks;
When said software startup, filter out said by the mark term, remove said mark, according to said term substitution table, the said term that is marked is revised as the replacement term, according to the replacement after term move said software.
2. method according to claim 1 is characterized in that, carries out when the statement of said filter operation in resource file need move again.
3. method according to claim 1; It is characterized in that, behind said software startup, resource file is loaded in the buffer memory; Said filter out said by the mark term; Remove said mark, according to said term substitution table, it is that the statement in the buffer memory is carried out that the said term that is marked is revised as the replacement term.
4. method according to claim 1 is characterized in that, the term in the said resource file is Chinese, Japanese, Korean, English, German or French.
5. method according to claim 1 is characterized in that, the said symbol of definition as required that is labeled as.
6. the modifier of a Word message is characterized in that, is applicable to the Word message of revising in the software, and said software provides user interface, resource file, and this device comprises:
The unit is set, is used to be provided with the term substitution table, comprise current use term and the corresponding relation of replacing term in the said term substitution table;
The mark unit is used for when the definition resource file, and the current use term that need are replaced marks;
Revise the replacement unit, be used for when said software startup, filter out and saidly removed said mark,, the said term that is marked is revised as the replacement term, move said software according to the term after the replacement according to said term substitution table by the mark term.
7. device according to claim 6 is characterized in that, carries out when the statement of said filter operation in resource file need move again.
8. device according to claim 6 is characterized in that, said device also comprises:
Buffer unit is used for behind said software startup, resource file being loaded in the buffer memory;
Said modification replacement unit is performed filters out and is saidly removed said mark by the mark term, and according to said term substitution table, the operation that the said term that is marked is revised as the replacement term is to the statement executable operations in the buffer memory.
9. device according to claim 6 is characterized in that, the term in the said resource file is Chinese, Japanese, Korean, English, German or French.
10. device according to claim 6 is characterized in that, the said symbol of definition as required that is labeled as.
CN201010538675.3A 2010-11-10 2010-11-10 Modification method and device for character information Active CN102467376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010538675.3A CN102467376B (en) 2010-11-10 2010-11-10 Modification method and device for character information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010538675.3A CN102467376B (en) 2010-11-10 2010-11-10 Modification method and device for character information

Publications (2)

Publication Number Publication Date
CN102467376A true CN102467376A (en) 2012-05-23
CN102467376B CN102467376B (en) 2015-07-15

Family

ID=46071052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010538675.3A Active CN102467376B (en) 2010-11-10 2010-11-10 Modification method and device for character information

Country Status (1)

Country Link
CN (1) CN102467376B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942037A (en) * 2013-01-17 2014-07-23 阿里巴巴集团控股有限公司 Method and device for theme replacement of mobile device
CN105608064A (en) * 2015-11-24 2016-05-25 小米科技有限责任公司 Character replacement method and apparatus
CN107071553A (en) * 2017-06-05 2017-08-18 广东小天才科技有限公司 A kind of method, device and computer-readable recording medium for changing video speech
CN108491398A (en) * 2018-03-26 2018-09-04 深圳市元征科技股份有限公司 A kind of method that newer software text is translated and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547116A (en) * 2003-12-16 2004-11-17 艾默生网络能源有限公司 Method for implementing language resource localization of software
US7610297B2 (en) * 2005-01-25 2009-10-27 Honeywell International Inc. Method to automate resource management in computer applications
CN101667118A (en) * 2008-09-02 2010-03-10 华为技术有限公司 Method and device for multi-language version development and replacement

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547116A (en) * 2003-12-16 2004-11-17 艾默生网络能源有限公司 Method for implementing language resource localization of software
US7610297B2 (en) * 2005-01-25 2009-10-27 Honeywell International Inc. Method to automate resource management in computer applications
CN101667118A (en) * 2008-09-02 2010-03-10 华为技术有限公司 Method and device for multi-language version development and replacement

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942037A (en) * 2013-01-17 2014-07-23 阿里巴巴集团控股有限公司 Method and device for theme replacement of mobile device
CN105608064A (en) * 2015-11-24 2016-05-25 小米科技有限责任公司 Character replacement method and apparatus
CN107071553A (en) * 2017-06-05 2017-08-18 广东小天才科技有限公司 A kind of method, device and computer-readable recording medium for changing video speech
CN107071553B (en) * 2017-06-05 2020-02-07 广东小天才科技有限公司 Method, device and computer readable storage medium for modifying video and voice
CN108491398A (en) * 2018-03-26 2018-09-04 深圳市元征科技股份有限公司 A kind of method that newer software text is translated and electronic equipment
CN108491398B (en) * 2018-03-26 2021-09-07 深圳市元征科技股份有限公司 Method for translating updated software text and electronic equipment

Also Published As

Publication number Publication date
CN102467376B (en) 2015-07-15

Similar Documents

Publication Publication Date Title
CN101504672B (en) Method and system for dynamically configuring physical data table
CN104331285A (en) Automatic code generation method and system
CN106055528A (en) Automatic generation method and apparatus of documents
CN102541529A (en) Query page generating device and method
CN106940721B (en) Data processing method and system for user-defined selection box
CN102279749A (en) Method and equipment for merging codes
CN103324388A (en) Method and device for modifying shortcut icon
CN104111994A (en) Label data screening method and device based on mixed data source
CN102467376A (en) Modification method and device for character information
CN106649236A (en) Method and device for reminding modification
CN105786843A (en) Multi-language implementation method for applications and multi-language information query method and device
CN105389184A (en) Configuration method and apparatus for product interface information
CN106601256A (en) Voice recognition method and mobile terminal
CN103823614A (en) Information processing method, device and electronic equipment
CN106021359A (en) CAD file modification method and device
CN102317942B (en) Methods and devices for generating theme's properties
CN105100372A (en) Conference recording method and mobile terminal
CN102171696B (en) The generation method and apparatus of customization data
CN106168960B (en) A kind of the adjustment device and its method of adjustment of data resource
CN102663080A (en) Method for managing mobile equipment data according to affairs
CN101236637A (en) Financial affairs system and processing method simultaneously supporting two kinds of accounting system
CN105701649A (en) Data management and control system
CN102722543B (en) Method for storing files
CN105512168A (en) Cluster database composite data loading method and apparatus
CN102567296A (en) Chinese character information processing method and Chinese character information processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant