-
I see we can use |
Beta Was this translation helpful? Give feedback.
Answered by
fnando
Jul 31, 2022
Replies: 1 comment 1 reply
-
Hi! The way I'm doing is generating the translations during build, then the file is imported to my JavaScript code with |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rg-id-me
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.