I am new to AEM.
I have used ACS commons generic list for populating the drop down values. I have added the titles for french and english under localisation part of generic list for each item.consider my js(js based approach in sightly) would return itemList (for ex: var itemList = list.getItems();).
how can I get the locale based title available in generic list(for ex, how can i get the french title which i have included under localisation part), in place of ${list.title} mentioned in the below HTML code:
<select data-sly-use.frm="sample_form.js" data-sly-list.list="${frm}">
<option value="${list.value}">${list.title}
OR what is the other possibility to get the locale based title available in generic list with the help of sightly.
Could anyone help me on this. Thanks in advance :-)