I am suppose to change some of these characters in English to Chinese in this setting.py
file but then error happened.
I know that it's saying because no encoding is declared in the error message but I have been reading a few posts and still have no idea how / where I can make it happen.
in my setting.py I have something like this
OSCAR_DASHBOARD_NAVIGATION = [
{
'label': _('dashboard'),
'icon': 'icon-th-list',
'url_name': 'dashboard:index',
},
but need to change the navigation to Chinese so ended up looking like this
OSCAR_DASHBOARD_NAVIGATION = [
{
'label': _('仪表板'),
'icon': 'icon-th-list',
'url_name': 'dashboard:index',
},
Edit, I already read the post which thought might be duplicated and tried what's in that post and instead of getting errors, I get a no show in my page but regarding to Pedru's answer. It works like a charm now.