CN104516727B - The method and system for the resource changed in resource file - Google Patents

The method and system for the resource changed in resource file Download PDF

Info

Publication number
CN104516727B
CN104516727B CN201310450122.6A CN201310450122A CN104516727B CN 104516727 B CN104516727 B CN 104516727B CN 201310450122 A CN201310450122 A CN 201310450122A CN 104516727 B CN104516727 B CN 104516727B
Authority
CN
China
Prior art keywords
identifier
resource
user interface
presented
corresponding relation
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.)
Expired - Fee Related
Application number
CN201310450122.6A
Other languages
Chinese (zh)
Other versions
CN104516727A (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.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
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 International Business Machines Corp filed Critical International Business Machines Corp
Priority to CN201310450122.6A priority Critical patent/CN104516727B/en
Publication of CN104516727A publication Critical patent/CN104516727A/en
Application granted granted Critical
Publication of CN104516727B publication Critical patent/CN104516727B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

A kind of method and system for the context that the resource to be changed is presented in the user interface, this method include:Obtain the corresponding relation for the object that at least one resource in resource file is presented in the user interface with least one resource;And in response to change one of described at least one resource, the region for including object corresponding with the resource to be changed is presented in the user interface according to the corresponding relation.By the present invention each embodiment, can by the corresponding objects in presentation user interface come improve change resource accuracy.

Description

The method and system for the resource changed in resource file
Technical field
This disclosure relates to the technology of the resource of the text changed in resource file, picture, Voice & Video etc., and more In particular it relates to improve the accuracy of change resource (such as cypher text) by the way that corresponding objects are presented in the user interface Technology.
Background technology
At present, increasing application program (or code segment) provides user interface (User Interface, UI) to prop up Hold the interactive operation of user and application program.Resource file (or program integrated information is generally included in application program (Program Integrated Information, PII) file), it include character, picture, audio, video, etc..These Character, picture, audio, video, etc. can be presented when program is run in gui interface.Resource file can be included in Characteristic (Property) file or json files and the resource file under Microsoft.NET environment under Java context (for example .resx) etc..Those skilled in the art will be apparent that the implication of resource file, will not be described here.
In order to meet the liter between demand for localization of such as application program between country variant (area), different editions Level demand etc., it is sometimes desirable to the resource changed in resource file.Such as it may be needed resource text in the case of localization The content of text to be shown change (such as translation) in part is for local spoken and written languages or by the figure with word or language Piece, audio or video change (such as translation) are word or language with locality, and the people to make expediently can also understand, understand The software simultaneously uses the software well.And in the case of edition upgrading, it may be necessary to change to show in resource file Content of text, it is also possible to need to change image content, the audio content to be played and video content etc..That is, resource The resource that file includes may be often modified.
In these cases, at present staff carried out in itself generally only for resource file it is this change and can not The context environmental of resource that it is changed in gui interface is solved, it is therefore more likely that causing wrong or unsuitable change.Example Such as, in the case of localization, generally, development teams send the resource file of packing, translator to different Translation Services Center It is generally necessary to the resource file is translated to adapt to the language of locality.But during translation, translator is typically by making Translated with translation editing machine, and text is translated in the resource file that it is translated is only show in translating editing machine This itself, thus translator can only based on this can cypher text word in itself and sentence translated, and it can not be understood Context environmental of the word and sentence translated in gui interface, it is therefore more likely that causing mistake or inaccurate translation.Example Such as, English word " run " may be translated into " running ", it is also possible to " RUN " be translated into, if not knowing about English word presentation GUI where and context environmental situation around it, be just likely to translation error.
The content of the invention
The upper of the resource to be changed can be presented in the user interface during resource to be changed present disclose provides a kind of Hereafter come improve change resource accuracy technology.
According to an aspect of this disclosure, there is provided a kind of side for the context that the resource to be changed is presented in the user interface Method, including:Obtain the object that at least one resource in resource file is presented in the user interface with least one resource Corresponding relation;And in response to change one of described at least one resource, according to the corresponding relation in the user interface Presenting includes the region of object corresponding with the resource to be changed.
According to another aspect of the present disclosure, there is provided it is a kind of the resource to be changed is presented in the user interface context be System, including:Device is obtained, is configured as obtaining at least one resource in resource file with least one resource in user The corresponding relation of the object presented in interface;And display device, it is configured to respond to change at least one resource One of, the region for including object corresponding with the resource to be changed is presented in the user interface according to the corresponding relation.
By each embodiment of the present invention, change resource can be improved by the corresponding objects in presentation user interface Accuracy.
Brief description of the drawings
Disclosure illustrative embodiments are described in more detail in conjunction with the accompanying drawings, the disclosure above-mentioned and its Its purpose, feature and advantage will be apparent, wherein, in disclosure illustrative embodiments, identical reference number Typically represent same parts.
Fig. 1 schematically shows the exemplary computer system/server suitable for being used for realizing embodiment of the present invention 12 block diagram.
Fig. 2 schematically shows the resource to be changed of presentation in the user interface according to an embodiment of the invention Context method 200 example flow diagram.
Fig. 3 A schematically show in the method shown in Fig. 2 obtain resource file at least one resource with it is described extremely The particular flow sheet of the step S201 of the corresponding relation for the object that a few resource is presented an in the user interface example.
Fig. 3 B show the level for the user interface that the analysis of the step S2013 in the step S201 shown in Fig. 3 A is presented Analysis result an example.
Fig. 4 is the schematic diagram for an example for schematically showing the step S202 in the method shown in Fig. 2.
Fig. 5 A schematically show by want resource be can be exemplified by cypher text, shown in Fig. 3 A with the first identifier come unique The schematic diagram of an example before and after ground mark resource.
Fig. 5 B schematically show by resource be can exemplified by cypher text, to can cypher text object distribute the second identifier Before and after an example schematic diagram.
Fig. 5 C are to schematically show so that resource is picture as an example, distributed to object picture before and after the second identifier An example schematic diagram.
Fig. 6 A-6E be schematically show by resource be can exemplified by cypher text, it is according to an embodiment of the invention The specific steps of an example of the method for the context of the resource to be changed are presented in the user interface and in user interface On display schematic diagram:Wherein, Fig. 6 A are schematically shown to before each textual resources directly the first identifier of addition The example of code afterwards;Fig. 6 B are schematically shown to each textual resources directly the first identifier of addition and to each One illustrative examples of the display during object the second identifier of distribution on a user interface;Fig. 6 C are schematically shown The schematic block diagram of relation between record stage and the change stage for changing resource;Fig. 6 D schematically show resource identification Symbol-library of object and the schematic diagram in object identifier-region index storehouse;In this case Fig. 6 E are shown schematically in user interface The middle example that the region including object corresponding with the resource to be changed is presented.
Fig. 7 A-7C be schematically show by resource be can exemplified by cypher text, it is according to an embodiment of the invention Showing for the display on a user interface of another example of the method for the context of the resource to be changed is presented in the user interface It is intended to.
Fig. 8 is to schematically show the resource to be changed of presentation in the user interface according to another embodiment of the present invention Context system block diagram.
Embodiment
Some preferred embodiments of the disclosure are shown in the accompanying drawings, and these are more fully described below with reference to accompanying drawings Preferred embodiment.However, it is possible to realize the disclosure in a variety of manners, it should not be limited by embodiments set forth herein. On the contrary, these embodiments are provided so that the disclosure is more thorough and complete, and can be complete by the scope of the present disclosure Ground is communicated to those skilled in the art.
Person of ordinary skill in the field knows that various aspects of the invention can be implemented as system, method or calculating Machine program product.Therefore, various aspects of the invention can be implemented as following form, i.e.,:Complete hardware embodiment, Complete Software Implementation (including firmware, resident software, microcode etc.), or the embodiment party combined in terms of hardware and software Formula, it may be collectively referred to as here " circuit ", " module " or " system ".In addition, in certain embodiments, various aspects of the invention are also The form of the computer program product in one or more computer-readable mediums is can be implemented as, the computer-readable medium In include computer-readable program code.
Any combination of one or more computer-readable mediums can be used.Computer-readable medium can be computer Readable signal medium or computer-readable recording medium.Computer-readable recording medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than combination.Calculate The more specifically example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more wires, just Take formula computer disks, hard disk, random access memory (RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or Above-mentioned any appropriate combination.In this document, computer-readable recording medium can be any includes or storage program Tangible medium, the program can be commanded the either device use or in connection of execution system, device.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium beyond computer-readable recording medium, the computer-readable medium can send, propagate or Transmit for by instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In --- wireless, wired, optical cable, RF etc., or above-mentioned any appropriate combination.
Can being combined to write the calculating operated for performing the present invention with one or more programming languages Machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C++ Deng, in addition to conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to perform on the user computer, partly perform, performed as an independent software kit on the user computer, Part performs or performed completely on remote computer or server on the remote computer on the user computer for part. In the situation of remote computer is related to, remote computer can pass through the network of any kind --- including LAN (LAN) Or wide area network (WAN)-subscriber computer is connected to, or, it may be connected to outer computer (such as utilize Internet service Provider passes through Internet connection).
Below with reference to the flow chart of method, apparatus (system) and computer program product according to embodiments of the present invention And/or the block diagram description present invention.It is it should be appreciated that each in each square frame and flow chart and/or block diagram of flow chart and/or block diagram The combination of square frame, it can be realized by computer program instructions.These computer program instructions can be supplied to all-purpose computer, The processor of special-purpose computer or other programmable data processing units, so as to produce a kind of machine so that these computers Programmed instruction generates implementation process figure when by the computing device of computer or other programmable data processing units And/or the device of function/action specified in one or more of block diagram square frame.
These computer program instructions can also be stored in computer-readable medium, these instruct cause computer, Other programmable data processing units or other equipment work in a specific way, so as to be stored in computer-readable medium Instruction just produces the instruction for including function/action specified in one or more of implementation process figure and/or block diagram square frame Manufacture (article of manufacture).
Computer program instructions can also be loaded into computer, other programmable data processing units or miscellaneous equipment On so that series of operation steps is performed on computer, other programmable data processing units or miscellaneous equipment, in terms of producing The process that calculation machine is realized so that the instruction that is performed on computer or other programmable devices provide implementation process figure and/ Or the process of function/action specified in one or more of block diagram square frame.
Fig. 1 schematically shows the exemplary computer system/server suitable for being used for realizing embodiment of the present invention 12 block diagram.The computer system/server 12 that Fig. 1 is shown is only an example, should not be to the function of the embodiment of the present invention Any restrictions are brought with use range.
As shown in figure 1, computer system/server 12 is showed in the form of universal computing device.Computer system/service The component of device 12 can include but is not limited to:One or more processor or processing unit 16, system storage 28, connection The bus 18 of different system component (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Computer system/server 12 typically comprises various computing systems computer-readable recording medium.These media can be appointed What usable medium that can be accessed by computer system/server 12, including volatibility and non-volatile media, it is moveable and Immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer system/server 12 may further include other removable Dynamic/immovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for Read and write immovable, non-volatile magnetic media (Fig. 1 is not shown, is commonly referred to as " hard disk drive ").Although do not illustrate in Fig. 1 Property show, can provide for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, it is and right The CD drive of removable anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these feelings Under condition, each driver can be connected by one or more data media interfaces with bus 18.Memory 28 can include At least one program product, the program product have one group of (for example, at least one) program module, and these program modules are configured To perform the function of various embodiments of the present invention.
Program/utility 40 with one group of (at least one) program module 42, such as memory 28 can be stored in In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs Module and routine data, the realization of network environment may be included in each or certain combination in these examples.Program mould Block 42 generally performs function and/or method in embodiment described in the invention.
Computer system/server 12 can also be (such as keyboard, sensing equipment, aobvious with one or more external equipments 14 Show device 24 etc.) communication, it can also enable a user to lead to the equipment that the computer system/server 12 interacts with one or more Letter, and/or any set with make it that the computer system/server 12 communicated with one or more of the other computing device Standby (such as network interface card, modem etc.) communicates.This communication can be carried out by input/output (I/O) interface 22.And And computer system/server 12 can also pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) communication.As illustrated, network adapter 20 passes through bus 18 communicate with other modules of computer system/server 12.It should be understood that although not schematically shown in figure, Ke Yijie Unified Electronic Computer System/server 12 uses other hardware and/or software module, includes but is not limited to:Microcode, device drives Device, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Fig. 2 schematically shows the resource to be changed of presentation in the user interface according to an embodiment of the invention Context method 200 example flow diagram.
The method 200 of the context that the resource to be changed is presented in the user interface shown in Fig. 2 includes:Step S201, At least one resource the corresponding of object with least one resource is presented in the user interface obtained in resource file is closed System;And step S202, in response to change one of described at least one resource, according to the corresponding relation in the user interface Presenting includes the region of object corresponding with the resource to be changed.
In step s 201, at least one resource in resource file can be obtained with least one resource in user The corresponding relation of the object presented in interface.
First, as described above, during developer's development and application program, it will usually so-called " resource file " (or Claim program integrated information (Program Integrated Information, PII) file) in record such as text (or word Symbol), picture, the data such as Voice & Video, can directly to change use to be showed when localizing or upgrading etc. in the future Family such as text (or character), picture, Voice & Video.I.e., first, the resource in resource file can include text, One or more in picture, Voice & Video.
Resource file may have different titles or different forms under different programmed environments.For example, Java rings Under border, resource file is presented as characteristic (Property) file, its form be, for example, " key=text characters ", wherein One " key " in Key characterization files, and text characters are then the key assignments of the key, in the situation of textual resources Under, then it is the content of text of textual resources.Under a windows environment, resource file is typically embodied by .resx files.But nothing It is in when application program is run by under which kind of programmed environment, each resource in resource file can be understood to correspond to A now object in the user interface, such as the text in the displaying of the somewhere of user interface, picture, audio, video etc..Practice In, these texts, picture, audio, video all (such as localization or upgrading etc.) may need to change under certain conditions.
It is presented on as described above, each resource in resource file is construed as corresponding to when application program is run An object in user interface, therefore each resource in resource file and each money can be obtained by various modes The corresponding relation for the object that source is presented in the user interface.In one example, it can obtain and recorded pass through predetermined party The corresponding relation of formula generation.For example, to change at least one resource for the moment, may be previously known such right It should be related to, such as such corresponding relation may have been saved in the development phase before changing resource, or only one Also it is mutually corresponding, etc. that both is readily recognized in the case of individual resource and only one object.In another embodiment, If not previously recorded corresponding relation, can generate the corresponding relation by predetermined way.
It is this that Fig. 3 to Fig. 7 discussion being generated by predetermined way in one embodiment of the invention is reference will also be made to below Several exemplary methods of corresponding relation.It will be understood by those skilled in the art that above-mentioned acquisition it is recorded pass through predetermined way Predetermined way in the corresponding relation of generation can also use following concrete implementation modes.
In step S202, it can be existed in response to change one of described at least one resource according to the corresponding relation Being presented in user interface includes the region of object corresponding with the resource to be changed.
In this, it is assumed that developer will change a resource, then can see including on a user interface will change with it Resource corresponding to object region, therefore the context environmental of the data collection can be understood.In one example, the step It is corresponding with the resource that it to be changed that S202 is additionally may included in the region highlightedly display (for example, highlighted, picture frame etc.) Object.It is noted here that this highlightedly show that mouse can be placed on by object corresponding with the resource to be changed in developer When in the resource to be changed or when developer chooses the resource to be changed with mouse, etc. show that developer thinks Change the situation of the resource.Additionally, it is noted that the display of this protrusion with such as mouse nor must be placed in time Complete Synchronization at the time of in the resource to be changed, but can be asynchronous, the present invention is not limited this.
Pay attention to, with the picture to text, with word, with language when the change in the disclosure can be included in localization Audio and video with the language and word translation that carries out after resource replace original untranslated resource, therefore, " change " in the disclosure can include the concept of " translation ".Therefore, in the case of localization, the resource can also be included such as One or more in lower:Can cypher text;On picture comprising can cypher text picture;Language can be translated by including in voice The audio of speech;And in voice comprising can interpreter language and/or on picture comprising can cypher text video.Due to passing through The situation for translating to be localized is commonplace, therefore " translation " in the disclosure mostly for localization is used as " more Change " example, but the invention is not restricted to this, but " change " these resources can include translating these resources, (remove this Outside) with other resources source material is replaced, or these resources are deleted under certain conditions, or a part of resource of addition, Etc..
In this way, according to an embodiment of the invention, it can be presented and the resource to be changed in the gui during resource to be changed Corresponding object so that the developer for being localized or upgrading etc. can visually view the resource phase to be changed with it The corresponding object for wanting actual displayed in the gui, further such that it can understand the context environmental of the resource to be changed, So as to improve the accuracy of change resource.
As set forth above, it is possible to obtain the corresponding relation between resource and object by various modes.Below with reference to Fig. 3 A And 3B introduces mode that is a kind of easy and easily implementing to generate the corresponding relation between resource and object.But the present invention is not It is limited to this, for example, corresponding relation can be with previously known, or in the case of not previously known, those skilled in the art can be with Other modes are conceived to generate the corresponding relation according to the correspondence principle between resource and object.
Fig. 3 A schematically show in the method shown in Fig. 2 obtain resource file at least one resource with it is described extremely The particular flow sheet of the step S201 of the corresponding relation for the object that a few resource is presented an in the user interface example.Figure 3B shows the analysis result of the level for the user interface that the analysis of the step S2013 in the step S201 shown in Fig. 3 A is presented An example.
As shown in Figure 3A, in this embodiment, obtaining the step S201 of the corresponding relation between resource and object can wrap Include:Step S2011, at least one resource is uniquely identified with the first identifier;Step S2012, using comprising being marked Object is presented in the resource file of at least one resource after knowledge in the user interface;Step S2013, what analysis was presented The level of user interface finds the object related to first identifier, so as to obtain at least one resource and object Corresponding relation.
In step S2011, at least one resource can be uniquely identified with the first identifier.Here, for example, In the case of localization, whole money can be traveled through by using the instrument including resource lookup ability for for example translating editing machine Source file, to find each resource, then uniquely identify these resources with the first identifier by for example translating editing machine. Here, translation editing machine is the instrument well known in the prior art for being localized, the instrument can be marked easily can Cypher text part and can not translator unit, and can pair can cypher text part enter edlin, such as add the first mark Accord with, replace original text etc. with the text after translation.First identifier can by it is this translation editing machine produce and management and Each resource is uniquely identified in the translation editing machine.Certainly, described at least one is uniquely identified using the first identifier The instrument of individual resource is also not necessarily limited to translate editing machine, indeed, it is possible to using other such as txt files, utilize keyword search Etc. mechanism come find can cypher text part, and be added to first identifier etc..
First identifier can include be manually set identifier, resource filename (if globally unique), Path location information (such as URL or Xpath (XML Path Language), if globally unique) of resource etc..This artificially sets The first fixed identifier can be various forms.In one embodiment, the first identifier can include spcial character part and Identification division.The spcial character part can be such as ") } } } " etc. the normal text content for being different from resource file and/or The normal character being likely to occur in other codes, it can so be easily found in follow-up search procedure and belong to the first mark The character of symbol.Certainly, the spcial character part is also not necessarily limited to ") } } } ", those skilled in the art are contemplated that other special words Symbol.And identification division can be the character string for uniquely distinguishing each resource, such as with each different digital, each different It is alphabetical, each different alphanumeric or indicate globally unique filename or path location information of the resource etc. Deng as long as each resource can be distinguished with different identification divisions.In another embodiment, the first identifier can also Including only identification division.
Certainly, the first identifier can also include form in addition to the foregoing, as long as first identifier can be unique Distinguish these resources in ground.For example, first identifier can include it is following in it is known or a variety of:It can uniquely identify The content of text of itself of the resource;The filename of itself of the resource can be uniquely identified;And can be only One ground identifies the path location information of itself of the resource.Furthermore, it is possible to for some different types of resources, using not First identifier of same type.For example, in the case where at least one resource includes text, described first can be identified In the content for according with the text for being added to the resource;In the case where at least one resource includes text, institute can be set The globally unique content of text of resource in itself is stated as first identifier;At least one resource include text, In the case of one or more in picture, Voice & Video, the globally unique filename of the resource in itself can be set As first identifier;And one kind or more at least one resource includes text, picture, Voice & Video In the case of kind, the path location information of of the resource itself can be set as described first identifier, etc..Pay attention to, The present invention does not limit the first identifier that same type must be used to resource of the same race, you can special to be used for some resources First identifier of character portion and identification division, for other resource using globally unique filename as the first mark Symbol uses globally unique path location information as first identifier etc. for resource still further, as long as these institutes There is the first identifier uniquely to distinguish the resource corresponding to it.
In another embodiment, first identifier can be set such that using resource file come in user circle In the case of these objects are presented in face, first identifier can be found by analyzing the level of user interface.In this way, After there is provided the first identifier, it can learn which is right by the way that these objects are presented in UI and find the first identifier As relevant with first identifier, i.e., which object corresponds to the resource corresponding to first identifier.
In addition, the mode of " mark at least one resource " can also have many kinds.In one embodiment, in resource In the case of including text, the first identifier can be added in the content of text of text resource.For example, it is for resource The situation of text (for example, welcome), such as ") can be used } } } 1 " as the first identifier, the first identifier can be inserted Into the content of text, such as obtain welcome) } } } 1, (it reference will also be made to Fig. 5 A below to be retouched in detail to identify the text State), or, if the content of text is unique inherently for the overall situation, such as content of text is inherently mutually different, Can also not have to add such as ") to the text } } 1 " identifier, and using text content in itself as first identifier; In the case of resource is picture, picture generally has the path position of filename (such as baidu_jgylogo3.gif) or picture Confidence breath (such as URL information (URL) or Xpath (XML Path Language (XML Path Language)) letters Breath, if it is also possible to globally unique filename or path location information are come into unique terrestrial reference directly as the first identifier Know picture resource, can so save generation and add time and the cost of the first identifier;Generation in addition can certainly be used Globally unique identifier identify;Similarly, in the case of resource is audio or video, because audio or video generally has Having filename (such as I will always love you.mp3) or path location information, (such as (unified resource is fixed for URL information Position symbol) or Xpath (XML Path Language (XML Path Language)) information), if it is also possible to will be globally unique Filename or path location information uniquely identify audio or video resource as the first identifier, can so save generation With the time and cost for adding the first identifier;It can certainly be identified with the globally unique identifier generated in addition.Separately Outside, U+200B, U+200C or U+ in sightless character, such as Unicode codings in user interface GUI can also be passed through The characters such as 200D are used as first identifier so that user not can be appreciated that the first mark of this addition when watching program interface Know symbol.Certain above-mentioned the first identifier including spcial character part and identification division, invisible marking symbol, utilize text This content, filename or path location information are only in itself examples as the mode of the first identifier, those skilled in the art These resources can be uniquely identified using other globally unique identifiers, differ a citing herein, as long as so that in profit In the case of these objects are presented in the user interface with resource file, it can be found by analyzing the level of user interface These first identifiers.
In addition, in one embodiment, can after at least one resource is uniquely identified with the first identifier The resource file of these the first identifiers is added with record, and/or records these first identifiers and corresponding resource in addition Corresponding relation, to use in the future.Necessary to this record is not the present invention, not as limitation of the present invention.
In step S2012, can utilize comprising be identified after at least one resource the resource file come with Object is presented in interface in family.Many UI in the prior art be present and engine is presented, to use resource file in such as graphic user interface These objects are presented in (Graphic User Interface, GUI), for example, in HTML (Hypertext Markup Language, HTML) in the case of program, these objects can be presented with general web browser, herein not Repeat one by one.
In step S2013, the level that can analyze presented user interface is related to first identifier to find Object, so as to obtain the corresponding relation of at least one resource and object.Many GUI analysis engines in the prior art be present To analyze the level of presented user interface, such as, but not limited to, under HTML environment, document object model can be used (Document Object Model, DOM) or document object model tree (that is, DOM Tree) (as shown in Figure 3 B) are analyzed The source code at the html web page interface presented, it can obtain embodying the tree structure of the node object of html source code.Tool Body, the HTML structure of webpage can be parsed by browser, whole document node object be created in internal memory, then From first mark of appearance, intercepted one by one according to HTML hierarchical structure, after webpage is loaded onto internal memory, There may be a node object tree formed according to HTML structure in internal memory.Certainly, the HTML of webpage how is obtained It is techniques known that how source code and DOM, which analyze html web page and obtain DOM Tree, those skilled in the art Can also using the mode in addition to by the way of the example above come obtain reflecting the DOM Tree of these objects and its level (or Future be likely to occur other reflect the data structure of these objects and its level).In the environment of Java, it can also use known GUI analysis engines obtain the structure of object, will not be described here.In addition, only provided by taking Java and HTML as an example in full text Example, but those skilled in the art will envision that other programming modes (or following programming mode occurred), as long as energy This program (or code segment) is presented in enough user interfaces, and differ a citing herein.As shown in Figure 3 B, it can be seen that logical The analysis result for crossing GUI analysis engines is the DOM Tree for example shown in Fig. 3 B, including root element (Root element), The text (Text) of each element (Element), attribute of an element (Attribute) and element.Certainly, shown in Fig. 3 B DOM Tree are only examples, for example, DOM Tree can not also by tree structure, but other structures, such as flat layered structures, Code structure etc. shows the structural relation of each object presented in user interface, and differ a citing herein.Then, hold very much The each object presented on a user interface, such as element can be found by GUI analysis engines by changing places<Title>, element< a>Etc..
Then, after the level of user interface and these objects is known, it is known which these objects corresponded to Individual resource.
Such as in the case where resource is text, if adding the first identifier in itself to the content of text, with After family interface presents object and carried out the step analysis of user interface, it can find on a user interface and first mark Know the related object of symbol, you can to learn by the way which object is the text with first identifier correspond to.Such as due to All the first globally unique identifiers ") described above are with the addition of to the content of text } } } 1 " obtain " welcome) } } } 1 ", and After user interface presents object and has carried out the step analysis of user interface, it can find and first identifier ") } } } code of 1 " related object (such as under HTML environment "<button>welcome)}}}1</button>" or Java " JButton under environment:Welcome) } } } 1 "), correspond to be added into identifier ") so as to obtain the Button objects } } 1 " text welcome object.Further, since using spcial character ") in the first identifier } } } " prefix is used as, also make Obtaining can make a distinction with other codes, so as to more accurately find the identifier in the hierarchical structure of user interface.
For another example in the case where resource is picture, the globally unique filename of picture in itself or path can be passed through Positional information or globally unique identifier to picture distribution are found with file in the hierarchical structure of user interface Name or path location information or or the identifier object, so as to learn that the object corresponds to the object of the picture. Specifically, in the case of using the filename of picture as the first identifier, when the picture being presented in such as UI, with such as UI The level that analysis engine analyzes the UI can obtain the code of the filename comprising the picture, so as to pass through the side of locating file name Formula finds the object corresponding to the picture, and this is similar with the principle that first identifier is inserted to content of text.And by picture Path location information as the first identifier in the case of, when the picture being presented in UI, the UI is analyzed with UI analysis engines Level can be positioned by the path location information (because path location information is in resource file and similar in the gui) One object is as object corresponding with the picture resource.This can be similar to the feelings of picture in the case of Voice & Video Condition, it will not be described here.
In this way, due to the addition of globally unique identifier at least one resource, so as to pass through the layer of the GUI in presentation The globally unique identifier is found in secondary analysis, then can easily find at least one resource pass corresponding with object System.
In this way, each step according to Fig. 3 A, the corresponding relation that can be readily available between resource and object.
Here, after the corresponding relation of resource and object is known, the second identifier can be distributed to object, this second Identifier can be associated with the first identifier.For example, in one embodiment, as described above, first identifier can wrap Include spcial character part and identification division, such as ") } } } 1 ", then second identifier can only include the identification division, such as " 1 " because only including the identification division can play a part of uniquely distinguishing, but in other embodiments this Two identifiers can also include all parts such as ") } } } 1 ".
And the mode for distributing the second identifier to object also has attributes that are a variety of, such as causing object in one embodiment Middle insertion second identifier is (for example, the JButton under Java context:Welcome1 (embedded_identity) and Under HTML environment,<Button embedded_identity=" 1 ">welcome</button>) so that the attribute bag of object Containing second identifier, the example that reference will also be made to Fig. 5 B as follows is described in detail.Certainly, except embedded mode, can also use Such as known Xpath (XML Path Language (XML Path Language)) is formulated corresponding to the mode of second identifier The interface object, such as will correspond to positioned at path, such as Xpath (Root/Panel-1/label-2) the Button objects Second identifier " 1 ".Similarly, above-mentioned insertion or Xpath can be used for the object of text, picture, audio or video Mode is allocated the second identifier.Even, can be direct with the path, such as Xpath (Root/Panel-1/label-2) As the second identifier, because it is also globally unique.In addition, those skilled in the art can also conceive other second Identifier, if second identifier can identify these objects globally uniquely, and it is associated with the first identifier.Here, Second identifier is associated with the first identifier there may also be various ways, such as second identifier can be the first mark Know the identification division of symbol, e.g. the first identifier ") } } } " 1 " in 1 ", or second identifier can be with the first mark Accord with it is identical, such as ") 1 ", or, second identifier can be different from the first identifier, but the second identifier with The corresponding relation of first identifier has been recorded, etc..Those skilled in the art can also conceive other modes and cause the first mark Knowing symbol and the second identifier is associated.
Fig. 4 is the schematic diagram for an example for schematically showing the step S202 in the method shown in Fig. 2.
With reference to figure 4, the step S202 in the method shown in Fig. 2 can include:Step S2021, acquisition will be changed with described The related object of the first identifier of resource which region in the user interface will be presented;And step S2022, in user The region is presented in interface.
Due to uniquely identifying its first identifier to each resource allocation in previous step S201, therefore can In response to change one of described at least one resource, to be readily available the first identifier of the resource to be changed. This, " in response to change one of described at least one resource " can include mouse is placed on to the resource to be changed in response to user When upper or when user chooses the resource to be changed with mouse, etc. show that user wants to change the situation of the resource.
In step S2021, can obtain the object related to first identifier will be presented in the user interface Which region.Here, part that the region can include but is not limited in the page, interface, the page or interface etc..Thus, The region contained with the object corresponding to the resource to be changed can be presented in the user interface, operating personnel can be seen To the context of the object corresponding to the resource to be changed, so as to more accurately be changed.
In one embodiment, before step S202, present in the user interface in step s 201 object so as to After the corresponding relation for obtaining resource and object, can by the first identifier and be assigned with the first identifier resource and with institute Which the related object of the first identifier is stated to record in the region presented in the user interface in association.In this way, can be upper State in the step S202 example, in the first identifier of the resource to be changed described in acquisition and acquisition and first identifier Related object uses the associated record during which region in the user interface will be presented, so as to more easily Obtaining the first identifier of the resource to be changed and can more easily obtaining object corresponding with the resource to be changed to be in Which now region in the user interface, only to need that the region is presented in the user interface, and it is not necessarily intended to present entirely The page or interface or even all pages or interface, so as to save present full page or all pages time and into This.
Then, in step S2022, the region can be presented in the user interface.As it was previously stated, it is same, The region is presented in the user interface can also be including highlightedly display is corresponding with the resource that it to be changed in this region Object.Here, " highlightedly show " can include being highlighted, display of rule, picture frame are shown, the change of color, font, size Etc. allow users to the mode that is clearly seen that, can so cause user to be more clearly visible that its resource pair to be changed The position for the object answered.Pay attention to, the display of this protrusion with such as mouse nor must be placed on what is changed in time Complete Synchronization at the time of in resource, but can be asynchronous, the present invention is not limited this.
In this way, according to an embodiment of the invention, it can be presented and the resource to be changed in UI during resource to be changed The context of corresponding object so that be localized or the developer that upgrades etc. can visually view and be changed with it The corresponding object that actual displayed is wanted in UI of resource, further such that its can understand the resource to be changed up and down Literary environment, so as to improve the accuracy of change resource.
The foregoing describe to each identifier of resource allocation first to uniquely identify the situation of these resources, sometimes, be Certain needs, second identifier can also be distributed to each object.Specifically, in another embodiment, in step S201 In obtain corresponding relation after, first identifier can also be removed, and according to the corresponding relation, distributed to the object Second identifier associated with the first identifier of corresponding resource.In other embodiments, in step s 201, can also First identifier is not removed, and according only to the corresponding relation, the first mark to object distribution with corresponding resource Know the second associated identifier of symbol.It will be understood by those skilled in the art that remove the first identifier and the second identifier of distribution Operation between there is no specific execution sequence, can successively perform, can also perform simultaneously, successively perform when which is not intended to limit Individual operation is first carrying out.
First identifier and the second identifier can meet one of following relations:It is special that first identifier includes Character portion and identification division, and second identifier includes the identification division in first identifier;First mark It is identical with second identifier to know symbol;And first identifier and second identifier it is different and associated.Certainly, The relation not limited to this of first identifier and the second identifier.
In one embodiment, one kind during one of first identifier and second identifier can include as follows It is or a variety of:Character string comprising identification division;Character string comprising spcial character part and identification division;It can uniquely identify The content of text of itself of the resource;The filename of itself of the resource can be uniquely identified.
In one embodiment, it is described according to the corresponding relation, to object distribution and the first of corresponding resource The step of the second identifier that identifier is associated, can include at least one of following:So that in the user interface with The attribute of object corresponding at least one resource includes second identifier;And cause the user interface in The path location information of object corresponding at least one resource corresponds to second identifier.
In this way, some benefits can be brought by distributing the second identifier to object, such as can more accurately find and resource The position of corresponding object so as to the region comprising the object is presented or highlightedly show the object in itself, first can be substituted Identifier come eliminate sometimes due to show the first identifier on a user interface and bring vision interference, can preferably remember (also the related content of second identifier will be described in detail with reference to accompanying drawing) later in corresponding relation etc. of record resource and object.
For example, in the case where being assigned with the second identifier to object, it is in one embodiment, above-mentioned to dash forward in this region Show object corresponding with the resource that it to be changed with going out the step of can include:The level in the region is analyzed to find and institute State the object for the first identifier correlation that change one of at least one resource;And highlightedly show in this region The object related to first identifier that change one of at least one resource.For example, present in the user interface After the region for including corresponding with the resource to be changed object, such as UI analysis engines (such as Dom can also be utilized Tree etc.) find the particular location of the object corresponding with the resource to be changed, so as to highlightedly display (such as, it is highlighted, draw Frame etc.) object, it can so allow the operator to be more clearly visible that corresponding to that resource that it is being changed Object which is, positioned at where, so as to be more clearly visible that the context of the data collection, to carry out more accurately more Change.
Below with reference to Fig. 5 A-5C come with specific example come describe in Fig. 3 A uniquely identified with the first identifier it is described The step S2011 of at least one resource visual schematic diagram.
Fig. 5 A schematically show by resource be can exemplified by cypher text, in the step S2011 shown in Fig. 3 A with the first mark Symbol is known to uniquely identify the schematic diagram of an example before and after resource.
As it was previously stated, it is that can be needed in the case of cypher text, such as when being localized pair in the resource to be changed Can cypher text when being translated, the first identifier can be inserted into the text in the step S2011 shown in Fig. 3 A Rong Zhong.Pay attention to, in this case, it is possible to carry out such as step S2011 using translation editing machine.
As shown in Figure 5A, to can cypher text insert the first identifier before, that sees in editing machine is translated includes The value value of the resource that line code be "<Text locale=" Not translated " value=" Translated"/>”.And to the value value of the resource that a line can be included after cypher text inserts the first identifier Code become "<Text locale=" Not translated " value=" Translated) } } } 2 "/>", that is, insert ") } } } 2 " this include spcial character part ") " and identification division " 2 " the first identifier.Those skilled in the art can be with The imagination, after the first identifier of such insertion, with comprising this can the resource file of cypher text this is presented in the gui During text, it will no longer be shown original " Translated ", but show " Translated) } } } 2 ".Therefore, can be in GUI After the middle presentation text, can by analyze GUI level find the content of text of the display " Translated) } } } 2 ", so as to learn that text object is corresponding with the text resource " Translated " in resource file.
Certainly, above-mentioned is only that the identifier of use first in the case where resource is text is schematically shown with reference to Fig. 5 A To identify a kind of mode of resource.As described above, resource can also identify using other modes, such as with globally unique text This content itself identifies textual resources, using picture resource globally unique filename or path location information or in addition set The globally unique identifier put identifies picture, audio or video resource etc., will not be described here.
Fig. 5 B schematically show by resource be can exemplified by cypher text, to can cypher text object distribute the second identifier Before and after an example schematic diagram.
As described above, these objects are being presented in the gui to find pair with the resource file for being assigned with the first identifier , can be according to the corresponding relation, to the distribution of these described objects and corresponding resource after the corresponding relation with resource The second associated identifier of first identifier.Generally, in one embodiment, can cause in the user interface with institute The attribute for stating object corresponding at least one resource includes second identifier.The attribute for causing object is shown with reference to figure 5B Include the example of the second identifier.
As shown in Figure 5 B, in the case where e.g. Java context and resource are text, before the second identifier is distributed, That line code where the object that the GUI that GUI analysis engines (such as DOM Tree) analysis obtains is presented is JButton: Hello) } } } 2, this is represented, and the object will be presented in the gui " hello) } } } 2 ", and passing through the attribute insertion the to the object Come after distributing the second identifier, that line code where the object that the GUI is presented is two identifiers:
JButton:hello
2(embedded_identity)
I.e., in this example embodiment, the first identifier ") added in textual resources can be removed } } } 2 " (i.e. text resources Be still " hello " by the content of display), and only by the first identifier ") identification division " 2 " in 2 " is left second Identifier, and the second identifier " 2 " is embedded into the attribute of the button objects, i.e., the second identifier only wraps as described above Include the identification division of the first identifier.So doing can be so that showing will not show with any mark in the gui during the object The object of symbol causes the interference of vision, but normally shows the object, but actually second identifier has been embedded in The attribute of object suffers, and in the case where the follow-up resource to such as text is modified (such as translation) this can be utilized embedding The attribute for having entered the object of the second identifier carries out the presentation of the object in the gui.
As shown in Figure 5 B, in the case where for example HTML environment and resource are text, before the second identifier is distributed, That line code where the object that GUI analysis engines are analyzed to obtain is<button>hello)}}}2</button>, this expression In the gui the object will present " hello) } } } 2 ", and by inserting the second identifier to the attribute of the object to distribute the After two identifiers, that line code where the object that the GUI is presented is:<Button embedded_identity=" 2 "> hello</button>.I.e., in this example embodiment, the first identifier ") added in textual resources can be removed } } } 2 " (i.e. this articles The content of this resource is still " hello "), and only by the first identifier ") identification division " 2 " in 2 " is left the second mark Know symbol, i.e., the second identifier only includes the identification division of the first identifier as described above, and the second identifier " 2 " is embedded into In the attribute of the button objects.
So doing can be so that the object with any identifier will not be shown in the gui by showing during the object, but just The object (for example, the button objects will be shown as " hello ") often is shown, but actually second identifier is The attribute for being embedded into object suffers, can profit in the case where the follow-up resource to such as text is modified (such as translation) The presentation of the object in the gui is carried out with the attribute of the object that embedded in the second identifier.
Fig. 5 C are to schematically show so that resource is picture as an example, distributed to object picture before and after the second identifier An example schematic diagram.
In this example embodiment, in the case where for example HTML environment and resource are picture, before the second identifier is distributed, That line code where the object that the GUI that GUI analysis engines are analyzed to obtain is presented is for example<Src img=" logo.GIF "/ >, this represents that assume file name is this picture of logo.gif by the object in the gui, and after the second identifier distribute, this GUI present object where that line code be:<Src identity='10'img=" logo.GIF "/>.That is, by second Identifier " 10 " is embedded into the attribute of the object picture.So doing can be so that showing will not show in the gui during the object Object with any identifier, but normally show the object, but actually second identifier has been embedded in pair The attribute of elephant is suffered, and the insertion can be utilized in the case where the follow-up resource to such as text is modified (such as translation) The attribute of the object of second identifier carries out the presentation of the object in the gui.
In addition to the attribute to object shown in Fig. 5 B and 5C is embedded in the example of the second identifier, for picture, audio Or object video, it can also come by using path location information, such as Xpath (div-central/p-lg/src) of object With the second identifier " 10 " carry out it is corresponding with reach to the object distribute the second identifier purpose (herein can be by the path position Confidence ceases gets up with the corresponding relation of the second identifier record, and to search in the future, but this is not that the present invention is necessary, is not formed Limitation of the present invention), or directly by the use of the path location information as second identifier etc., as long as second being marked by this The object can uniquely be found by knowing symbol.Certainly, except using object attribute and path location information (for example, Xpath beyond), those skilled in the art are also contemplated that other modes to reach the purpose to object the second identifier of distribution, As long as the object can uniquely be positioned by second identifier.
So, by way of example so that Java and HTML and resource are text and picture as an example, carried out with first Identifier identifies resource and the signal description of the second identifier is distributed to object corresponding with resource.But the present invention is unlimited In this, as described above, those skilled in the art are contemplated that for other programming modes, and/or resources-type for other The step of type is to carry out with the first identifier mark resource and to object corresponding with resource the second identifier of distribution, herein not Repeat.
So, the corresponding relation that can be readily available between each resource and these objects to be presented on GUI, with Corresponding objects highlighting on GUI is carried out when being easy to change resource in the future.
With reference to Fig. 6 A-6E come describe by resource be can exemplified by cypher text, it is according to an embodiment of the invention The specific steps of an example of the method for the context of the resource to be changed are presented in the user interface and in user interface On display schematic diagram.
Fig. 6 A are schematically shown to the code before and after each textual resources directly the first identifier of addition Example.
In this example embodiment, resource be can cypher text, such as " Chinese ", " Danish ", " French ", " Title " etc. Deng.Conveniently mention, translation editing machine can mark automatically can cypher text and can not cypher text (such as in Fig. 6 A " Locale ", "/Label " etc.), therefore can not need other distinguish can cypher text and can not cypher text herein Step, and if using other editing machine such as txt, then can cypher text and not to distinguish using certain strategy Can cypher text, for example, by exclude programming grammar rule text can cypher text to distinguish.But this is not limitation, this Art personnel are contemplated that other modes distinguish can cypher text.These can cypher text may localization when It is translated.
In step S2011, such as because resource is text, therefore in one embodiment, it can use and be provided to text The content in source directly the first identifier of addition (for example, " 51 ") and mode uniquely identify these textual resources.It can join Examine Fig. 6 A, it is seen then that the content of text of textual resources " Chinese " is " Chinese " before the first identifier is inserted, and is being inserted Enter to be changed into that " { { { { 51 ", the content of text of textual resources " Danish " is in the mark of insertion first by Chinese after the first identifier It is " Danish " before symbol, and is changed into " Danish { { { { 52 ", etc. after the first identifier is inserted.
Fig. 6 B are schematically shown to each textual resources directly the first identifier of addition and to each object distribution the One illustrative examples of the display during two identifiers on a user interface.
Next, in step S2012, the resource file for including at least one resource after being identified can be utilized Object to be presented in the user interface, so as to the user interface shown in obtaining on the left of Fig. 6 B, it is seen then that these objects, such as Content shown by " Chinese ", " Danish ", " French ", " Title " etc. is in the text for the addition of the first identifier Hold, such as " Chinese 51 ", " Danish 52 ", " French 53 ", " Title { { { { 15 " etc..
Therefore, in step S2013, the level of presented user interface can be analyzed to find and the described first mark Related object is accorded with, so as to obtain the corresponding relation of at least one resource and object.Specifically, in one embodiment, The level of the user interface on the left of presented Fig. 6 B can be analyzed by GUI analysis engines, such as " JLabel can be obtained {text:Chinese { 51 } " element, so as to be easily found this with spcial character part " { " first mark Symbol " 51 ", it should carry the first identifier so as to learn " { { { { 51 " Text objects are and textual resources " Chinese " institute Corresponding object.
As it was previously stated, in another embodiment, can also according to the corresponding relation, to object distribution with it is corresponding The second associated identifier of first identifier of resource.In this example embodiment, first identifier can be removed, and according to institute Corresponding relation is stated, second identifier associated with the first identifier of corresponding resource to object distribution.Specifically, such as It is upper described, can be by removing the first identifier " { { { { 51 ", and only by the first mark of addition in textual resources " Chinese " " { { { { identification division " 51 " in 51 " is left the second identifier to symbol, and the second identifier " 51 " is embedded into the text objects Attribute in, such as shown on the right side of Fig. 6 B, " JLabel { text:Chinese;segment_identity:51 } " (i.e. this article The content of this resource is still " Chinese ", shown on the right side of Fig. 6 B).
So doing can be so that the object with any identifier will not be shown and lead by showing in the gui during text object Vision interference is caused, but normally shows text object (for example, the Chinese objects are shown as " Chinese "), its In, the attribute that second identifier has been embedded in text object suffers, be modified in follow-up text resource (such as turn over Translate) in the case of the second identifier can be embedded in using this attribute of object carry out the presentation of the object in the gui.
In addition, as described above, in one embodiment, it can also be carried out the record stage after object is presented.Due to Also object corresponding to resource presentation situation in the user interface and position, therefore the record stage are known when object is presented Can by the first identifier and be assigned with the first identifier resource and the object related to first identifier will present Which region in the user interface records in association.
In addition, in the case of the second identifier distributed to object, the record stage can also be included the second mark The object that symbol and instruction are assigned with the second identifier records in which region presented in the user interface in association, so as to day It can easily learn that the object corresponding to the resource will be present in user in response to changing resource in the change stage afterwards Which region (for example, which part of which page or which page under HTML) in interface, so as to which the area only be presented The area of presentation is reduced in domain (such as part of the html page or the page), saves time and cost.
In another embodiment, if during the second identifier is distributed, the first identifier (example is removed from resource Such as, it is previously described remove the first identifier " 51 ", the second identifier " 51 " is only added in the attribute of object), In the record stage, the first identifier and the resource for being assigned with the first identifier can also be recorded in association, to exist in the future The resource is obtained by the resource to be changed when carrying out the presentation of the object in GUI in response to change resource in the change stage The first corresponding identifier.
Further, since the second identifier is associated with the first identifier, therefore these above-mentioned records can also be each other It is recorded together in association.
Fig. 6 C schematically show the signal of the relation between above-mentioned record stage and the change stage for changing resource Block diagram.
As shown in Figure 6 C, in the record stage in left side, destination application is being subjected to codeacquisition and analyzed with GUI Engine carry out user interface analysis after, can by the first identifier, be assigned with the resource of the first identifier and corresponding object It is good that resource identifier-library of object is recorded in association, can be marked with (in the case where being assigned with the second identifier) by second Know symbol and instruction is assigned with the object of the second identifier and is recorded in which region presented in the user interface pair in association As in identifier-region index storehouse, and by the first identifier and it the resource of the first identifier can be assigned with record in association In resource identifier storehouse.These storehouses are recorded in a metadatabase with can also being associated (together with other metadata) In.And in the change stage on right side, in response to change a certain resource, for example, to translate it is a certain can cypher text, then can be with With reference to the resource identifier-library of object or resource identifier storehouse and object identifier-region index storehouse (figure is reference will also be made to below 6E describes how to be modified the stage with reference to these storehouses).
Pay attention to, due to having associated pass between the second identifier of object as described above and the first identifier of resource System, therefore by any first identifier, corresponding money can be found in resource identifier storehouse using such as Resource Search Engine Source, it can also be found in object identifier-region index storehouse corresponding to the second identifier associated with the first identifier Region in object, and GUI residing for the object etc. relevant information.In addition, these storehouses recorded in the record stage can Established, can also be established immediately when obtaining the information to be recorded, in the disclosure with unified after the second identifier is distributed Limited not to this.
Fig. 6 D schematically show resource identifier-library of object, resource identifier storehouse and object identifier-region index The schematic diagram in storehouse.
Unrestricted as an example, in resource identifier-library of object shown in Fig. 6 D, the row of left side one are resources First identifier, and secondary series is each resource, the 3rd row are each objects, and the row of right side one are corresponding subject areas.In this way, Easily it can directly find and present including corresponding with the resource that this to be changed right by a certain resource to be changed The region of elephant.In the case where not distributing the second identifier to object, the single resource identifier-library of object can be with Help that the region for including object corresponding to the resource to be changed is presented.
Unrestricted as an example, in the resource identifier storehouse shown in Fig. 6 D, the row of left side one are the first of resource Identifier, and the row of right side one are each resources.In this way, the first mark easily can be found by a certain resource to be changed Know symbol, or vice versa it is as the same.The resource identifier storehouse is generally used in combination with following object identifier-region index storehouse.
Unrestricted as an example, in the object identifier shown in Fig. 6 D-region index storehouse, the row of the leftmost side one are GUI area number, the region 1 that will be presented in the gui, region 2, region 3 etc., and secondary series is GUI area title, i.e. region 1 corresponds to Welcome regions, and region 2 corresponds to Welcome#1, and (this is that the delta in welcome regions changes, and will also be retouched below State) etc., the 3rd side is each object on the area, and the row of the rightmost side one are the second marks of these objects on the area Know symbol list (if in the case of being assigned with the second identifier), i.e., on region 1 (that is, Welcome interfaces), exist four it is right As its second identifier is respectively 1,2,5,6, on region 2 (i.e. Welcome#1 interfaces), two objects be present, its second mark It is respectively 3,5 to know symbol.In this way, the regional number residing for object easily can be found by the second identifier, or vice versa it is as the same.
, can by recording resource identifier-library of object or resource identifier storehouse and object identifier-region index storehouse The speed at interface where accelerating the object corresponding to lookup resource in the follow-up change stage and object being presented.
In addition, above-mentioned " Delta changes " is referred to for the change of GUI a certain regional dynamics be present, can be with Change monitor (GUI change event listener) with GUI to capture these changes in the region, and be recorded as Delta changes, and records in object identifier-region index storehouse this Delta and change these on region and the region Second identifier of object.Certainly, it is somebody's turn to do " Delta changes " to be not essential, does not limit the invention.
In addition, in the change stage afterwards, can to above-mentioned resource identifier-library of object or resource identifier storehouse and Object identifier-region index storehouse is updated.For example, in response to have changed one of at least one resource, can use in addition First identifier uniquely identifies the resource after change, and/or can be corresponding with object according to the resource after the change Relation, to the object distribution corresponding to the resource after the change it is associated with the first other identifier in addition the Two identifiers.So doing can be that the object changed every time also distributes the second identifier come so that can also easily pass through in the future Second identifier finds the object that have changed.Pay attention to, above-mentioned storehouse can also be generated in previous any stage to save the time, and Generate these storehouses and be also possible that and these storehouses are conveniently shared and managed between developer.
In this case Fig. 6 E are shown schematically in be presented including corresponding with the resource to be changed in the user interface Object region an example.
As illustrated in fig. 6e, in the step S2021 shown in Fig. 4, can in response to change at least one resource it One, the first identifier of the resource to be changed described in acquisition.In case of the present embodiment, for example, when what is be localized turns over Translate personnel to want when translating the text (such as " Chinese ") in resource file, he/her may insert mouse , in this case, can be by various modes (for example, removing from resource in step S2021 onto the text One identifier is for example " { { { { in the case of 51 ", by searching resource identifier-library of object or resource identifier shown in Fig. 6 D Storehouse) obtain corresponding to text resource the first identifier (such as it is foregoing " 51 ").In another embodiment, such as Still first identifier is with the addition of in the fruit text, and " { { { { 51 " (that is, do not remove when distributing the second identifier to object Originally first identifier added), can be by directly searching the spcial character part ") in the text " or " { ", To learn, which is the first identifier in the text, without searching resource identifier-library of object or resource shown in Fig. 6 D Identifier repository.
In step S2022, can obtain the object related to first identifier will be presented in the user interface Which region.
The region can be in units of the page, in this case, in one embodiment of the step, in program In the case that (or code segment) only includes a page, directly it can present in the gui including such as textual resources " Chinese " The page without knowing that the object is in which of page part.In another embodiment, in program (or code Section) including in the case of multiple pages, the object can also be learnt by the resource identifier-library of object recorded as described above In which page, so as to which the page be presented in units of the page.
The region can be in units of the part smaller than the page.In such a case it is possible to by each page division For some regions, and it is numbered and recorded.In this way, in one embodiment, can by resource identifier as described above- Library of object is found and the first identifier of the resource to be changed " { { { { regional number of 51 " associated objects, or pass through resource Identifier repository and object identifier-region index storehouse, by the first identifier of textual resources " Chinese " " 51 " come Find associated the second identifier " 51 " according to resource identifier, and according to object identifier-region index storehouse find this Which region object " Chinese " corresponding to two identifiers will be presented on, in this, it is assumed that region 1 will be presented on, then exist The region 1 is presented in GUI, as shown in Fig. 6 E right side.
In step S2023, the region can be presented in the user interface.In this way, operating personnel can be seen This includes the region of the object " Chinese " corresponding to the resource to be changed (as shown in Fig. 6 E right side).In addition, as above institute State, can highlightedly show the object " Chinese " so that operating personnel are more clearly visible that in this region.In the present embodiment In the case of, as shown in Fig. 6 B right side, find the second identifier " 51 " and the first identifier " after 51 " is associated, Pair the object for being assigned with second identifier " 51 " can be highlighted and (in this example embodiment, irised out with red frame) on interface, i.e., As Chinese.
As described above, in one embodiment, can be to object point after the corresponding relation of resource and object is known With the second identifier, second identifier can be associated with the first identifier.In this case, in the rapid S2023 in During highlightedly showing object in existing region, the level in presented region can be analyzed to find and first identifier The second associated identifier.In case of the present embodiment, for example, as shown in Fig. 6 E right side, presented by analysis The level in region, Jframe and metadata after being serialized, you can to obtain these objects and its attribute list (example Segment_identity_list as shown in Figure 6B) etc. information.The second mark can be found from the attribute information list of object Knowing symbol " 51 ", " { { { { 51 " is associated, so as to find the object for being assigned with second identifier " 51 " with the first identifier The particular location of " Chinese ", and highlighted.
Next, the translator being localized or developer for being upgraded etc. can be in the change resource phases Between see its resource to be changed by the context environmental residing for the object shown in the gui, can even be clearly seen that it Object corresponding to the resource to be changed in itself, so as to more accurately be translated or upgraded.For example, in the example In, it is with other language form " Danish ", " French " etc. that translator, which can see the text " Chinese " highlighted, And the instruction " Title " of article attribute on side, " Author " etc., it can speculate that the text " Chinese " refers to language Type, i.e. " Chinese ", rather than " Chinese ", therefore translator more accurately can change text resource " Chinese " (or translation) is text " Chinese ".
In this way, the translator being localized or developer for being upgraded etc. operator can provide in change Its context environmental of the resource to be changed residing for by the object shown in the gui is seen during source, so as to more accurately Translated or upgraded.
Fig. 7 A-7C be schematically show by resource be can exemplified by cypher text, it is according to an embodiment of the invention Showing for the display on a user interface of another example of the method for the context of the resource to be changed is presented in the user interface It is intended to.
As shown in Figure 7 A, with different first identifiers come represent these can cypher text resource (for example, " Add Deliverables to DOU " etc.) before, that line code for the value including the resource seen in editing machine is translated is " dou.dlg.addtodou.title=Add deliverables to DOU ".And to can cypher text insertion first mark After knowing symbol, including that line code of the value of the resource becomes " dou.dlg.addtodou.title=Add Deliverables to DOU 001 ", that is, insert " 001 " this include spcial character part " { { { " and mark part Divide first identifier of " 001 ".
As shown on the left of Fig. 7 B, after the first identifier of such insertion, with comprising this can cypher text the money When the text is presented in source file in the gui, original " Add deliverables to DOU ", but display will no longer be shown “Add deliverables to DOU{{{001”.Therefore, after the text being presented in the gui, analysis can be passed through GUI level come find the content of text of the display " Add deliverables to DOU 001 ", so as to learn the text Object is that " Add deliverables to DOU " are corresponding with the text resource in resource file.
Then, from can cypher text " Add deliverables to DOU { { { remove the first mark of addition in 001 " Symbol " 001 ", and only by the first identifier, " { { { identification division " 001 " in 001 " is left the second identifier, and by second Identifier " 2 " is embedded into this can be in the attribute of cypher text object, shown on the right side of Fig. 7 B.
Next, the second identifier and instruction can be assigned with to the object of the second identifier as described above will be presented on use Which region in the interface of family is recorded in object identifier-region index storehouse in association, and can by the first identifier and The resource for being assigned with the first identifier is recorded in resource identifier storehouse in association.
Next, as seen in figure 7 c, to be translated in response to translator can cypher text " Add deliverables to DOU ", can be by resource identifier storehouse as described above and object identifier-region index storehouse, according to textual resources " Add " { { { 001 " finds associated the second identifier " 001 " to deliverables to DOU " the first identifier, and by right " Add deliverables to DOU " will be in object as corresponding to second identifier is found in identifier-region index storehouse Which present region, in this, it is assumed that region 1 will be presented on, is then presented the region 1, as shown in Fig. 7 C right side in the gui.
Next, the level at the interface can be analyzed to find second identifier " 001 ".
After the second identifier " 001 " is found, it can highlight and (in this example embodiment, be irised out with red frame) on interface It is assigned with the object of second identifier " 001 ", i.e. object " Add deliverables to DOU ".
In this way, the translator being localized or developer for being upgraded etc. operator can provide in change Its context environmental of the resource to be changed residing for by the object shown in the gui is seen during source, so as to more accurately Translated or upgraded.
Pay attention to, here, the instrument that translator is used to change resource file is not limited to existing translation editor tool, money Source file edit tool, XML document (Extensible Markup Language, XML), TXT etc., This is not as limitation of the present invention.In addition, above to each step in the disclosure only by taking Java and HTML programs as an example Suddenly it is described, it will be recognized to those skilled in the art that being capable of program (or the code at presentation user interface for other Section) or user interface other any type of character set can be formed may be suitable for the present invention.
Pay attention to, each step of described above not necessarily performs in chronological order sometimes, but they can be in time Change the order performed, unless below the step of must be before use the step of obtain result when just sequentially perform.
Fig. 8 is to schematically show the resource to be changed of presentation in the user interface according to another embodiment of the present invention Context system 800 block diagram.
As shown in figure 8, the system 800 includes:Device 801 is obtained, is configured as at least one in acquisition resource file The corresponding relation for the object that resource is presented in the user interface with least one resource;And display device 802, it is configured For in response to change one of described at least one resource, according to the corresponding relation present in the user interface including with will be more The region of object corresponding to the resource changed.
In one embodiment, in the system 800, the acquisition device 801 can include:One kind in following:It is right It should be related to and obtain the (not shown) of module 8011, it is recorded by the described right of predetermined way generation to be configured as acquisition It should be related to;And the (not shown) of corresponding relation generation module 8012, it is configured to generate the corresponding pass by predetermined way System.
In one embodiment, the predetermined way includes:At least one money is uniquely identified with the first identifier Source;Object is presented in the user interface using the resource file comprising at least one resource after being identified;Analysis institute The level of the user interface of presentation finds the object related to first identifier, so as to obtaining at least one resource With the corresponding relation of each object.
In one embodiment, the system 800 can also include:The (not shown) of tape deck 803, be configured as by First identifier and it is assigned with the resource of the first identifier and the object related to first identifier and will be presented on user Which region in interface records in association.In this embodiment, the presentation device 802 can be configured as:Obtain with Which region of the related object of first identifier of the resource to be changed by presentation in the user interface;In user interface It is middle that the region is presented.
In one embodiment, the system 800 can also include removing device (not shown), and the removal device can be with It is configured as:First identifier is removed, and according to the corresponding relation, to the of object distribution and corresponding resource The second associated identifier of one identifier.
In one embodiment, in the system 800, it is described uniquely identified with the first identifier it is described at least one It is so that being presented in the user interface pair using resource file that the device 8011 of resource, which can set first identifier, As in the case of, the device of first identifier can be found by analyzing the level of user interface.
In one embodiment, first identifier and the second identifier can meet one of following relations:Described One identifier includes spcial character part and identification division, and second identifier includes the mark in first identifier Part;First identifier is identical with second identifier;And first identifier and second identifier are not It is same and associated.
In one embodiment, in the system 800, first identifier can include it is following in one kind or more Kind:Character string comprising identification division;Character string comprising spcial character part and identification division;It can uniquely identify described The content of text of itself of resource;The filename of itself of the resource can be uniquely identified;And can be uniquely Identify the path location information of itself of the resource.
The removal device (not shown) can be additionally configured to according to the corresponding relation, to object distribution with Carried out during the second associated identifier of first identifier of corresponding resource at least one of following:So that the user The attribute of object corresponding with least one resource in interface includes second identifier;And cause the user The path location information of object corresponding with least one resource in interface corresponds to second identifier.
In one embodiment, in the system 800, at least one money is being uniquely identified with the first identifier During source, the one or more in can carrying out as follows:In the case where at least one resource includes text, by described the One identifier is added in the content of the text of at least one resource;Include the situation of text at least one resource Under, the globally unique content of text of the resource in itself is set as first identifier;In at least one resource In the case of including the one or more in text, picture, Voice & Video, the globally unique text of the resource in itself is set Part name is as first identifier;And one kind at least one resource includes text, picture, Voice & Video Or it is a variety of in the case of, the path location information of of the resource itself is set as first identifier.
In one embodiment, in the system 800, first identifier can include spcial character part and mark Part, and second identifier can include the identification division in first identifier.In one embodiment, it is at this In system 800, first identifier and second identifier can be with identical.
In one embodiment, in the system 800, the resource can include in text, picture, Voice & Video It is one or more.
In one embodiment, in the system 800, the resource can include it is following in one or more:It can turn over Translation sheet;On picture comprising can cypher text picture;In voice comprising can interpreter language audio;And in voice Comprising can interpreter language and/or on picture comprising can cypher text video.
In one embodiment, in the system 800, it is described uniquely identified with the first identifier it is described at least one The device 8011 of resource can include translation editing machine.Wherein, first identifier is produced and managed by the translation editing machine Manage and uniquely identify each resource in the translation editing machine.
In one embodiment, in the system 800, the resource for including at least one resource after being identified is utilized File to be presented the device 8012 of object in the user interface, presentation includes the boundary of the resource to be changed in the user interface The device 8022 in face and highlighted on the interface object that second identifier is assigned device 8025 it One, which can include GUI, is presented engine.
In one embodiment, in the system 800, the level of the presented user interface of the analysis is found and institute The related object of the first identifier is stated, so as to obtain the device 8013 of the corresponding relation of at least one resource and object and divide Analysing the level at the interface can be wrapped with finding one of device 8023 of the second identifier associated with first identifier Include GUI analysis engines.
In one embodiment, in the system 800, in response to change one of described at least one resource, institute is obtained Resource Search Engine can be included by stating the device 8021 of the first identifier of the resource to be changed.
In one embodiment, the presentation device 802 can be additionally configured to:The level in the region is analyzed to find The object of second identifier associated with the first identifier of the resource to be changed is assigned;And in the region In pair of second identifier associated with the first identifier of the resource to be changed highlightedly is assigned described in display As.
In one embodiment, in the system 800, the (not shown) of updating device 804 can also be included, it is responded In have changed one of described at least one resource, the resource after change, and root are uniquely identified with the first other identifier According to the resource and the corresponding relation of object after the change, distributed to the object corresponding to the resource after the change and described another Associated the second other identifier of the first outer identifier.
In this way, according to above-mentioned each embodiment, can be presented and the resource to be changed in the gui during resource to be changed Corresponding object so that the developer for being localized or upgrading etc. can visually view the resource phase to be changed with it The corresponding object for wanting actual displayed in the gui, further such that it can understand the context environmental of the resource to be changed, So as to improve the accuracy of change resource.
Flow chart and block diagram in accompanying drawing show system, method and the computer journey of multiple embodiments according to the present invention Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for the module, program segment or code include one or more use In the executable instruction of logic function as defined in realization.It should also be noted that marked at some as in the realization replaced in square frame The function of note can also be with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially base Originally it is performed in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that It is the combination of each square frame and block diagram in block diagram and/or flow chart and/or the square frame in flow chart, can uses and perform rule Fixed function or the special hardware based system of action are realized, or can use the group of specialized hardware and computer instruction Close to realize.
It is described above various embodiments of the present invention, described above is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport The principle of each embodiment, practical application or technological improvement to the technology in market are best being explained, or is leading this technology Other those of ordinary skill in domain are understood that each embodiment disclosed herein.

Claims (12)

1. a kind of method for the context that the resource to be changed is presented in the user interface of application program, including:
At least one resource in the integrated message file of program of application program is obtained with least one resource in user circle The corresponding relation of the object presented in face, including it is following in one kind:
Obtain the recorded corresponding relation generated by predetermined way;And
The corresponding relation is generated by predetermined way,
Wherein,
The predetermined way includes:
At least one resource is uniquely identified with the first identifier;
Presented in the user interface pair using the described program integrated information file comprising at least one resource after being identified As;
The level of the presented user interface of analysis finds the object related to first identifier, so as to described in obtaining extremely The corresponding relation of few a resource and each object;
In response to change one of described at least one resource, presented in the user interface including with wanting according to the corresponding relation The region of object corresponding to the resource of change;
Wherein,
Methods described also includes:By the first identifier and be assigned with the first identifier resource and with the first identifier phase The object of pass records in which region presented in the user interface in association;
It is described in response to change one of described at least one resource, according to the corresponding relation present in the user interface including The step of region of object corresponding with the resource to be changed, includes:Obtain the first mark with the resource to be changed Which region of related object by presentation in the user interface accorded with;The region is presented in the user interface.
2. the method according to claim 11, wherein, it is described that at least one money is uniquely identified with the first identifier The step of source, includes the one or more in following:
In the case where at least one resource includes text, first identifier is added to the text of the resource In content;
In the case where at least one resource includes text, the globally unique content of text of the resource in itself is set to make For first identifier;
In the case of the one or more during at least one resource includes text, picture, Voice & Video, described in setting The globally unique filename of resource in itself is as first identifier;And
In the case of the one or more during at least one resource includes text, picture, Voice & Video, described in setting The path location information of of resource itself is as first identifier.
3. the method according to claim 11, wherein,
Methods described also includes:Remove first identifier, and according to the corresponding relation, to object distribution with it is corresponding Resource associated the second identifier of the first identifier;
It is described in response to change one of described at least one resource, according to the corresponding relation present in the user interface including The step of region of object corresponding with the resource to be changed, also includes:The level for analyzing the region is allocated to find The object of second identifier related to the first identifier of the resource to be changed;And in this region highlightedly The object of second identifier related to the first identifier of the resource to be changed is assigned in display.
4. according to the method for claim 3, wherein, first identifier and the second identifier meet following to be related to it One:
First identifier includes spcial character part and identification division, and second identifier includes the described first mark Identification division in symbol;
First identifier is identical with second identifier;And
First identifier and second identifier are different and associated.
5. according to the method for claim 3, wherein, one of first identifier and second identifier include as follows In one or more:
Character string comprising identification division;
Character string comprising spcial character part and identification division;
The content of text of itself of the resource can be uniquely identified;
The filename of itself of the resource can be uniquely identified;And
The path location information of itself of the resource can be uniquely identified.
6. according to the method for claim 3, wherein, it is described according to the corresponding relation, to object distribution with it is corresponding Resource the first identifier associated the second identifier the step of include it is at least one of following:
So that the attribute of the object corresponding with least one resource in the user interface includes second identifier; And
So that the path location information of the object corresponding with least one resource in the user interface correspond to it is described Second identifier.
7. the method according to claim 11, in addition to:
In response to have changed one of described at least one resource, the money after change is uniquely identified with the first other identifier Source, and according to the resource and the corresponding relation of object after the change, distributed to the object corresponding to the resource after the change Other second identifier associated with the first other identifier.
8. a kind of system for the context that the resource to be changed is presented in the user interface, including:
Obtain device, be configured as obtain application program program integrate message file at least one resource with it is described at least The corresponding relation for the object that one resource is presented in the user interface, including it is following in one kind:
Corresponding relation obtains module, is configured as obtaining the recorded corresponding relation generated by predetermined way;With And
Corresponding relation generation module, it is configured to generate the corresponding relation by predetermined way,
Wherein,
The predetermined way includes:
At least one resource is uniquely identified with the first identifier;
Presented in the user interface pair using the described program integrated information file comprising at least one resource after being identified As;
The level of the presented user interface of analysis finds the object related to first identifier, so as to described in obtaining extremely The corresponding relation of few a resource and each object;And
Display device, it is configured to respond to change one of described at least one resource, according to the corresponding relation in user Being presented in interface includes the region of object corresponding with the resource to be changed;
Wherein,
The system also includes:Tape deck, be configured as by the first identifier and be assigned with the first identifier resource and The object related to first identifier records in which region presented in the user interface in association;
The presentation device is configured as:Obtaining the object related to the first identifier of the resource to be changed will be presented on Which region in user interface;The region is presented in the user interface.
9. system according to claim 8, wherein,
The system also includes:Device is removed, is configured as removing first identifier, and according to the corresponding relation, to The object distribution second identifier associated with the first identifier of corresponding resource,
The presentation device is additionally configured to:The level for analyzing the region is assigned and the resource to be changed with finding Related the second identifier of the first identifier object;And highlightedly show to be assigned in this region and wanted with described The object of the second related identifier of first identifier of the resource of change.
10. system according to claim 9, wherein, first identifier and the second identifier meet following to be related to it One:
First identifier includes spcial character part and identification division, and second identifier includes the described first mark Identification division in symbol;
First identifier is identical with second identifier;And
First identifier and second identifier are different and associated.
11. system according to claim 9, wherein, the removal device is additionally configured to according to the corresponding relation, In being carried out as follows during the second identifier associated with the first identifier of corresponding resource to object distribution at least It is a kind of:
So that the attribute of the object corresponding with least one resource in the user interface includes second identifier; And
So that the path location information of the object corresponding with least one resource in the user interface correspond to it is described Second identifier.
12. system according to claim 9, in addition to:
Updating device, it is configured to respond to have changed one of described at least one resource, with the first other identifier come only Resource after the mark change of one ground, and according to the resource and the corresponding relation of object after the change, the money to after the change Object corresponding to source distributes other second identifier associated with the first other identifier.
CN201310450122.6A 2013-09-27 2013-09-27 The method and system for the resource changed in resource file Expired - Fee Related CN104516727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310450122.6A CN104516727B (en) 2013-09-27 2013-09-27 The method and system for the resource changed in resource file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310450122.6A CN104516727B (en) 2013-09-27 2013-09-27 The method and system for the resource changed in resource file

Publications (2)

Publication Number Publication Date
CN104516727A CN104516727A (en) 2015-04-15
CN104516727B true CN104516727B (en) 2018-02-02

Family

ID=52792094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310450122.6A Expired - Fee Related CN104516727B (en) 2013-09-27 2013-09-27 The method and system for the resource changed in resource file

Country Status (1)

Country Link
CN (1) CN104516727B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11853685B2 (en) 2018-01-23 2023-12-26 Oracle International Corporation Transformation of resource files using mapped keys for tracking content location

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733731B (en) * 2017-04-25 2021-12-24 珠海金山办公软件有限公司 Convenient method and device for changing multimedia resources in document and electronic equipment
WO2019006585A1 (en) * 2017-07-03 2019-01-10 Electronic Arts Inc. Real-time localization
CN107506339B (en) * 2017-08-08 2021-06-04 许继集团有限公司 Character offset-based SCD node verification error positioning method and device
CN110018866B (en) * 2018-11-06 2022-03-15 蔚来(安徽)控股有限公司 User interface theme updating method, device and system, vehicle machine and vehicle
CN111880889B (en) * 2020-08-11 2023-08-08 成都极米科技股份有限公司 Interface display method and device, electronic equipment and storage medium
CN112156460A (en) * 2020-09-24 2021-01-01 完美世界(北京)软件科技发展有限公司 Game user interface resource processing method and device
CN112131844A (en) * 2020-10-10 2020-12-25 北京字跳网络技术有限公司 Online document editing method and device and electronic equipment
CN114047981A (en) * 2021-12-24 2022-02-15 珠海金山数字网络科技有限公司 Project configuration method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147128A (en) * 2005-01-25 2008-03-19 霍尼韦尔国际公司 Method to automate resource management in computer applications
CN101311897A (en) * 2007-05-24 2008-11-26 国际商业机器公司 Method and device for snatching at application program graphical user interface resource
CN101477519A (en) * 2008-12-22 2009-07-08 传神联合(北京)信息技术有限公司 Original document synchronous preview apparatus and method for network translation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496793B1 (en) * 1993-04-21 2002-12-17 Borland Software Corporation System and methods for national language support with embedded locale-specific language driver identifiers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147128A (en) * 2005-01-25 2008-03-19 霍尼韦尔国际公司 Method to automate resource management in computer applications
CN101311897A (en) * 2007-05-24 2008-11-26 国际商业机器公司 Method and device for snatching at application program graphical user interface resource
CN101477519A (en) * 2008-12-22 2009-07-08 传神联合(北京)信息技术有限公司 Original document synchronous preview apparatus and method for network translation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11853685B2 (en) 2018-01-23 2023-12-26 Oracle International Corporation Transformation of resource files using mapped keys for tracking content location

Also Published As

Publication number Publication date
CN104516727A (en) 2015-04-15

Similar Documents

Publication Publication Date Title
CN104516727B (en) The method and system for the resource changed in resource file
Kuckartz et al. Analyzing qualitative data with MAXQDA
US10929449B2 (en) Generating a structured document guiding view
Pavel et al. Video digests: a browsable, skimmable format for informational lecture videos.
US8972440B2 (en) Method and process for semantic or faceted search over unstructured and annotated data
US20190220490A1 (en) Combining website characteristics in an automatically generated website
US8887044B1 (en) Visually distinguishing portions of content
US10698956B2 (en) Active knowledge guidance based on deep document analysis
JP5257330B2 (en) Statement recording device, statement recording method, program, and recording medium
US9418054B2 (en) Document comment management
US9934220B2 (en) Content revision using question and answer generation
US8862574B2 (en) Providing a search-result filters toolbar
US20130305149A1 (en) Document reader and system for extraction of structural and semantic information from documents
US9613003B1 (en) Identifying topics in a digital work
US10650094B2 (en) Predicting style breaches within textual content
AU2018253637B2 (en) Interactive tutorial integration
US11163806B2 (en) Obtaining candidates for a relationship type and its label
CN106934069A (en) Data retrieval method and system
EP2162833A1 (en) A method, system and computer program for intelligent text annotation
Cassidy et al. Signbank: Software to support web based dictionaries of sign language
US20110307240A1 (en) Data modeling of multilingual taxonomical hierarchies
Sciuto A ‘Reversible Figure Annotation System’for the Born-Digital Critical Edition of d’Holbach’s Complete Works
US11977844B1 (en) Reading assistance sponsorship system and methodolgy
Bellini et al. ECLAP
Sporleder et al. Language Technology for Cultural Heritage, Social Sciences and Humanities: Chances and Challenges

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180202

Termination date: 20200927