Strumenta / tylasu

Apache License 2.0
20 stars 4 forks source link

Feature: i18n of issues #70

Closed alessiostalla closed 3 months ago

alessiostalla commented 3 months ago

I've added three fields to the Issue class:

The "message" field remains with two purposes:

I've also added a test case showing how the feature could be used with a real-world i18n library (i18next).

alessiostalla commented 3 months ago

It's a pain in JS/TS to use a local copy. In theory, in package.json you can put an https:// or file:/ URL instead of the usual version. However, in practice, when I tried it it would randomly use stale versions even if you had changed the source code of the library and rebuilt it. So it's a practice I tend to avoid; maybe today things work better, I don't know.