Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n: use gettext to allow translation of plugins #2032

Open
Exirel opened this issue Feb 28, 2021 · 5 comments
Open

i18n: use gettext to allow translation of plugins #2032

Exirel opened this issue Feb 28, 2021 · 5 comments

Comments

@Exirel
Copy link
Contributor

Exirel commented Feb 28, 2021

The problem

Sopel is in English only. I'd love to see it speaks in French, and I'm sure other people would like to see Spanish, German, Dutch, and so many more!

The solution

In Python, there is gettext (see the Python documentation for i18n), so the first step is probably to have a look and see how to use it in Sopel. Then, ensure that plugins can be translated too. After that, we can open Sopel for translation by the community, maybe by using Transifex which has an open-source free plan.

@Exirel Exirel added the Feature label Feb 28, 2021
@Exirel Exirel added this to the 8.0.0 milestone Feb 28, 2021
@half-duplex
Copy link
Member

I've also seen https://crowdin.com/ around, which also has a free option for open source, but that's the extent of my familiarity.

@dgw
Copy link
Member

dgw commented Feb 28, 2021

I already have to maintain localization files through Crowdin for another project, and am not interested in doing so for Sopel. If there was a way to let others maintain and release translations for that project separately, I would.

Let's take inspiration from YOURLS: make translations installable as packages, just like plugins, so they don't have to be maintained in lockstep with core, and so anyone can release any language they want with or without our blessings.

@RhinosF1
Copy link
Contributor

What about translatewiki ?

They automate the import and export. You could still build config that could allow it to be updated seperately to Sopel.

@Exirel
Copy link
Contributor Author

Exirel commented Feb 28, 2021

make translations installable as packages, just like plugins

100% agree.

@dgw dgw removed this from the 8.0.0 milestone Jul 14, 2022
@dgw
Copy link
Member

dgw commented Jul 14, 2022

Calling it a wishlist item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants