DevDavido / performance-audit-plugin

Daily performance audits of all your sites in Matomo.
GNU General Public License v3.0
12 stars 4 forks source link

Translations using Weblate #38

Closed Findus23 closed 2 years ago

Findus23 commented 3 years ago

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.

DevDavido commented 3 years ago

What exactly is needed to incorporate the plugin to Weblate?

Findus23 commented 3 years ago

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.

DevDavido commented 3 years ago

Ok, sounds good to me. 👍

Findus23 commented 3 years ago

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.