How to give preference to a particular dictionary in sightly?

Avatar

Avatar

angthefire

Avatar

angthefire

angthefire

05-02-2018

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

Replies

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

1.0K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
Community Manager

12-02-2018

Feike Visser Any help here?