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
I was thinking of a way to make the initialization of translations more flexible, especially for those who want to load translation files directly from the web.
My idea is to add a method like initializeFromUrl, which loads translations from a URL instead of relying on local files or internal resources.
If possible, add a listener that will be called when the document is loaded.
What do you think of this idea?
The text was updated successfully, but these errors were encountered:
kesparleo
changed the title
Sugestão de um método para inicialização de traduções online
Suggestion for a method to initialize online translations
Dec 10, 2024
Uh oh!
There was an error while loading. Please reload this page.
I was thinking of a way to make the initialization of translations more flexible, especially for those who want to load translation files directly from the web.
My idea is to add a method like
initializeFromUrl
, which loads translations from a URL instead of relying on local files or internal resources.It would look something like this:
LanguageSystem.initializeFromUrl("english", "https://example.com/languages.xml");
If possible, add a listener that will be called when the document is loaded.
What do you think of this idea?
The text was updated successfully, but these errors were encountered: