CN101122858A - Human-machine interface localization method and system - Google Patents
Human-machine interface localization method and system Download PDFInfo
- Publication number
- CN101122858A CN101122858A CNA2007101220668A CN200710122066A CN101122858A CN 101122858 A CN101122858 A CN 101122858A CN A2007101220668 A CNA2007101220668 A CN A2007101220668A CN 200710122066 A CN200710122066 A CN 200710122066A CN 101122858 A CN101122858 A CN 101122858A
- Authority
- CN
- China
- Prior art keywords
- localization
- human
- configuration file
- interface
- word message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The present invention relates to a human computer interaction interface localization method. The method includes: a configuration file generation procedure which is used to generate a corresponding configuration file in accordance with the word information displayed on the interaction interface, a localization module setting procedure which is used to judge the present language environment and acquire the localized text information from the configuration file in according to the key words entered, and a localized text information displaying procedure which is used to display the localized information on the interaction interface. The present invention can realize an arbitrary switching among Chinese, English or other language environment to satisfy the needs of different users. If contents of the interface should be changed, only the relative content of the configuration file module needs modifying without recompiling the edition. When a software edition which supports a plurality of language environments has to support a new language, only the contents of the localized language in the configuration file need to be changed. It is unnecessary to use a new edition and easy to operate.
Description
Technical field
The present invention relates to human-computer interaction interface, especially a kind of method and system of human-machine interface localization.
Background technology
For software, human-computer interaction interface and user the most directly come into contacts with, and whether human-computer interaction interface is clear understandable, and whether text description is accurate, are important judgment criteria that whether handy software is.
On the other hand, constantly carry out along with international, it is domestic that right user of software demand side no longer is confined to probably, and will face external user, how quickly and easily just must solve provides the multilingual problem of environment, how to realize handing over the problem of human-machine interface localization.
In the prior art, a kind of localized scheme is to adopt when software application is used the operation of source language user interface, from the bytecode of this software application, extract source language graphical user interface (GUI) assembly literal, the source language GUI assembly literal that extracts is formed a localized APMB package, source language GUI assembly character translation in the described localized APMB package is become target language, when moving this software application once more, from the localized APMB package of translation, load the GUI assembly literal after translating; And the GUI assembly that will translate into target language is presented on the display screen.This scheme loads different localization file bags for different language environments, realizes the localization of man-machine interface.But this scheme can easily not switched between various language environments arbitrarily; Revise the man-machine interface content displayed if desired, the scheme above adopting just must be revised source code and recompilate version and software is upgraded.
Summary of the invention
The problem to be solved in the present invention provides a kind of method and system of human-machine interface localization, solves the problem that how to realize human-machine interface localization.
The invention provides a kind of method of human-machine interface localization, comprising:
Configuration file generates step, is used for the Word message according to the human-computer interaction interface demonstration, generates corresponding configuration file;
Localized module step is set, is used to judge current language environment, and from configuration file, obtain the Word message of localization according to the key word of input;
Localization Word message step display is used for showing localized Word message at human-computer interaction interface.
Configuration file comprises the macaronic at least Word message of key word and this key word correspondence.
The localization module is judged current language environment by the JAVA virtual machine or by configuration file.
The localization module also is used to be written into and parsing and the corresponding configuration file of Word message that human-computer interaction interface shows, the localized Word message of key word and key word correspondence is formed name-value pair.
The localization module also is used to provide external interface, and the Word message of the pairing localization of output key word calls when showing for human-computer interaction interface.
In the localization Word message step display, to localized module request, localized module is obtained the Word message of localization to human-computer interaction interface, and returns to human-computer interaction interface by key word, and human-computer interaction interface shows.
The invention provides a kind of system of human-machine interface localization, comprising:
The configuration file generation module is used for the Word message according to interface display, generates corresponding configuration file;
The localization module is used to judge current language environment, and obtains the Word message of localization from configuration file according to the key word of input;
Localization Word message display module is used for showing localized Word message at human-computer interaction interface.
Configuration file comprises the macaronic at least Word message of key word and this key word correspondence.
The configuration file that the localization module also is used to be written into and parsing is corresponding with the Word message of interface display is with the localized Word message composition name-value pair of key word and key word correspondence.
The localization module also is used to provide external interface, and the Word message by the pairing localization of this external interface output key word calls when showing for human-computer interaction interface.
The present invention can be implemented between Chinese, English and other various language environments switches arbitrarily, satisfies requirements of different users; If when revising interface content, do not need to recompilate version, only need to revise content relevant in the profile module and get final product; A software version can be supported the multilingual environment, supports new language if desired, also only needs to revise the content of local language item in the configuration file, and does not need to replace version, and is convenient to operation.
Description of drawings
Fig. 1 is the method flow diagram of human-machine interface localization provided by the invention;
Fig. 2 is the system diagram of human-machine interface localization provided by the invention.
Embodiment
Technical matters to be solved by this invention has provided a kind of method that simply realizes localization by profile module, has solved the localized problem of facing the different language user in software.
Among the present invention, all Word messages that need be shown to the user all are kept in the profile module, when interface display is given the user, it or not direct display text information, but by a key word (key) to localized module application, localized module can be obtained the information that be shown to the user (spoken and written languages of English, Chinese or any country of being provided with) according to current language environment and the key word that imports in configuration file from profile module.
The method that provides among the present invention comprises:
As shown in the table, can adopt delegation's multiple row, cut apart by comma between the row.
Key | English explanation | Other language ... |
Comprise following content:
Key: first row are key words, are equivalent to index, and each literal term that need show can not repeat on the corresponding interface.
English explanation: when adopting English interface, key word corresponding character item should be shown to user's english information.
Other language: when adopting other language, other language messages that should be shown to the user of key word correspondence.
Realize system for carrying out said process as shown in Figure 2, this system 200 comprises: configuration file generation module 201, be used for Word message according to interface display, and generate corresponding configuration file; Localization module 202 is used to judge current language environment, and obtains the Word message of localization from configuration file according to the key word of input; Localization Word message display module 203 is used for showing localized Word message at human-computer interaction interface.Configuration file comprises the macaronic at least Word message of key word and this key word correspondence.The configuration file that localization module 202 also is used to be written into and parsing is corresponding with the Word message of interface display, the localized Word message of key word and key word correspondence is formed name-value pair, and provide external interface, Word message by the pairing localization of this external interface output key word calls when showing for human-computer interaction interface.
Those skilled in the art can also carry out various modifications to above content under the condition that does not break away from the definite the spirit and scope of the present invention of claims.Therefore scope of the present invention is not limited in above explanation, but determine by the scope of claims.
Claims (10)
1. the method for a human-machine interface localization is characterized in that, comprising:
Configuration file generates step, is used for the Word message according to the human-computer interaction interface demonstration, generates corresponding configuration file;
Localized module step is set, is used to judge current language environment, and from configuration file, obtain the Word message of localization according to the key word of input;
Localization Word message step display is used for showing localized Word message at human-computer interaction interface.
2. the method for human-machine interface localization as claimed in claim 1 is characterized in that, configuration file comprises the macaronic at least Word message of key word and this key word correspondence.
3. the method for human-machine interface localization as claimed in claim 2 is characterized in that, localized module is judged current language environment by the JAVA virtual machine or by configuration file.
4. the method for human-machine interface localization as claimed in claim 1, it is characterized in that, the localization module also is used to be written into and parsing and the corresponding configuration file of Word message that human-computer interaction interface shows, the localized Word message of key word and key word correspondence is formed name-value pair.
5. the method for human-machine interface localization as claimed in claim 4 is characterized in that, localized module also is used to provide external interface, and the Word message of the pairing localization of output key word calls when showing for human-computer interaction interface.
6. the method for human-machine interface localization as claimed in claim 5, it is characterized in that, in the localization Word message step display, human-computer interaction interface by key word to localized module request, the localization module is obtained the Word message of localization, and returning to human-computer interaction interface, human-computer interaction interface shows.
7. the system of a human-machine interface localization is characterized in that, comprising:
The configuration file generation module is used for the Word message according to interface display, generates corresponding configuration file;
The localization module is used to judge current language environment, and obtains the Word message of localization from configuration file according to the key word of input;
Localization Word message display module is used for showing localized Word message at human-computer interaction interface.
8. the system of human-machine interface localization as claimed in claim 7 is characterized in that, configuration file comprises the macaronic at least Word message of key word and this key word correspondence.
9. the system of human-machine interface localization as claimed in claim 7, it is characterized in that, the configuration file that the localization module also is used to be written into and parsing is corresponding with the Word message of interface display is with the localized Word message composition name-value pair of key word and key word correspondence.
10. the system of human-machine interface localization as claimed in claim 9, it is characterized in that, the localization module also is used to provide external interface, and the Word message by the pairing localization of this external interface output key word calls when showing for human-computer interaction interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007101220668A CN100472439C (en) | 2007-09-20 | 2007-09-20 | Human-machine interface localization method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007101220668A CN100472439C (en) | 2007-09-20 | 2007-09-20 | Human-machine interface localization method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101122858A true CN101122858A (en) | 2008-02-13 |
CN100472439C CN100472439C (en) | 2009-03-25 |
Family
ID=39085203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007101220668A Active CN100472439C (en) | 2007-09-20 | 2007-09-20 | Human-machine interface localization method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100472439C (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882082A (en) * | 2010-06-23 | 2010-11-10 | 中兴通讯股份有限公司 | Method and device for localizing Java edit box |
CN101950251A (en) * | 2010-09-14 | 2011-01-19 | 浙江大学 | Localization method for mobile Widget |
CN102033774A (en) * | 2010-12-17 | 2011-04-27 | 中兴通讯股份有限公司 | Local interface display method and system |
CN102360284A (en) * | 2011-05-10 | 2012-02-22 | 中国人民解放军徐州空军学院 | Liquid crystal display English interface universal Chinese chinesization system and method |
CN103309646A (en) * | 2012-03-07 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Method and device for localizing software |
WO2014026595A1 (en) * | 2012-08-14 | 2014-02-20 | 张静静 | Compiling realization method and system based visuallisp programming language |
CN108446157A (en) * | 2018-04-04 | 2018-08-24 | 沈阳东北电力调节技术有限公司 | A kind of multilingual display interface design method that Vertical Mill auxiliaries control system can switch in real time |
CN109582414A (en) * | 2018-11-06 | 2019-04-05 | 福建天泉教育科技有限公司 | Using international method, storage medium |
CN109669422A (en) * | 2018-12-29 | 2019-04-23 | 武汉考克利尔工程技术有限公司 | A kind of system of real-time data acquisition |
CN110457085A (en) * | 2019-07-10 | 2019-11-15 | 北京奇艺世纪科技有限公司 | Document handling method, device, terminal device and computer-readable medium |
CN110908744A (en) * | 2018-09-17 | 2020-03-24 | 福建天泉教育科技有限公司 | Instant messaging software system message multi-language support method and storage medium |
-
2007
- 2007-09-20 CN CNB2007101220668A patent/CN100472439C/en active Active
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882082A (en) * | 2010-06-23 | 2010-11-10 | 中兴通讯股份有限公司 | Method and device for localizing Java edit box |
CN101882082B (en) * | 2010-06-23 | 2015-08-12 | 中兴通讯股份有限公司 | The method and apparatus of a kind of Java edit box localization |
CN101950251B (en) * | 2010-09-14 | 2013-05-29 | 浙江大学 | Localization method for mobile Widget |
CN101950251A (en) * | 2010-09-14 | 2011-01-19 | 浙江大学 | Localization method for mobile Widget |
CN102033774A (en) * | 2010-12-17 | 2011-04-27 | 中兴通讯股份有限公司 | Local interface display method and system |
CN102360284B (en) * | 2011-05-10 | 2014-01-22 | 中国人民解放军徐州空军学院 | Liquid crystal display English interface universal Chinese chinesization system and method |
CN102360284A (en) * | 2011-05-10 | 2012-02-22 | 中国人民解放军徐州空军学院 | Liquid crystal display English interface universal Chinese chinesization system and method |
CN103309646A (en) * | 2012-03-07 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Method and device for localizing software |
CN103309646B (en) * | 2012-03-07 | 2017-11-14 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus of software localization |
WO2014026595A1 (en) * | 2012-08-14 | 2014-02-20 | 张静静 | Compiling realization method and system based visuallisp programming language |
CN108446157A (en) * | 2018-04-04 | 2018-08-24 | 沈阳东北电力调节技术有限公司 | A kind of multilingual display interface design method that Vertical Mill auxiliaries control system can switch in real time |
CN108446157B (en) * | 2018-04-04 | 2022-05-10 | 沈阳东北电力调节技术有限公司 | Multi-language display interface design method capable of realizing real-time switching of control system of vertical mill auxiliary machine |
CN110908744A (en) * | 2018-09-17 | 2020-03-24 | 福建天泉教育科技有限公司 | Instant messaging software system message multi-language support method and storage medium |
CN110908744B (en) * | 2018-09-17 | 2023-07-07 | 福建天泉教育科技有限公司 | Message multilingual support method for instant messaging software system and storage medium |
CN109582414A (en) * | 2018-11-06 | 2019-04-05 | 福建天泉教育科技有限公司 | Using international method, storage medium |
CN109669422B (en) * | 2018-12-29 | 2021-09-14 | 宝信软件(武汉)有限公司 | Real-time data acquisition system |
CN109669422A (en) * | 2018-12-29 | 2019-04-23 | 武汉考克利尔工程技术有限公司 | A kind of system of real-time data acquisition |
CN110457085A (en) * | 2019-07-10 | 2019-11-15 | 北京奇艺世纪科技有限公司 | Document handling method, device, terminal device and computer-readable medium |
CN110457085B (en) * | 2019-07-10 | 2022-10-21 | 北京奇艺世纪科技有限公司 | File processing method and device, terminal equipment and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN100472439C (en) | 2009-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100472439C (en) | Human-machine interface localization method and system | |
CN100447743C (en) | System and method for localizing JAVA GUI application without modifying source code | |
CN108595445A (en) | Interpretation method, device and terminal | |
CN103324613A (en) | System and method for automatic language translation for applications | |
GB2555544A (en) | International multi-language implementation method of configuration software | |
US20020133523A1 (en) | Multilingual graphic user interface system and method | |
CN101842243A (en) | Dynamic virtual input device configuration | |
CN101566946A (en) | Method for flexibly supporting software multi-language version | |
KR101717488B1 (en) | Method and Apparatus for Inputting Characters | |
KR100676697B1 (en) | Language displaying method and system of software for computer, recording media of computer program therefor | |
CN102298578A (en) | Translation method based on handheld device and system | |
CN107404508B (en) | Client page access method, client and electronic equipment | |
US20080266145A1 (en) | Multi-lingual text entry using a dynamically reconfigurable keyboard | |
CN101147128A (en) | Method to automate resource management in computer applications | |
CN102023805B (en) | Method for assisting in browsing text messages on software interface | |
Arroba et al. | A methodology for developing accessible mobile platforms over leading devices for visually impaired people | |
CN113641433A (en) | Multi-language page conversion method and unit of front-end internationalized multi-language file based on i18n technology | |
CN103870172A (en) | Information input method and device | |
CN109035623A (en) | Interface display method, interface display apparatus and the electronic equipment of self-aided terminal | |
CN102651023B (en) | Method and device for controlling input data | |
CN108052212A (en) | A kind of method, terminal and computer-readable medium for inputting word | |
CN103607414A (en) | Mobile forepart service display system and mobile forepart service display method | |
CN101431633B (en) | Multi-language supported OSD display method and system | |
CN109634711A (en) | A kind of Dynamic Configuration of dummy keyboard | |
CN105700703A (en) | Method and device for inserting expressions in character input interface of keyboard and supporting user-defined expressions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |