Where is. DESKTOP. translation files

hello friends,

i need to .do the translation for the desktop page and i need to know where is the translation file. for the desktop.



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/msgid/erpnext-developer-forum/a1a8b126-a203-4649-9a25-82df87cc9e80%40googlegroups.com?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

and how to translate search criteria names, as even if i change the. language to arabic i am still getting english names.

please help this is urgent for me.

On Tuesday, 28 May 2013 09:04:06 UTC+3, Syed Qadeer wrote:

hello friends,

i need to .do the translation for the desktop page and i need to know where is the translation file. for the desktop.



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/msgid/erpnext-developer-forum/cd37397d-131b-47c3-994d-244ea97b8767%40googlegroups.com?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Syed,

Search Criteria is going to be deprecated in an upcoming release.

- Rushabh


W: https://erpnext.com
T: @rushabh_mehta

On 28-May-2013, at 12:08 PM, Syed Qadeer <sd...@gmail.com> wrote:

and how to translate search criteria names, as even if i change the. language to arabic i am still getting english names.

please help this is urgent for me.

On Tuesday, 28 May 2013 09:04:06 UTC+3, Syed Qadeer wrote:
hello friends,

i need to .do the translation for the desktop page and i need to know where is the translation file. for the desktop.



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/msgid/erpnext-developer-forum/cd37397d-131b-47c3-994d-244ea97b8767%40googlegroups.com?hl=en.

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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/E2EF5ECD-D92D-460E-9E5E-5DB9AF8730BB%40erpnext.com?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Syed,

You will have to understand a bit more how the translation works. Like I said earlier, all translations are in the app/translations folder. You can update the csv file and run (for Arabic)

lib/wnf.py --import_messages ar app/translations/ar.csv

- Rushabh


W: https://erpnext.com
T: @rushabh_mehta

On 28-May-2013, at 11:34 AM, Syed Qadeer <sd...@gmail.com> wrote:

hello friends,

i need to .do the translation for the desktop page and i need to know where is the translation file. for the desktop.



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/msgid/erpnext-developer-forum/a1a8b126-a203-4649-9a25-82df87cc9e80%40googlegroups.com?hl=en.

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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/52758CA9-A366-459A-87FC-39BCDCBAF407%40erpnext.com?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

thanks for the response, rusabh.

but i. found the locale folder in the app/accounts/somepage/locale and it contains ar.json file

so please tell me , how should i translate , should i just go to the ar.csv or those json as well

On Tuesday, 28 May 2013 09:45:11 UTC+3, rushabh wrote:

Syed,

You will have to understand a bit more how the translation works. Like I said earlier, all translations are in the app/translations folder. You can update the csv file and run (for Arabic)

lib/wnf.py --import_messages ar app/translations/ar.csv

- Rushabh



W: https://erpnext.com
T: @rushabh_mehta

On 28-May-2013, at 11:34 AM, Syed Qadeer <sd...@gmail.com> wrote:

hello friends,

i need to .do the translation for the desktop page and i need to know where is the translation file. for the desktop.



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 erpnext-dev…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/a1a8b126-a203-4649-9a25-82df87cc9e80%40googlegroups.com?hl=en.

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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/194545e0-0b7f-4509-adee-d198f3d0f976%40googlegroups.com?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

If you update directly in the page folder, you will loose your translation, next time someone updates "all" the translations.

Right way is to update the CSV then import (it will update your page folders too).


W: https://erpnext.com
T: @rushabh_mehta

On 28-May-2013, at 12:21 PM, Syed Qadeer <sd...@gmail.com> wrote:

thanks for the response, rusabh.

but i. found the locale folder in the app/accounts/somepage/locale and it contains ar.json file

so please tell me , how should i translate , should i just go to the ar.csv or those json as well

On Tuesday, 28 May 2013 09:45:11 UTC+3, rushabh wrote:
Syed,

You will have to understand a bit more how the translation works. Like I said earlier, all translations are in the app/translations folder. You can update the csv file and run (for Arabic)

lib/wnf.py --import_messages ar app/translations/ar.csv

- Rushabh


W: https://erpnext.com
T: @rushabh_mehta

On 28-May-2013, at 11:34 AM, Syed Qadeer <sd...@gmail.com> wrote:

hello friends,

i need to .do the translation for the desktop page and i need to know where is the translation file. for the desktop.



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 erpnext-dev…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/a1a8b126-a203-4649-9a25-82df87cc9e80%40googlegroups.com?hl=en.

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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/194545e0-0b7f-4509-adee-d198f3d0f976%40googlegroups.com?hl=en.

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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/9F680C3D-FF08-4244-A1F4-78E37AAFBB47%40erpnext.com?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

how should i IMPORT the CSV,

i have uploaded the CSV in the translations folder ,yet there is no update on the website at all.

please help me this is very quick and urgent.



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/msgid/erpnext-developer-forum/6ac1eb05-53a0-454c-a8d3-aaa89b3a0cc7%40googlegroups.com?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Syed,

It would really help if you read my earlier mails carefully and save everyone some time. It was clearly mentioned:

lib/wnf.py --import_messages ar app/translations/ar.csv

Also we try to be as helpful as possible on a voluntary basis. Please don't depend on us for "urgent" issues.

best,
Rushabh




On Wed, May 29, 2013 at 5:45 PM, Syed Qadeer <sd...@gmail.com> wrote:
how should i IMPORT the CSV,

i have uploaded the CSV in the translations folder ,yet there is no update on the website at all.

please help me this is very quick and urgent.



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/msgid/erpnext-developer-forum/6ac1eb05-53a0-454c-a8d3-aaa89b3a0cc7%40googlegroups.com?hl=en.


For more options, visit https://groups.google.com/groups/opt_out.





--



Twitter: @rushabh_mehta



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/msgid/erpnext-developer-forum/CANn8SWJ%3DmQ6b5gBmkmCpmip9HeMyLgyaoKBLeLBVpC3AcWvHjA%40mail.gmail.com?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Hello Rusabh,

i have tried what u have told me, but there’s no luck as it keeps on giving me UTF-8 issue all the time, i am sure that the csv file is utf-8 as i set the encoding to utf-8,

i have even opened the file in notepad and set the encoding as utf-8 and uploaded back , and i have downloaded your file from the github , uploaded it and yet it doesnt work in ar.csv but i tried to import messages from fr.csv , yet it works perfectly, i dont know what is the problem it keeps on throwing the following error:


ro…@system:/var/www/erpnext# python lib/wnf.py --import_messages ar app/translations/ar.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/dafater/lib/webnotes/translate.py”, line 245, in import_messages
    _update_lang_file(‘doc’)
  File “/var/www/dafater/lib/webnotes/translate.py”, line 228, in _update_lang_file
    langdata = get_lang_data(basepath, lang, mtype)
  File “/var/www/dafater/lib/webnotes/translate.py”, line 267, in get_lang_data
    langdata = json.loads(langfile.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 0xff in position 0: invalid start byte




On Tuesday, 28 May 2013 09:04:06 UTC+3, Syed Qadeer wrote:

hello friends,

i need to .do the translation for the desktop page and i need to know where is the translation file. for the desktop.



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/msgid/erpnext-developer-forum/9281bcc9-3d6e-481c-969d-d9fd414d5543%40googlegroups.com?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

thanks, it is FIXED.



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/msgid/erpnext-developer-forum/8f4342c6-1a43-485f-9217-0095c6ac99dd%40googlegroups.com?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.