PyTranslateList Code
Status: Beta
Brought to you by:
erikthiem
File | Date | Author | Commit |
---|---|---|---|
PyTranslateList.py | 2010-03-21 | erikthiem | [r9] error message handling for fromfile that does n... |
README.txt | 2010-03-21 | erikthiem | [r7] improved language codes and README.txt |
browser.py | 2010-03-15 | erikthiem | [r1] initial upload |
langcodes.txt | 2010-03-21 | erikthiem | [r8] more friendly error handling for invalid langua... |
translate.py | 2010-03-15 | erikthiem | [r2] updated to current translate.py file |
words.txt | 2010-03-20 | erikthiem | [r5] added default input and output word list files |
PyTranslateList by Erik Thiem using information/code from http://www.catonmat.net/blog/python-library-for-google-translate/ Feel free to copy/edit/distribute/whatever this program. If you distribute this program, you must: 1. Include this README.txt file 2. Include all source. 3. Not charge any money. Project page: https://sourceforge.net/projects/pytranslatelist/ --------------------------------------------------------------- Now that we've got that out of the way, here are the instructions: There are two ways of using PyTranslateList: Number 1: At a command line, type "python PyTranslateList.py code_for_from_language code_for_two_language from_textfile to_textfile" For example, in order to translate english words saved in words.txt to spanish words in words2.txt, I would type: "python PyTranslateList.py en es word.txt word2.txt" Number 2: Just run "python PyTranslateList.py". This will start up a text-based user interface that allows for easy access to PyTranslateList. --------------------------------------------------------------- Language Codes: Language codes are provided in langcodes.txt In order to use PyTranslateList, you need to use appropriate language codes. They might not all be accurate, as I still have to check over them. In future versions of PyTranslateList, language codes should be figured automatically (meaning that users will just have to type in the language name). --------------------------------------------------------------- I hope you enjoy this program. Feel free to contact me (erikthiem@gmail.com) if you would like to contribute or to suggest new features.