Skip to content

Suggestion for a method to initialize online translations #1

@kesparleo

Description

@kesparleo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions