Title: Custom Post Types?
Last modified: August 20, 2016

---

# Custom Post Types?

 *  Resolved [Darkwing](https://wordpress.org/support/users/darkwing371gmxde/)
 * (@darkwing371gmxde)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/custom-post-types-63/)
 * Nice concept so far with Bogo!
 * Regrettably it seems not compatible with Custom Post Types. I tried to translate
   WooCommerce products, but the language selector doesn’t even show up in the editor.
   Language Switcher Plugin is gray, when viewing products, this means Custom Post
   Types.
 * Bummer. Could have been so nice. 😉
 * [http://wordpress.org/extend/plugins/bogo/](http://wordpress.org/extend/plugins/bogo/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/custom-post-types-63/#post-3623571)
 * Bogo’s localization is only available for Posts and Pages by default, in order
   to avoid giving unexpected effects on other Post Types. You can change it by 
   utilizing `bogo_localizable_post_types` filter hook.
 *  Thread Starter [Darkwing](https://wordpress.org/support/users/darkwing371gmxde/)
 * (@darkwing371gmxde)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/custom-post-types-63/#post-3623637)
 * Ok, glad I’ve asked, good to know, I’ll give it a try sometime.
 * Thanks!
 *  [jabbo126](https://wordpress.org/support/users/jabbo126/)
 * (@jabbo126)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/custom-post-types-63/#post-3623801)
 * Ok – i find out that normal posts works fine, but not my custom post type. I 
   just add the title of my custom post type in code of post-l10n-functions.php 
   file in plugin directory on line:
 *     ```
       function bogo_localizable_post_types() {
       	$localizable = array( 'post', 'page', 'news' );
       ```
   
 * I added ‘news’ in it. And it looks like it works, but when i click preview of
   my translated post in custom post type it gives me 404 error. But with normal
   post, it works fine. Is there anything els i need to do?
 * PS: I tried change permalinks setting, it didn’t help.
 *  [Jordan Wellington Lint](https://wordpress.org/support/users/jordanwellingtonlint/)
 * (@jordanwellingtonlint)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/custom-post-types-63/#post-3623806)
 * Hello,
 * I’m also interest in implement this to my website. Of course, I don’t want to
   modify the plugin. Can I use the `bogo_localizable_post_types` in my functions?
   How?
 * Thank you!
 *  [hiribarne](https://wordpress.org/support/users/hiribarne/)
 * (@hiribarne)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/custom-post-types-63/#post-3623807)
 * Hello,
 * Just a comment to let it clear, it works in your `functions.php`. Here is a little
   working example:
 * add_filter(‘bogo_localizable_post_types’, ‘my_localizable_post_types’, 10, 1);
 * function my_localizable_post_types($localizable) {
    $localizable[] = ‘event’;
   return $localizable; }

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Custom Post Types?’ is closed to new replies.

 * ![](https://ps.w.org/bogo/assets/icon-256x256.png?rev=1047282)
 * [Bogo](https://wordpress.org/plugins/bogo/)
 * [Support Threads](https://wordpress.org/support/plugin/bogo/)
 * [Active Topics](https://wordpress.org/support/plugin/bogo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bogo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bogo/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [hiribarne](https://wordpress.org/support/users/hiribarne/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/custom-post-types-63/#post-3623807)
 * Status: resolved