Skip to content
Discussion options

You must be logged in to vote

Ok let's take it one by one:

  1. If you want to have separate catalogs per screen, this is where experimental extractor could help because it's traversing a dependency tree. It's unlikely that you have fully self-contained screen in one folder, most likely it uses some shared components or utils which could be located outside of the screen component folder.
  2. catalogsMergePath works only for compile command, and it basically merge multiple catalogs defined in the catalogs into one per locale on the specified path. Loaders/transformers such as Metro transformer doesn't support this.
  3. With your configuration you should get compiled per locale files on the <rootDir>/src/common/i18n/{locale}.js pat…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@manvi-ivnam
Comment options

@timofei-iatsenko
Comment options

Answer selected by manvi-ivnam
@manvi-ivnam
Comment options

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