Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#26773 closed enhancement (duplicate)

Proper language system for plugins and themes

Reported by: Daedalon Owned by:
Priority: normal Milestone:
Component: Plugins Version: 3.8
Severity: normal Keywords:
Cc: Focuses:

Description

The plugin and theme system needs an overhaul for languages. It's common for any plugin to include dozens of language files, of which users will use on average only one, leading to wasted disk space and bandwidth. This is a pain especially with backups.

How it works now

  1. User installs a plugin (or theme).
  2. Numerous languages are downloaded and installed for the plugin.
  3. Of them, only one will be used.
  4. The rest of the language files will sit idle, eating disk space. Sometimes over half of the plugin's size.
  5. Languages for a plugin cannot be automatically updated without a plugin update.

How it should work

  1. User installs a plugin (or theme).
  2. WordPress downloads only the needed language files. For this, wordpress.org has provided a standardized way to host them at e.g. Trac.
  3. No disk space wasted.
  4. No bandwidth wasted.
  5. WordPress checks periodically if any plugin or theme has updates for the used language(s).

References

​http://wordpress.org/support/topic/reduce-plugin-size-download-only-needed-languages

​http://wordpress.org/support/topic/reduce-plugin-size-download-only-needed-languages-1

Change History (6)

#2 @coolmann
13 years ago

  • Cc info@… added
Version 0, edited 13 years ago by coolmann (next)

#3 follow-up: @markoheijnen
13 years ago

WordPress doesn't have a standardized way of hosting this yet. At least from GlotPress (used on ​http://translate.wordpress.org) a lot of ground work still need to be done.

I also believe this ticket can be closed since the ground work in core is already done but I can be wrong about that.

#4 @SergeyBiryukov
13 years ago

  • Milestone Awaiting Review → WordPress.org

#5 in reply to: ↑ 3 ; follow-up: @coolmann
13 years ago

Replying to markoheijnen:

I also believe this ticket can be closed since the ground work in core is already done but I can be wrong about that.

Should we open a ticket for the 'hosting' piece, then? This ticket mentions it.

Also, while waiting for WP.org to implement a repo system, is there a way for plugin developers to point the updater to a third-party repo to check for updates?

#6 in reply to: ↑ 5 @nacin
13 years ago

  • Milestone WordPress.org
  • Resolution → duplicate
  • Status new → closed

Replying to coolmann:

Also, while waiting for WP.org to implement a repo system, is there a way for plugin developers to point the updater to a third-party repo to check for updates?

Hypothetically by filtering the API response. I'm closing this out as #18200 handled this and we're working on the WP.org side of things during 3.9.

Note: See TracTickets for help on using tickets.