Ali,
Please save your CSV file in UTF-8 format (you can google how to do this,
based on your application and OS).
Will look forward to your contribution 
best,
Rushabh
W: https://erpnext.com
T: @rushabh_mehta
On 19-Mar-2013, at 9:00 PM, Ali Osman TEKKANAT at...@gmail.com wrote:
Hi Rushabh,
I run lib/wnf.py --import_messages tr app/translations/tr.csv but got
this error message.
ro…@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
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 rm...@gmail.com:
Run
lib/wnf.py --import_messages tr app/translations/tr.csv
You will also need to update startup.py and add Turkish as an option in
Profile so that the user can select
btw, how are you translating? Are you using Google Translate API?
If you have the full translations file - do send it, I can upload it for
you.
best,
W: https://erpnext.com
T: @rushabh_mehta
On 19-Mar-2013, at 3:13 PM, aliosman20 at...@gmail.com wrote:
Hi,
I download one of csv file from translation area and tried to translate
toTurkish in csv file. After that I uploaded this translated csv file to
translation directory that has other translated csv file like tr.csv.
But I can not see Turkish language on Administrator language option. So I
copied my translation into es.csv (espanol) and after I select Espanol on
language option. And cleared the cashe but there in no change (I can not see
my translation)
How can I solve this problem?
Thanks
Ali
–
You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to erpnext-developer-forum+un...@googlegroups.com.
To post to this group, send email to
er...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msg/erpnext-developer-forum/-/i46AZaYZLDwJ.
For more options, visit https://groups.google.com/groups/opt_out.
–
You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to erpnext-developer-forum+un...@googlegroups.com.
To post to this group, send email to
er...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
–
You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to erpnext-developer-forum+un...@googlegroups.com.
To post to this group, send email to
er...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
–
You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to erpnext-developer-forum+un...@googlegroups.com.
To post to this group, send email to
er...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.