syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
400 stars 40 forks source link

Translation Platform #413

Open klmhsb42 opened 5 years ago

klmhsb42 commented 5 years ago

Starting to add functions and JSON file english and keep that maintained to allow translation in future...

ChrisGER77 commented 4 years ago

Hey, how is the status?

klmhsb42 commented 4 years ago

See #403

Translation is a little bit controversial topic as it needs a lot of maintenance which we cannot provide especially for a much more dynamically changing project like platform comparing to syncloud.org which is not changed very often. We do not have resources to maintain all the languages every time we add a feature as a result translations will be always half done and will just annoy people. On the other side I understand that we technically should be able to add can add translations with the switch and warning like experimental feature in settings.

cyberb commented 3 years ago

I am porting platform web to Vue web ui framework, it should be much easier to add a translation framework after this is done. https://github.com/syncloud/platform/tree/vue/www

klmhsb42 commented 2 years ago

I haven't read through vue yet, but what about https://github.com/kazupon/vue-i18n

If you can setup the 1) plugin, 2) language select input, 3) english json file, and 4) an example how to add vue-i18n into html tags in the vue files, I could go through all tags and add names to the json file

cyberb commented 2 years ago

all good, just we are using vue v3, so this is the right one I think: https://github.com/intlify/vue-i18n-next