.html translation, say pages\update-password.html

10 views
Skip to first unread message

Y Y

unread,
Sep 16, 2014, 2:06:45 AM9/16/14
to erpnext-dev...@googlegroups.com
Dear Team,

how to do translation in .html file, just add __(), will it work?

Thanks,
yang

Rushabh Mehta

unread,
Sep 16, 2014, 2:24:27 AM9/16/14
to erpnext-dev...@googlegroups.com
On 16-Sep-2014, at 11:36 am, Y Y <yangy...@gmail.com> wrote:

Dear Team,

how to do translation in .html file, just add __(), will it work?

Jinja files are processed server side. Just do;

_("")

best,
Rushabh


Thanks,
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/3998edfc-f229-4315-84db-c7e59dc7e5dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Y Y

unread,
Sep 16, 2014, 2:39:47 AM9/16/14
to erpnext-dev...@googlegroups.com
thanks:)

在 2014年9月16日星期二UTC+8下午2时06分45秒,Y Y写道:
Reply all
Reply to author
Forward
0 new messages