Extensions need to be translated separately from the main calypso codebase:
Imagining the best solution possible, we'd probably want extensions to define their translate.wordpress.org URL, and download the translations directly from there, without using any wpcom infrastructure. Our translation functions syntax is different from WP's in a few areas, but nothing that can't be normalized in the transfer.
TODOs:
calypso-strings.potPinging a few people who might have thoughts on this @allendav @ockham @mtias
It'd be great if we can figure out a plan before we launch popular extensions.
cc @gedex
@Automattic/store Bump! Since we're going to open Store internationally soon, we should figure out how to translate extensions.
Since all the current extensions are our own and are part of the wp-calypso codebase, what about including the /extensions folder again for translations? So it follows the same process as the rest of Calypso.
@DanReyLop We could - but that wouldn't solve the points from this issue, which are still painful.
@Automattic/i18n is going to work on this. Eventually, we'd want to have:
As a first step, for the WooCommerce store extension, I've created https://translate.wordpress.com/projects/wpcom/calypso-extensions/woocommerce/ and imported several projects from translate.wordpress.org (as per the plugins listed on https://github.com/Automattic/wp-calypso/blob/master/client/extensions/woocommerce/README.md) :
Which gives us already a nice translated percentage of up to 36%. After we have translated them, we should be able to share them back to translate.wordpress.org.
This issue has been marked as stale and will be closed in seven days. This happened because:
You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation.
Most helpful comment
Pinging a few people who might have thoughts on this @allendav @ockham @mtias
It'd be great if we can figure out a plan before we launch popular extensions.