KlimaDAO / klimadao

Monorepo for the official KlimaDAO site, dApp, components and design system.
https://klimadao.finance
MIT License
90 stars 71 forks source link

Simplify translation process #2331

Closed 0xemc closed 3 months ago

0xemc commented 4 months ago

The current translation process is overly complex and prone to bleeding bugs in to production. We need a simpler solution that everyone can understand and that exposes issues before they get to production.

Atmosfearful commented 4 months ago

Sorry to be blunt but "I don't understand the translation process" is not ticket worthy...

If you can pinpoint where the excess complexity is or where bugs are being introduced, or make a case for an alternative that would be a start. Here is how the process works:

We settled on this process because it is completely automated and avoids the need for "string freeze" like some teams do. Other translation tools would likely be a variation of the above (static code analysis -> syncing workflow -> string output --> react provider)

Known issues

My only gripes have been with Lingui being tied to Babel (preventing us from using faster Nextjs tooling) And some breaking changes they introduced with their new version

Atmosfearful commented 3 months ago

Will be moved to CM repo