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?