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

Support for externally stored strings #88

Open
halvardssm opened this issue Feb 18, 2019 · 1 comment
Open

Support for externally stored strings #88

halvardssm opened this issue Feb 18, 2019 · 1 comment

Comments

@halvardssm
Copy link

Hi! I am in the middle of integrating localization in my project, but I was wondering if there is there a way to include strings stored in ex. a Google sheet, or a separate repo, which it fetches every X amount of time?

@beatlecz
Copy link

beatlecz commented Mar 8, 2019

What about something like this:

const stringsJson = await fetch('https://somesitewithmystrings.com/strings.json')
let strings = new LocalizedStrings(stringsJson)

:-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants