Expand my Community achievements bar.

How to give preference to a particular dictionary in sightly?

Avatar

Level 2

Hi Team,

I have multiple dictionaries under "/etc/project_name/i18n"(e.g "/etc/project_name/i18n/default" and "/etc/project_name/i18n/overlay").

My requirement is picking up the values first from overlay path and if the overlay dictionary is empty, select the default path.

With the usage of internationalization in sightly, I am always getting the key values from "default" dictionary first. Is there a way to change this order of preference?

Thankyou

1 Reply