create-ignite-app icon indicating copy to clipboard operation
create-ignite-app copied to clipboard

Change i18n tooling to `lingui`

Open adamsoderstrom opened this issue 2 years ago • 4 comments

Change i18n tooling to lingui

Pros

Cons

  • Little bit bigger footprint than the one currently used (es2015-i18n-tag) (3.4kb vs 2.4kb).
  • A bit unsure if it supports the JSON structure create-ignite-app is using today. May be possible through some configuration. Though, they have a pretty nice alternative, where you have one translation files per component. Though, these are just examples. We should strive for keeping the current pattern and then reconsolidate if another one would be better.

adamsoderstrom avatar Feb 05 '23 18:02 adamsoderstrom

Tried to set it up with a fresh instance of create-ignite-app, but got blocked because of https://github.com/lingui/js-lingui/issues/1401. Will retry when that issue gets resolved.

adamsoderstrom avatar Feb 05 '23 18:02 adamsoderstrom

Hi @adamsoderstrom, the issue should now be resolved in v3.17.2, could you please try it?

andrii-bodnar avatar Feb 27 '23 10:02 andrii-bodnar

Hi @andrii-bodnar ! Thanks for reaching out! Will try it out! 😊

adamsoderstrom avatar Feb 27 '23 10:02 adamsoderstrom

This look really promising! Let's investigate how we can get a complete SWC setup while keeping a working Storybook environment :)

maeertin avatar Feb 28 '23 08:02 maeertin

Closing PR as no longer relevant as "cia" is now purely a documentation app.

maeertin avatar Aug 23 '24 12:08 maeertin