Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat]: allow dynamic translation files fetch #638

Closed
orestbida opened this issue Feb 11, 2024 · 0 comments
Closed

[Feat]: allow dynamic translation files fetch #638

orestbida opened this issue Feb 11, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@orestbida
Copy link
Owner

Description

As discussed in #637, it would be nice to have the option to use async callback functions to fetch a translation:

{
    translations: {
        en: async () => {
            const resp = await fetch('path-to-api-or-json-file');
            return await resp.json();
        }
    }
}

Proposed solution

No response

Additional details

No response

@orestbida orestbida added enhancement New feature or request triage yet to be reviewed and removed triage yet to be reviewed labels Feb 11, 2024
@orestbida orestbida added this to the v3.1.0 milestone Feb 11, 2024
@orestbida orestbida reopened this Feb 17, 2024
@github-actions github-actions bot added the triage yet to be reviewed label Feb 17, 2024
@orestbida orestbida removed the triage yet to be reviewed label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant