-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Apply translations from local JSON / YAML file and not from a remote source (locize.io) #1
Comments
locizify-ssg is highly experimental and based on locizify so there is only the option to download directly from locize. |
It sounds promising. Could you help provide a Locizify init example? What to add here?
|
something like this: just made an example with the key: "Academy"
|
🚀 Feature Proposal
We need a way to tell this library what local directory to use as the source of translation keys, so translations don't have to be downloaded from locize.io API.
Motivation
We want to use
locizify-ssg
as part of our CI build. Currently, executingssg()
on 1000 files will cause the keys in a given namespace to be downloaded 1000 times. This is slow and wasteful, and often not needed - e.g. we don't need to apply up-to-date translations from Locize.io, and whatever is cached locally is fine, andlocize download -f json
can be executed manually if it needs to be brought up-to-date.Example
or
The text was updated successfully, but these errors were encountered: