Cannot change label name of desktop icon

I cannot change my custom app’s label.
The file i found is desktop_module_icon.html and the code in it is below:


{{ app_icon }}




    	<span class="case-label-text">{{ _label }} </span>  
    	
    	</div>
    </div>

I just want to know from which file was the variables( _label, module_name) is taken?
Please let me know someone…

https://frappe.github.io/frappe/user/en/guides/app-development/custom-module-icon

@felix Thank you
I did that mentioned in the link.
But my App’s label is not changing!!!
Why? I cannot understand the reason!

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from frappe import _

def get_data():
	return [
		{			
			"module_name": "xxxxx",
			"color": "#e400f4",
			"icon": "icon-cogs",
			"type": "module",
			"label": _("xxxxx"),
		}
	]

bench clear-cache then
bench migrate

1 Like

Thanks @felix
Let me try bench migrate.

Thank you so much @felix
bench migrate worked!