Skip to content

Safe message rendering at the browser? #884

Answered by kazupon
wladston asked this question in Q&A
Discussion options

You must be logged in to vote

The app needs to load .json messages from a server, and compile them at the browser. I can't pre-compile the all the messages, because some of them are dynamically generated by a Python backend.

Deal with this use case, intlify project provides a cli & API.
By using the CLI & API, you can compile .json on the back-end.
https://github.com/intlify/cli

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@wladston
Comment options

@kazupon
Comment options

@wladston
Comment options

@kazupon
Comment options

@wladston
Comment options

Answer selected by wladston
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants