-
Notifications
You must be signed in to change notification settings - Fork 385
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
RFC: Renovate the remote-loader
#1551
Comments
Currently, the only one problem here, it doesn't support any other formats except of By the way, Pofile would be tricky to bundle for for the browser because it has |
I wonder if this should be considered every time someone creates a custom formatter. What about other formatters? Are they compatible with this? |
Yes, it should be considered when someone creates a custom formatter. Formatters shouldn't have any browser-incompatibile dependencies. Other official lingui formatters are compatible with browser. |
Are there any other currently supported I've found https://www.npmjs.com/package/gettext-parser, but I'm not sure if it works in browsers |
remote-loader
(or deprecate)remote-loader
@thekip I just thought if Pofile is a blocker in the current case, we probably can adopt its fork under the Lingui organization |
Now Crowdin can provide already compiled translations via OTA CDN - Lingui String Exporter |
@lingui/remote-loader is a package that allows loading and compiling message catalogs located somewhere remotely (for example, an external CDN endpoint).
For some reason, it was marked as
private
and the latest published version is 3.11.0.Today, almost every Localization Management System has an Over-The-Air Content Delivery feature that allows translations to be distributed to a CDN (or other resources located on the web) and then applications can consume these translations directly from the remote endpoint. For example, this is how it works in Crowdin - Content Delivery.
In short, OTA Content Delivery allows new translations to be delivered without necessarily rebuilding or redeploying the application. So the Remote Loader would be a good complement to OTA technologies.
Possible steps to do:
The text was updated successfully, but these errors were encountered: