A
A
Andrew2021-02-15 14:51:46
JavaScript
Andrew, 2021-02-15 14:51:46

How to split i18n localization files into separate modules?

I would like to split the localization files into separate modules, but so far I have little idea how to do it correctly.

Now it looks like this:

/locales
  en.json
  ru.json


Would like to have something like this:
/locales
  /ru
     module1.json
     module2.json
  /en
     module1.json
     module2.json

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question