I’m interested in using fluent to localize the react ui of some npm installable packages. (think something like https://github.com/JedWatson/react-select)
The trouble I’m coming across, is that since the package is developed separately from the application, it makes the most sense to bundle the translations in with the package, but I don’t know how to access those files in this case.
In my app, the ftl files are served from the /public folder, which I fetch as needed and pass to my LocalizationProvider, but if the ftl files for a package are in the node_modules folder, how do I get at them?