this project mainly contain a python script for better internationalization of storyboard. As we know , ibtools can genstrings for a storyboard file ,but it will overwrite the existing string which you have done the internationlization. The project will teach you how to simplify your step and work to add translated continuously
dealing with /Users/laycept/Desktop/IOS-doctor/ZQProject/zh-Hans.lproj/Main.strings
utf-16/UCS-2,big endian
Traceback (most recent call last):
File "/Users/laycept/Desktop/IOS-doctor/ZQProject/RunScript/AutoGenStrings.py", line 188, in
main()
File "/Users/laycept/Desktop/IOS-doctor/ZQProject/RunScript/AutoGenStrings.py", line 178, in main
compareWithFilePath(tempFile_Path,targetPath)
File "/Users/laycept/Desktop/IOS-doctor/ZQProject/RunScript/AutoGenStrings.py", line 91, in compareWithFilePath
anotationString = getAnotationOfString(newString_txt,linestr)
File "/Users/laycept/Desktop/IOS-doctor/ZQProject/RunScript/AutoGenStrings.py", line 73, in getAnotationOfString
anotationMatch = re.search(anotationRegex,string_txt)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py", line 146, in search
return _compile(pattern, flags).search(string)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py", line 251, in _compile
raise error, v # invalid expression
sre_constants.error: multiple repeat