Hi, Zhang,
I Follow your tutorial but there's an error
writing PO template file to iredadmin.po
* Update existing new translations catalog based on iredadmin.po...
updating catalog './id_ID/LC_MESSAGES/iredadmin.po' based on 'iredadmin.po'
Traceback (most recent call last):
File "/usr/bin/pybabel", line 9, in <module>
load_entry_point('Babel==1.3', 'console_scripts', 'pybabel')()
File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py", line 1151, in main
return CommandLineInterface().run(sys.argv)
File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py", line 665, in run
return getattr(self, cmdname)(args[1:])
File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py", line 1113, in update
infile = open(filename, 'U')
IOError: [Errno 2] No such file or directory: './id_ID/LC_MESSAGES/iredadmin.po'
Can't open id_ID/LC_MESSAGES/iredadmin.po: No such file or directory.
Can't open id_ID/LC_MESSAGES/iredadmin.po: No such file or directory.
* Convert translation catalogs into binary MO files...
+ Converting id_ID...
msgfmt: error while opening "id_ID/LC_MESSAGES/iredadmin.po" for reading: No such file or directory