Hi Rushabh,
I run lib/wnf.py --import_messages tr app/translations/tr.csv but got
this error message.
root@erpnext-VirtualBox:/var/www/erpnext# lib/wnf.py --import_messages
tr app/translations/tr.csv
Traceback (most recent call last):
File "lib/wnf.py", line 494, in <module>
run()
File "lib/wnf.py", line 463, in run
webnotes.translate.import_messages(*options.import_messages)
File "/var/www/erpnext/lib/webnotes/translate.py", line 231, in
import_messages
data = dict(get_all_messages_from_file(infile))
File "/var/www/erpnext/lib/webnotes/translate.py", line 301, in
get_all_messages_from_file
data = msgfile.read()
File "/usr/lib/python2.7/codecs.py", line 671, in read
return self.reader.read(size)
File "/usr/lib/python2.7/codecs.py", line 477, in read
newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfd in position
18: invalid start byte
How can solve this problem? And also I did not find any options on
startup.py (/var/www/erpnext/app/startup/startup.py) about language.
And I used Google translate firs but after I made lots of changes in
translation myself. Translation does not finished yet but I want to
see part of my tranlate on pages. After I finish translation Iwill
share with you.
Thanks,
Ali
2013/3/19 Rushabh Mehta <
rme...@gmail.com>: