You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/local/bin/translate", line 33, in
main()
File "/usr/local/bin/translate", line 29, in main
mkTranslator().translate_doc(filepath=args.file_path, destination=args.dest_language,sourcelanguage=args.sourcelanguage,channel=args.channel)
File "/Library/Python/2.7/site-packages/mkTranslation/translator.py", line 165, in translate_doc
self.write_tx(filepath,newFile,r"=\s*"(.+?)"\s*;",'="'+'content'+'";',destination,sourcelanguage,channel)
File "/Library/Python/2.7/site-packages/mkTranslation/translator.py", line 116, in write_tx
f.write(txd)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 169: ordinal not in range(128)
The text was updated successfully, but these errors were encountered:
Hi! thanks for this useful tool.
Trying to use it the tool (macOS Catalina, strings file) it returns this error, any clue to fix it?
Thanks in advance!
Franky
original:"Miscellaneous Arrows" = "Flechas Varios";
translated:"Miscellaneous Arrows" ="Várias setas";
Traceback (most recent call last):
File "/usr/local/bin/translate", line 33, in
main()
File "/usr/local/bin/translate", line 29, in main
mkTranslator().translate_doc(filepath=args.file_path, destination=args.dest_language,sourcelanguage=args.sourcelanguage,channel=args.channel)
File "/Library/Python/2.7/site-packages/mkTranslation/translator.py", line 165, in translate_doc
self.write_tx(filepath,newFile,r"=\s*"(.+?)"\s*;",'="'+'content'+'";',destination,sourcelanguage,channel)
File "/Library/Python/2.7/site-packages/mkTranslation/translator.py", line 116, in write_tx
f.write(txd)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 169: ordinal not in range(128)
The text was updated successfully, but these errors were encountered: