You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2024. It is now read-only.
This should be easy enough to load into a Map and use it on the code like lang.get("title"); to get the result we want. It should also make the switch between languages easy and fast because we will be loading all strings at once instead of having to reload the page.
If anyone thinks that this will slow down the website loading then we can go with the second option of requesting the strings and adding them on the map via an API and only load the selected language by default! 👍
The text was updated successfully, but these errors were encountered:
The way I'm thinking it is having a JSON file like this:
This should be easy enough to load into a
Map
and use it on the code likelang.get("title");
to get the result we want. It should also make the switch between languages easy and fast because we will be loading all strings at once instead of having to reload the page.The text was updated successfully, but these errors were encountered: