farmOS / field-kit

A modular, offline-first companion app to farmOS.
https://farmOS.org
GNU General Public License v3.0
62 stars 39 forks source link

2.x Localization #456

Open jgaehring opened 3 years ago

jgaehring commented 3 years ago

So far, I've just commented out the l10n module while I work out the more integral changes to the farmOS 2.x data model and API, but I'll need to come back to this eventually. I'm putting this in the alpha milestone for now, but I may very well punt on this until beta or even the general release.

jgaehring commented 3 years ago

Also, remember to revert commit 710b2b3.

jgaehring commented 2 years ago

Wondering again about the vue-i18n library for this:

https://vue-i18n.intlify.dev/guide/

It has the same basic API, a la $t(), so it might be nice to just use a tried and true library. It's really a matter of whether it leaves open the possiblity of integrating with the Drupal localization stuff in the future. If I had to guess, I would think so, since it has built-in support for things like lazy loading.

jgaehring commented 2 years ago

This is the only remaining Vue mixin at this point, though it's still commented out. I'm closing #470, but it may be worth bearing in mind if such an issue comes up in development with the $t mixin.