If you want to sell or promote a software application in a foreign market, you have to translate it into a new language. That used to mean programmers would have to pore over thousands of lines of code in order to identify every little string that relates to what appears on a user's screen.
This could be incredibly time consuming and, even then, there was always room for human error. Programmers have to be certain they are not replacing code that governs how the program actually works.
But now researchers from NC State and Peking University have created a software tool that identifies those pieces of software code that are designed to appear on-screen and communicate with the user (such as menu items), as opposed to those pieces of code that govern how the program actually functions. Once those "on-screen" pieces of code have been identified, the programmers can translate them into the relevant language – for example, translating the tabs on a toolbar from English into Chinese.
"This is a significant advance because it saves programmers from hunting through tens of thousands of lines of code," says Dr. Tao Xie, an assistant professor of computer science at NC State. "Productivity goes up because finding the 'need-to-translate' strings can be done more quickly. The quality also goes up, because there is less chance that a programmer will make a mistake and overlook relevant code."
As an example of how the software tool can identify errors and oversights made by human programmers, Xie says, the researchers found 17 translation omission errors when they applied the software tool on a popular online video game. The errors were then corrected.
Matt Shipman | EurekAlert!
Information integration and artificial intelligence for better diagnosis and therapy decisions
24.05.2017 | Fraunhofer MEVIS - Institut für Bildgestützte Medizin
World's thinnest hologram paves path to new 3-D world
18.05.2017 | RMIT University
The world's highest gain high power laser amplifier - by many orders of magnitude - has been developed in research led at the University of Strathclyde.
The researchers demonstrated the feasibility of using plasma to amplify short laser pulses of picojoule-level energy up to 100 millijoules, which is a 'gain'...
Staphylococcus aureus is a feared pathogen (MRSA, multi-resistant S. aureus) due to frequent resistances against many antibiotics, especially in hospital infections. Researchers at the Paul-Ehrlich-Institut have identified immunological processes that prevent a successful immune response directed against the pathogenic agent. The delivery of bacterial proteins with RNA adjuvant or messenger RNA (mRNA) into immune cells allows the re-direction of the immune response towards an active defense against S. aureus. This could be of significant importance for the development of an effective vaccine. PLOS Pathogens has published these research results online on 25 May 2017.
Staphylococcus aureus (S. aureus) is a bacterium that colonizes by far more than half of the skin and the mucosa of adults, usually without causing infections....
Physicists from the University of Würzburg are capable of generating identical looking single light particles at the push of a button. Two new studies now demonstrate the potential this method holds.
The quantum computer has fuelled the imagination of scientists for decades: It is based on fundamentally different phenomena than a conventional computer....
An international team of physicists has monitored the scattering behaviour of electrons in a non-conducting material in real-time. Their insights could be beneficial for radiotherapy.
We can refer to electrons in non-conducting materials as ‘sluggish’. Typically, they remain fixed in a location, deep inside an atomic composite. It is hence...
Two-dimensional magnetic structures are regarded as a promising material for new types of data storage, since the magnetic properties of individual molecular building blocks can be investigated and modified. For the first time, researchers have now produced a wafer-thin ferrimagnet, in which molecules with different magnetic centers arrange themselves on a gold surface to form a checkerboard pattern. Scientists at the Swiss Nanoscience Institute at the University of Basel and the Paul Scherrer Institute published their findings in the journal Nature Communications.
Ferrimagnets are composed of two centers which are magnetized at different strengths and point in opposing directions. Two-dimensional, quasi-flat ferrimagnets...
24.05.2017 | Event News
23.05.2017 | Event News
22.05.2017 | Event News
29.05.2017 | Earth Sciences
29.05.2017 | Life Sciences
29.05.2017 | Physics and Astronomy