sufone / layl

🌙 Calculator for tahajjud, qiyam, and worship & sleep in an Islamic night!
https://layl.app
GNU Affero General Public License v3.0
21 stars 3 forks source link

Foundation for i18n translations #2

Closed mr-islam closed 3 years ago

mr-islam commented 3 years ago
mr-islam commented 3 years ago

Will do Arabic myself insha Allah, #3

mr-islam commented 3 years ago

Localazy looks perfect for this kind of small project, and is made by an indie developer

I want to see an example of how it integrates and get going

mr-islam commented 3 years ago

Polyglot seems nice and simple for the repo to handle it, other libraries look too complicated - anything else that's simple? Rosetta also looks nce

but does it integrate with localazy? Or do we not need an online platform, and we can just use files for translations?

mr-islam commented 3 years ago

Okay, research done.

Svelte-i18n with the third party extension looks like the dream pair. That'll be enough to get started, translate into Arabic, and update the UI for that

After that, we can use Localazy or Weblate or something else also with a free plan to provide a web interface so users can provide translations. But this is for much later. (See #29)

Right now, only get svelte 18n setup

mr-islam commented 3 years ago

Svelte i18n setup!