The i18n Team is Back on Track

Originally published at: The i18n Team is Back on Track | ClassicPress

After the COVID crisis, the huge endeavor our core team undertook to release ClassicPress v2 (codename Bella) by re-forking WordPress, the release of the new plugins and themes directory with its integration plugin, and all the ongoing work that resulted in a big improvement in the migration plugin — not to mention all the accessibility…

2 Likes

Just an additional note to keep in mind when localizing the CP default theme launches:

The code in /wp-admin/includes/translation-install.php should by that time be changed to also check if the translation is for the CP theme. Perhaps by adding an elseif statement between CP core and the WP API:

elseif ( 'themes' === $type && str_starts_with( $args['slug'], 'classicpress-' ) ) {
	// Get ClassicPress theme translations from the ClassicPress.net API.
	$stats['cp_version'] = $cp_version;
	$options['method']   = 'GET';
	$url                 = add_query_arg( $stats, 'https://api-v1.classicpress.net/translations/themes/2.0.0/translations.json' );
	$request             = wp_remote_request( $url, $options );
}
1 Like