You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a static parser for webpack that reads the source files and uses y18n to generate the json file. But cache isn't part of the public api and there is no way to keep readFile from being called in a browser. Is there any way to make this more flexible?
y18n language fallback does not work. In fact, the fallback code in commit
yargs/y18n@bf1ef9b
seems to have been deleted from the y18n repo.
Calling setLocale() also does not load the proper locale file, as advertised in
yargs/y18n#60.
So we're rolling our own.
I wrote a static parser for webpack that reads the source files and uses y18n to generate the json file. But cache isn't part of the public api and there is no way to keep readFile from being called in a browser. Is there any way to make this more flexible?
https://github.com/zakkudo/translation-static-analyzer
https://github.com/zakkudo/translate-webpack-plugin
I plan on making npm packages by next week for this, which will be a bit easier to test with....
The text was updated successfully, but these errors were encountered: