Skip to content

Make it so that it's easier to load translations dynamically #60

@zakkudo

Description

@zakkudo

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....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions