# Moving Translations / i18n to Weblate

**URL:** <https://discuss.avogadro.cc/t/moving-translations-i18n-to-weblate/3151>\
**Category:** Development\
**Created:** [April 30, 2020, 3:01pm UTC](https://discuss.avogadro.cc/t/moving-translations-i18n-to-weblate/3151 "2020-04-30T15:01:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [April 30, 2020, 3:01pm UTC](https://discuss.avogadro.cc/t/moving-translations-i18n-to-weblate/3151/1 "2020-04-30T15:01:18Z")

</div>

For a long time, we've hosted translations on Launchpad ([Translations : Avogadro](https://translations.launchpad.net/avogadro)) - this has been wonderful, since we've gotten dozens of translation and localization contributions.

Launchpad is not ideal. It's designed around gettext PO files, and imports translation templates i\.e\. the lists of strings from bzr - which doesn't like git submodules.

I spent some time yesterday working on automating updates for Avo2: [GitHub - OpenChemistry/avogadro-i18n: Translations for Avogadro app and libraries · GitHub](https://github.com/OpenChemistry/avogadro-i18n)

The great news is that using GitHub's action infrastructure, we can build the QM files used by Qt automatically and distribute with all releases.. eventually allowing users to download translation updates as they wish. That repo will now auto-update every week.

The down side is that it's still really painful to get new templates into Launchpad and translations don't sync between branches e\.g\., there are different translations between &#39;trunk&#39; and &#39;1\.2&#39; even though they have the same templates

Last night, I looked around for alternatives and it seems like Weblate would be a good platform for us.

The translation interface is very slick, including translation suggestions from other branches, other projects, and machine translations Google Translate, etc\.

> **[Weblate features](https://weblate.org/en/features/)**
>
> As a feature rich computer aided translation tool, Weblate saves both developers and translators time. Make your users happier!

- It offers quality checks / validation methods
- Fedora, openSUSE, phpMyAdmin, and a few other significant projects are using it
- All code is libre on GitHub and clearly under active development several major and many minor releases in last 12 months
  - it's possible to do self-hosting

- Directly integrates with GitHub, GitLab and other VCS i\.e\., no bzr i.e., no lock-in
- Accounts are required to contribute, but people can use GitHub and other services to log in
- Translators get credit via Git commits

In principal, we can use the native Qt TS files, but we'll see how that goes.

I've requested hosting for libre projects - and hope to move soon. I'll send an announcement and more information when available.

-Geoff

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [April 30, 2020, 6:46pm UTC](https://discuss.avogadro.cc/t/moving-translations-i18n-to-weblate/3151/2 "2020-04-30T18:46:51Z")

</div>

It may be some time before we get hosting set up at Weblate - it seems as if they process new open source projects about once a month.

If you’d like to try it out, there’s a sandbox demo:

> **[Sandbox](https://hosted.weblate.org/.within.website/?redir=https:%2F%2Fhosted.weblate.org%2Fprojects%2Fsandbox%2F)**
>
> Sandbox is being translated into 47 languages using Weblate. Join the translation or start translating your own project.

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [September 11, 2020, 7:23pm UTC](https://discuss.avogadro.cc/t/moving-translations-i18n-to-weblate/3151/3 "2020-09-11T19:23:43Z")

</div>

Update: this is now active - please go to the new topic:

> [@Translations Active on Weblate](https://discuss.avogadro.cc/t/translations-active-on-weblate/3285):
>
> I still have some pieces to get automated translation working, but a big piece of the puzzle is in place. As I [mentioned previously](https://discuss.avogadro.cc/t/moving-translations-i18n-to-weblate/3151), we now have free project hosting on Weblate: The new setup will pull strings from Git and eventually sync them back. GitHub actions build the binary QM files needed – the new plugin system will allow them to be downloaded: I have one final sync from Launchpad planned and then I’ll mark those deprecated and point people to the new location. Suggestions, parti…

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [September 11, 2020, 7:23pm UTC](https://discuss.avogadro.cc/t/moving-translations-i18n-to-weblate/3151/4 "2020-09-11T19:23:50Z")

</div>


