Is lib/wnf.py still exists? about translation issue

Hello,

I'm from china mainland, were trying to update zh-cn.csv, however, when i finished translation and replaced the one in translation folder, error happens afterwards:
Valueerror: blabla,,, #843..., 

I was reading in forum, someone mentioned that it means column 843 has issue, however, i searched, there is no 843 column, then i tried row 843, no lucky...

Further, i think is that i need to use tool to import...? then i don't find /lib/wnf.py...

Anyone could help? thanks in advance. BTW, it is a good software in many ways. 

Good work.

Regards,
yang



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/208ba0cd-bdba-4505-a795-4c809cc01224%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Hi Yang,

Assuming that you are on version 4, if you update and replace the CSV file, the system should take the translations from the csv file.

Can you paste the error from the javascript console? Most likely the csv file is not saved as UTF-8 encoded file.


Thanks,
Anand.


On Tue, Aug 5, 2014 at 3:50 PM, Y Y <ya…@gmail.com> wrote:
Hello,

I'm from china mainland, were trying to update zh-cn.csv, however, when i finished translation and replaced the one in translation folder, error happens afterwards:
Valueerror: blabla,,, #843...,

I was reading in forum, someone mentioned that it means column 843 has issue, however, i searched, there is no 843 column, then i tried row 843, no lucky...

Further, i think is that i need to use tool to import...? then i don't find /lib/wnf.py...

Anyone could help? thanks in advance. BTW, it is a good software in many ways.

Good work.

Regards,
yang



Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/208ba0cd-bdba-4505-a795-4c809cc01224%40googlegroups.com.

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




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF2yzo2tdHbvSjWunKbZJzrB0%2BhUMO4x3koO59QAJrXDtg%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Hi Anand,

Thanks for your reply.

I've fixed the issue, post it here for sharing(not utf8 issue, we double checked that).
Finally, we found that it is due to ','  in some translations, we added ',', however if it is the case, it need to be included in " ".

Now the translations are shown, very good. A quick clarification for my way of import translation:
I just update the zh-cn.csv directly, then i "rm /var/lib/redis/dump.rdb", then "service nginx restart".

haha, i'm sure i did in a wrong way, it just works..., by the way, how to import, seems ./lib/wnf.pf is gone in v4?

Best Regards,
Yang


在 2014年8月6日星期三UTC+8下午8时23分11秒,Anand Doshi写道:
Hi Yang,

Assuming that you are on version 4, if you update and replace the CSV file, the system should take the translations from the csv file.

Can you paste the error from the javascript console? Most likely the csv file is not saved as UTF-8 encoded file.


Thanks,
Anand.


On Tue, Aug 5, 2014 at 3:50 PM, Y Y <ya…@gmail.com> wrote:
Hello,

I'm from china mainland, were trying to update zh-cn.csv, however, when i finished translation and replaced the one in translation folder, error happens afterwards:
Valueerror: blabla,,, #843..., 

I was reading in forum, someone mentioned that it means column 843 has issue, however, i searched, there is no 843 column, then i tried row 843, no lucky...

Further, i think is that i need to use tool to import...? then i don't find /lib/wnf.py...

Anyone could help? thanks in advance. BTW, it is a good software in many ways. 

Good work.

Regards,
yang



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/208ba0cd-bdba-4505-a795-4c809cc01224%40googlegroups.com.

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




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/811a347b-ef92-403b-8068-e2b767f26c1f%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Yang, don't forget to send a pull request when you are done with translations!

@rushabh_mehta
via mobile

On 07-Aug-2014, at 8:05 AM, Y Y <ya...@gmail.com> wrote:

Hi Anand,

Thanks for your reply.

I've fixed the issue, post it here for sharing(not utf8 issue, we double checked that).
Finally, we found that it is due to ','  in some translations, we added ',', however if it is the case, it need to be included in " ".

Now the translations are shown, very good. A quick clarification for my way of import translation:
I just update the zh-cn.csv directly, then i "rm /var/lib/redis/dump.rdb", then "service nginx restart".

haha, i'm sure i did in a wrong way, it just works..., by the way, how to import, seems ./lib/wnf.pf is gone in v4?

Best Regards,
Yang


在 2014年8月6日星期三UTC+8下午8时23分11秒,Anand Doshi写道:
Hi Yang,

Assuming that you are on version 4, if you update and replace the CSV file, the system should take the translations from the csv file.

Can you paste the error from the javascript console? Most likely the csv file is not saved as UTF-8 encoded file.


Thanks,
Anand.


On Tue, Aug 5, 2014 at 3:50 PM, Y Y <ya…@gmail.com> wrote:
Hello,

I'm from china mainland, were trying to update zh-cn.csv, however, when i finished translation and replaced the one in translation folder, error happens afterwards:
Valueerror: blabla,,, #843..., 

I was reading in forum, someone mentioned that it means column 843 has issue, however, i searched, there is no 843 column, then i tried row 843, no lucky...

Further, i think is that i need to use tool to import...? then i don't find /lib/wnf.py...

Anyone could help? thanks in advance. BTW, it is a good software in many ways. 

Good work.

Regards,
yang



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/208ba0cd-bdba-4505-a795-4c809cc01224%40googlegroups.com.

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




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/811a347b-ef92-403b-8068-e2b767f26c1f%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/920E79F3-64C3-4436-9DA1-59F059FE6D66%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Hi Rushabh,

Note. We will do that, considering your side have new translations added days ago, we will merge that and do a final version then commit.

By the way, "I just update the zh-cn.csv directly, then i "rm /var/lib/redis/dump.rdb", then "service nginx restart". is this way correct?

I've read lots of your blogs and our side are good at performance and architecture(which we are doing now is do that kind of work against global customer).

If anything need us to do contribution, let us know freely.

Thanks,
Yang

在 2014年8月7日星期四UTC+8上午10时47分56秒,rushabh写道:
Yang, don't forget to send a pull request when you are done with translations!

@rushabh_mehta
via mobile

On 07-Aug-2014, at 8:05 AM, Y Y <ya...@gmail.com> wrote:

Hi Anand,

Thanks for your reply.

I've fixed the issue, post it here for sharing(not utf8 issue, we double checked that).
Finally, we found that it is due to ','  in some translations, we added ',', however if it is the case, it need to be included in " ".

Now the translations are shown, very good. A quick clarification for my way of import translation:
I just update the zh-cn.csv directly, then i "rm /var/lib/redis/dump.rdb", then "service nginx restart".

haha, i'm sure i did in a wrong way, it just works..., by the way, how to import, seems ./lib/wnf.pf is gone in v4?

Best Regards,
Yang


在 2014年8月6日星期三UTC+8下午8时23分11秒,Anand Doshi写道:
Hi Yang,

Assuming that you are on version 4, if you update and replace the CSV file, the system should take the translations from the csv file.

Can you paste the error from the javascript console? Most likely the csv file is not saved as UTF-8 encoded file.


Thanks,
Anand.


On Tue, Aug 5, 2014 at 3:50 PM, Y Y <ya…@gmail.com> wrote:
Hello,

I'm from china mainland, were trying to update zh-cn.csv, however, when i finished translation and replaced the one in translation folder, error happens afterwards:
Valueerror: blabla,,, #843..., 

I was reading in forum, someone mentioned that it means column 843 has issue, however, i searched, there is no 843 column, then i tried row 843, no lucky...

Further, i think is that i need to use tool to import...? then i don't find /lib/wnf.py...

Anyone could help? thanks in advance. BTW, it is a good software in many ways. 

Good work.

Regards,
yang



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/208ba0cd-bdba-4505-a795-4c809cc01224%40googlegroups.com.

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




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/811a347b-ef92-403b-8068-e2b767f26c1f%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/8f476192-d9f8-4075-bfb7-84f6e39db695%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Yang,

You should use supervisorctl to restart nginx and redis.

Run: supervisorctl restart frappe:

You might need to use sudo.

-Anand.



On Thu, Aug 7, 2014 at 8:37 AM, Y Y <ya…@gmail.com> wrote:
Hi Rushabh,

Note. We will do that, considering your side have new translations added days ago, we will merge that and do a final version then commit.

By the way, "I just update the zh-cn.csv directly, then i "rm /var/lib/redis/dump.rdb", then "service nginx restart". is this way correct?

I've read lots of your blogs and our side are good at performance and architecture(which we are doing now is do that kind of work against global customer).

If anything need us to do contribution, let us know freely.

Thanks,
Yang

在 2014年8月7日星期四UTC+8上午10时47分56秒,rushabh写道:
Yang, don't forget to send a pull request when you are done with translations!

@rushabh_mehta
via mobile

On 07-Aug-2014, at 8:05 AM, Y Y <ya...@gmail.com> wrote:


Hi Anand,

Thanks for your reply.

I’ve fixed the issue, post it here for sharing(not utf8 issue, we double checked that).
Finally, we found that it is due to ',' in some translations, we added ',', however if it is the case, it need to be included in " ".

Now the translations are shown, very good. A quick clarification for my way of import translation:
I just update the zh-cn.csv directly, then i "rm /var/lib/redis/dump.rdb", then "service nginx restart".

haha, i'm sure i did in a wrong way, it just works..., by the way, how to import, seems ./lib/wnf.pf is gone in v4?

Best Regards,
Yang


在 2014年8月6日星期三UTC+8下午8时23分11秒,Anand Doshi写道:
Hi Yang,

Assuming that you are on version 4, if you update and replace the CSV file, the system should take the translations from the csv file.

Can you paste the error from the javascript console? Most likely the csv file is not saved as UTF-8 encoded file.


Thanks,
Anand.


On Tue, Aug 5, 2014 at 3:50 PM, Y Y <ya…@gmail.com> wrote:
Hello,

I'm from china mainland, were trying to update zh-cn.csv, however, when i finished translation and replaced the one in translation folder, error happens afterwards:
Valueerror: blabla,,, #843...,

I was reading in forum, someone mentioned that it means column 843 has issue, however, i searched, there is no 843 column, then i tried row 843, no lucky...

Further, i think is that i need to use tool to import...? then i don't find /lib/wnf.py...

Anyone could help? thanks in advance. BTW, it is a good software in many ways.

Good work.

Regards,
yang



Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/208ba0cd-bdba-4505-a795-4c809cc01224%40googlegroups.com.

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




Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/811a347b-ef92-403b-8068-e2b767f26c1f%40googlegroups.com.

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



Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/8f476192-d9f8-4075-bfb7-84f6e39db695%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF0NX7B8Sv3EmU9J9%2B6BiphbHKbTQpvdrprjryk_mCX3hQ%40mail.gmail.com.

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

Hi Rushabh,

Note. We will do that, considering your side have new translations added days ago, we will merge that and do a final version then commit.

Thanks that would be awesome.


By the way, "I just update the zh-cn.csv directly, then i "rm /var/lib/redis/dump.rdb", then "service nginx restart". is this way correct?

I've read lots of your blogs and our side are good at performance and architecture(which we are doing now is do that kind of work against global customer).

If anything need us to do contribution, let us know freely.

Please feel free to send pull-requests. We are always looking for community contributions.


Thanks,
Yang

在 2014年8月7日星期四UTC+8上午10时47分56秒,rushabh写道:
Yang, don't forget to send a pull request when you are done with translations!

@rushabh_mehta
via mobile

On 07-Aug-2014, at 8:05 AM, Y Y <yangy...@gmail.com> wrote:

Hi Anand,

Thanks for your reply.

I've fixed the issue, post it here for sharing(not utf8 issue, we double checked that).
Finally, we found that it is due to ','  in some translations, we added ',', however if it is the case, it need to be included in " ".

Now the translations are shown, very good. A quick clarification for my way of import translation:
I just update the zh-cn.csv directly, then i "rm /var/lib/redis/dump.rdb", then "service nginx restart".

haha, i'm sure i did in a wrong way, it just works..., by the way, how to import, seems ./lib/wnf.pf is gone in v4?

Best Regards,
Yang


在 2014年8月6日星期三UTC+8下午8时23分11秒,Anand Doshi写道:
Hi Yang,

Assuming that you are on version 4, if you update and replace the CSV file, the system should take the translations from the csv file.

Can you paste the error from the javascript console? Most likely the csv file is not saved as UTF-8 encoded file.

Thanks,
Anand.


On Tue, Aug 5, 2014 at 3:50 PM, Y Y <ya...@gmail.com> wrote:
Hello,

I'm from china mainland, were trying to update zh-cn.csv, however, when i finished translation and replaced the one in translation folder, error happens afterwards:
Valueerror: blabla,,, #843..., 

I was reading in forum, someone mentioned that it means column 843 has issue, however, i searched, there is no 843 column, then i tried row 843, no lucky...

Further, i think is that i need to use tool to import...? then i don't find /lib/wnf.py...

Anyone could help? thanks in advance. BTW, it is a good software in many ways. 

Good work.

Regards,
yang

-- 
Note:
 
If you are posting an issue,
 
1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
--- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/208ba0cd-bdba-4505-a795-4c809cc01224%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


-- 
Note:
 
If you are posting an issue,
 
1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
--- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/811a347b-ef92-403b-8068-e2b767f26c1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Note:
 
If you are posting an issue,
 
1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
--- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/8f476192-d9f8-4075-bfb7-84f6e39db695%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/40A67B92-FBA0-4DB4-A4B5-6AE3499598D0%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Got it. thank you both!

在 2014年8月5日星期二UTC+8下午6时20分55秒,Y Y写道:
Hello,

I'm from china mainland, were trying to update zh-cn.csv, however, when i finished translation and replaced the one in translation folder, error happens afterwards:
Valueerror: blabla,,, #843..., 

I was reading in forum, someone mentioned that it means column 843 has issue, however, i searched, there is no 843 column, then i tried row 843, no lucky...

Further, i think is that i need to use tool to import...? then i don't find /lib/wnf.py...

Anyone could help? thanks in advance. BTW, it is a good software in many ways. 

Good work.

Regards,
yang



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/40a660e9-b6a6-4465-af54-7cbf28646ec8%40googlegroups.com.

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