Language verification testing method, and computer readable storage medium
A test method and language technology, applied in the field of data detection, can solve the problems that manual coverage cannot be guaranteed, the application program has huge functions, and multi-time cost, etc., so as to improve test efficiency and test accuracy, improve test coverage, and reduce The effect of potential risks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] Please refer to figure 2 , Embodiment 1 of the present invention is: a language verification test method, which can be applied to the language test of internationalized application products, comprising the following steps:
[0061] S1: Obtain the base language pack, target language pack and standard translation file; wherein, the base language is the language to be translated, the target language is the translated language, and the correct translation content is stored in the standard translation file.
[0062]Specifically, for the base language pack and the target language pack, firstly compress them respectively to obtain two compressed files; then upload the two compressed files to the server through http, and generate corresponding downloadable url addresses (uniform resource locator); the server downloads two compressed files according to the url address, and decompresses the two compressed files respectively to obtain a reference language pack and a target langua...
Embodiment 2
[0082] This embodiment is a specific application scenario of the foregoing embodiments.
[0083] Through the format analysis of all language packs, all language packs are composed of key-value (key-value) structures, but the file formats in different application bodies are different, such as xml, json, strings, xlsx etc. The test method of this embodiment is aimed at the current mainstream application multilingual solution, through the generalized language package processing and parsing process, to perform batch automated content verification and translation verification on the international multilingual package of the application, And output a detailed language pack test report. The specific process is as follows:
[0084] 1. First compress the base language pack to be translated and verified and the target language pack to be verified into .zip files, upload the language pack in zip format to the server via http, and generate a downloadable url address.
[0085] 2. The se...
Embodiment 3
[0111]This embodiment is a computer-readable storage medium corresponding to the above-mentioned embodiments, on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:
[0112] Obtain the base language pack, target language pack and standard translation files;
[0113] Respectively parsing the data in the reference language pack, the target language pack and the standard translation file into data in the form of key-value pairs to obtain a first set of key-value pairs, a second set of key-value pairs, and a third set of key-value pairs;
[0114] Perform a verification test of whether to translate according to the first key-value pair set and the second key-value pair set;
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com