I tried to run the mentioned command on the virtual image "erpnext-1302.ova", and I get the below messages:
erpnext@erpnext-VirtualBox:/var/www/erpnext$ sudo lib/wnf.py --translate ar
[sudo] password for erpnext:
Extracting messages...
For ar:
Compiling messages in one file...
Translating via Google Translate...
translating: #,###.###
Traceback (most recent call last):
File "lib/wnf.py", line 494, in <module>
run()
File "lib/wnf.py", line 487, in run
google_translate(lang, '_lang_tmp.csv', filename)
File "/var/www/erpnext/lib/webnotes/translate.py", line 314, in google_translate
"key": conf.google_api_key,
AttributeError: 'module' object has no attribute 'google_api_key'
erpnext@erpnext-VirtualBox:/var/www/erpnext$