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!
Sensors embedded in sports equipment could provide real-time analytics to your smartphone
16.02.2017 | University of Illinois College of Engineering
Researchers catch extreme waves with higher-resolution modeling
15.02.2017 | DOE/Lawrence Berkeley National Laboratory
In the field of nanoscience, an international team of physicists with participants from Konstanz has achieved a breakthrough in understanding heat transport
Cells need to repair damaged DNA in our genes to prevent the development of cancer and other diseases. Our cells therefore activate and send “repair-proteins”...
The Fraunhofer IWS Dresden and Technische Universität Dresden inaugurated their jointly operated Center for Additive Manufacturing Dresden (AMCD) with a festive ceremony on February 7, 2017. Scientists from various disciplines perform research on materials, additive manufacturing processes and innovative technologies, which build up components in a layer by layer process. This technology opens up new horizons for component design and combinations of functions. For example during fabrication, electrical conductors and sensors are already able to be additively manufactured into components. They provide information about stress conditions of a product during operation.
The 3D-printing technology, or additive manufacturing as it is often called, has long made the step out of scientific research laboratories into industrial...
Nature does amazing things with limited design materials. Grass, for example, can support its own weight, resist strong wind loads, and recover after being...
Nanometer-scale magnetic perforated grids could create new possibilities for computing. Together with international colleagues, scientists from the Helmholtz Zentrum Dresden-Rossendorf (HZDR) have shown how a cobalt grid can be reliably programmed at room temperature. In addition they discovered that for every hole ("antidot") three magnetic states can be configured. The results have been published in the journal "Scientific Reports".
Physicist Dr. Rantej Bali from the HZDR, together with scientists from Singapore and Australia, designed a special grid structure in a thin layer of cobalt in...
13.02.2017 | Event News
10.02.2017 | Event News
09.02.2017 | Event News
20.02.2017 | Materials Sciences
20.02.2017 | Health and Medicine
20.02.2017 | Health and Medicine