Localization support is here! (And help needed)

I’ve just finished adding localization support in LT.

I’ve initialized the translations by using argos-translate, but obviously some translations are a bit rough. People can review and contribute corrections by visiting LibreTranslate/App @ Hosted Weblate

Changes from weblate are automatically pushed to GitHub (and automatically rebuild the docker images).

I’ll start reviewing/editing Italian soon. :partying_face:

2 Likes

Italian is online! https://it.libretranslate.com/

2 Likes

If you have a localized version running an on a different subdomain is it a different host too? You could also set the default language for translation then too.

1 Like

It’s the same application, running on the same host. I configured nginx to add a X-Override-Accept-Language header when forwarding requests to the LT app (depending on the subdomain), which then sets the locale (https://github.com/LibreTranslate/LibreTranslate/blob/main/libretranslate/app.py#L1026)

But yes, I think a good improvement could be to set the default language to match that of the locale. I opened https://github.com/LibreTranslate/LibreTranslate/issues/383

2 Likes

Thank you :smiling_face_with_three_hearts:

Already translated to Kabyle kab and Occitan oc with the help of our friends on Mastodon.

4 Likes