I want to dynamically append the java script file name based on application culture name in mvc while giving reference of Java script file.
For e.g.
<script src="~/Clients/@tenant.ClientName/Backend/js/DateTimepickerLocalizetion/fr.js"></script>
Suppose my culture is fr and I want to append it dynamically in src tag, so my file name will be like fr.js.
I already have the culture name in tenant class, for which dependency is already injected.
But I am not able to append the file name with .js string.
So, how can I achieve this ?