jech / galene

The Galène videoconference server
https://galene.org
MIT License
899 stars 119 forks source link

multi language #171

Open gedw99 opened 7 months ago

gedw99 commented 7 months ago

I would like to translate into many languages and think this is a really good solution.

it support extraction on golang code and go html templates.

https://github.com/vorlif/spreak

https://github.com/vorlif/xspreak

jakobkilian commented 5 months ago

I already translate to German by hand. Feel free to contact me when this starts, I am happy to contribute!

aguaviva commented 5 months ago

Are willing to maintain this feature forever and test it before every release?

jech commented 5 months ago

It's not a feature I'd be opposed to, there's a lot of users that are interested (Galene is used by a number of non-profit associations, some of which are devoted to helping people who do not necessarily have a higher education, and who might be put off by an interface in a foreign language). However, I'm not likely to work on it myself, at least not in the near future.

gedw99 commented 5 months ago

@jech thats why I also wanted i18n. I work for many non profits and there are many users in non western countries.

If you want this golang package would be a good one to use I think

https://github.com/donseba/go-translator/

Me and him are working on getting it to be able to translate in real time . That means that it translates everything each time and uses a translation cache to not call out to google translate for each item needing translation. Aka “translation memory “ in the industry.

jech commented 5 months ago

If you want this golang package would be a good one to use I think

Most of Galene's user interface is in the client, so I think it's the Javascript code that needs to be translated first. Once the UI is internationalised, we can think what to do about server messages.

Me and him are working on getting it to be able to translate in real time

Doesn't this cause privacy issues? There are good reasons why Galene avoids using any third-party services.

gedw99 commented 5 months ago

No privacy issues because its a Design / compile time, not runtime.

It can be used for golang or JS. Its just translating the files used to hold the GUI text

jech commented 5 months ago

Ah, ok. I'm relieved.