Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A python-based ios APP internationalization file management method

A file management method and file technology, applied in the field of software development, can solve the problems of complicated operation and low efficiency, and achieve the effects of reducing time cost, improving development efficiency, and avoiding copy and paste operations.

Active Publication Date: 2021-08-06
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a Python-based iOS APP internationalization file management method, which is used to solve the problems of low efficiency and cumbersome operation caused by manual import and export in iOS internationalization file management in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A python-based ios APP internationalization file management method
  • A python-based ios APP internationalization file management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] combined with figure 1 and figure 2 As shown, a Python-based iOS APP internationalization file management method, including quickly exporting iOS development strings format files to Excel files required by translators, and quickly importing Excel files into strings files, and including version difference identification functions.

[0027] Specifically, exporting the strings file to an Excel file includes the following steps:

[0028] initialization:

[0029] a1. Set the iOS project path in the Python program, the program scans the strings file in the path, and stores the file name, path, and language as a dictionary type;

[0030] a2. The program should contain a reference file variable. When the path of the reference file (Excel file of the previous version) is not passed in, it will be exported in a new way; when the reference file is passed in, it will be exported in the way of version update;

[0031] a3. Initialize the table object, use the Python openpyxl libr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a Python-based iOS APP internationalization file management method, including: establishing a one-to-one correspondence relationship between strings files with the same content and different languages ​​and different forms of Excel files; using Python's openpyxl library to create Excel files, and reading The keys and values ​​in the strings file are written into the Excel file form; the Excel file is translated; the Excel file is imported into the strings file. The present invention connects the Excel file used by the translator with the strings file used by the developer, realizes the automatic export of the strings file into an Excel file, and the automatic import of the Excel file into the strings file; avoids manual repeated copy and paste operations, reduces time costs, and improves development efficiency .

Description

technical field [0001] The present invention relates to the technical field of software development, specifically, a Python-based iOS APP internationalization file management method. Background technique [0002] Under the trend of globalization, more and more mobile apps need to support multiple languages ​​to provide services for customers in different countries and regions. In the field of iOS native APPs, internationalization files refer to files of type strings, which are used to manage translation content in different language versions. It is rare for an APP developer to directly perform multilingual translation. Most of the time, the developer will export the content to be translated as an Excel file and send it to the translator. After translation, it will be transferred to the developer for replacement. When there is a large amount of translation content, the traditional manual export and import will take a lot of time, and there is a certain risk of error due to m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/40G06F16/22G06F16/23
CPCG06F8/40G06F16/2282G06F16/23
Inventor 吴竞李晨心李生强
Owner SICHUAN CHANGHONG ELECTRIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products