-
Notifications
You must be signed in to change notification settings - Fork 164
Open
Description
So i thought making separate translation files for each .js file that i have cause they are very big. So in my html page my code looks like this:
<script > $.i18n().locale = 'en'; $.i18n().load( ["i18n/access.json", "i18n/example.json", "i18n/index.json"] ).done( () => $('[data-i18n]').i18n() ); </script>Obviously this array import method does not work, so how can i do this?
Also while im here, is there a more effective way of getting the html tags translate tan the method in the .done block?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels