performance-audit-plugin icon indicating copy to clipboard operation
performance-audit-plugin copied to clipboard

Translations using Weblate

Open Findus23 opened this issue 4 years ago • 4 comments

Hello,

Lukas from Matomo team here. We are currently in the process of moving our translations from Transifex to Weblate (https://github.com/matomo-org/matomo/issues/17907). As Weblate makes it easier to add a git repository as a component and merge back updated translations via pull requests, I thought it would be great if more plugins in Matomo were available in the users languages if someone is interested in translating them.

If you are interested in adding your plugin, simply comment here, and I'll help you with the setup.

Findus23 avatar Aug 30 '21 13:08 Findus23

What exactly is needed to incorporate the plugin to Weblate?

DevDavido avatar Aug 30 '21 18:08 DevDavido

Hi,

Not much. I can create the component at https://hosted.weblate.org/projects/matomo which will import the en.json from this repository. Then you can set up a webhook to https://hosted.weblate.org/hooks/github/, so that weblate is immediatly notified of any changes to en.json.

From then on, whenever the translations are updated or a new language is added, Weblate will create (or update) a Pull Request to this repository with the changes, which you can e.g. merge before releases.

Findus23 avatar Aug 30 '21 18:08 Findus23

Ok, sounds good to me. 👍

DevDavido avatar Sep 05 '21 13:09 DevDavido

Great, I created the component at https://hosted.weblate.org/projects/matomo/communityplugin-performanceaudit/

The first job adding all languages is already running and created #39.

Findus23 avatar Sep 05 '21 14:09 Findus23