Automattic / babble

Multilingual WordPress done right.
https://wordpress.org/plugins/babble/
245 stars 50 forks source link

Example plugin: publish prior to translation #213

Closed simonwheatley closed 9 years ago

simonwheatley commented 9 years ago

This plugin shows how to use the bbl_create_empty_translation filter to specify that, when a post is "ready for translation", empty posts will be created for each of the languages. These empty posts mean that Babble will fall back to using the content from the default/canonical language.

For example: if a Babble enabled site has French as the canonical language, and German and Russian as other languages, then when you publish a post and specify it is "ready for translation" that post will appear in the Russian and German post listings, but with the English content.

simonwheatley commented 9 years ago

@johnbillion Would you be able to review and merge this if you're satisfied, please?