aspirepress / aspireupdate

A plugin that allows for rewriting the URLs used to fetch updates from WordPress.org to some other endpoint
GNU General Public License v2.0
29 stars 20 forks source link

Add decoupled translations #208

Open afragen opened 1 day ago

afragen commented 1 day ago

I have checked the following:

Describe the feature you want to add

Add decoupled language packs to AspireUpdate. This allows for language packs from aspirepress/aspireupdate-translations to be installed in the wp-content/languages/plugins folder. This is how translations are loaded from translate.wordpress.org are loaded. The translations are currently in the GlotPress at translate.git-updater.com but will be transitioned to translate.aspirepress.org as soon as that is set up.

Fundamentally this allows for translation updates that aren't coupled to the AspireUpdate plugin update.

The PR is irrespective of where the GlotPress resides.

Mockups or Images of the feature

n/a

afragen commented 1 day ago

Testing instructions, https://github.com/aspirepress/aspireupdate/pull/209#issuecomment-2496168000