Expand my Community achievements bar.

How to apply filter for dictionary nodes

Avatar

Former Community Member

We have dictionary nodes error and label.We need to segregate error and label nodes separately. How to achieve this.

2 Replies

Avatar

Level 10

Please provide more information. 

Avatar

Former Community Member

In i18.js(/etc/clientlibs/granite/utils/source/I18n.jsgetDictionary(locale) is returning map of dictionaries as key value pairs.How can we apply filters on this dictionaries.We our project,we have different kinds of dictionaries like errors,labels etc.We need to group these labels and errors dictionaries seperately and populate them seperately. Could you please suggest how to apply filters on this.

Attaching the screenshot of dictionaries we have.

Kindly suggest.

 

Thanks,

Sushma