Skip to content

Tracking Translations #656

Answered by fnando
rg-id-me asked this question in Q&A
Jul 29, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi! I18nJS.listen is meant for development. You don't have to commit translations, but you could.

The way I'm doing is generating the translations during build, then the file is imported to my JavaScript code with import * as translations from "./config/translations", which is finally bundled into the final file.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fnando
Comment options

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