Title: multilanguage
Last modified: August 21, 2016

---

# multilanguage

 *  Resolved [silviod](https://wordpress.org/support/users/silviod/)
 * (@silviod)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/multilanguage-4/)
 * Very nice plugin, I would like to buy pro version, but…
    Is’nt it localizable?
   I need to show text in two languages… Sure, I could do it by myself: it need 
   just to add `__('` and `');` to each text string, but my work would be overwritten
   by every update of the plugin. So, what about to localize it in the source? cheers
 * [http://wordpress.org/plugins/mybooktable/](http://wordpress.org/plugins/mybooktable/)

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

 *  Plugin Author [Thomas Umstattd](https://wordpress.org/support/users/neovita/)
 * (@neovita)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097738)
 * Localization is a feature on our timeline but not something we have developed
   yet.
 * We have the project on git hub. I would be will to trade a free copy of the API
   for some help localizing the plugin. Localization is not something we have a 
   lot of experience in. This is our first plugin to have international interest.
 *  Plugin Author [Thomas Umstattd](https://wordpress.org/support/users/neovita/)
 * (@neovita)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097741)
 * By “Free copy of the API” I mean a free copy of our Developer Add-On
 *  Thread Starter [silviod](https://wordpress.org/support/users/silviod/)
 * (@silviod)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097751)
 * Thank you very much.
 * To localize MyBookTable you just need to change static texts (for example in 
   taxonomies.php):
 *     ```
       register_taxonomy('mbt_author', 'mbt_book', array(
       		'hierarchical' => true,
       		'labels' => array(
       			'name' => 'Authors',
       			'singular_name' => 'Author',
       			'all_items' => 'All Authors',
       ```
   
 * _eccetera…_
 * with something like this
 *     ```
       register_taxonomy('mbt_author', 'mbt_book', array(
       		'hierarchical' => true,
       		'labels' => array(
       			'name' => __('Authors', 'mybooktable'),
       			'singular_name' => __('Author', 'mybooktable'),
       			'all_items' => __('All authors', 'mybooktable'),
       ```
   
 * _eccetera…_
 * so, internationalization plugins like WPML or similar will be able to identify“
   Authors”, “Author”, “All authors”, eccetera… as static text belonging to “mybooktable”
   and possibly replace it with the equivalent text in another language (it will
   be up to the end user fill in the translations, however). You should do this 
   for each string intended for display eg. “books”, “series”…
 * Unfortunately I’m not enough skilled to be more helpful 🙁
    but it seems to be
   enough and [here](http://wp.tutsplus.com/tutorials/how-to-localize-wordpress-themes-and-plugins/)
   you can find a tutorial.
 * cheers
 *  Thread Starter [silviod](https://wordpress.org/support/users/silviod/)
 * (@silviod)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097818)
 * So,
    I am ready to send you the file taxonomies.php modified for internationalization.
   It seems to work. There is still some string around, but it’s a good start.
 * How can I contact?
 *  Plugin Author [Thomas Umstattd](https://wordpress.org/support/users/neovita/)
 * (@neovita)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097819)
 * We do all code collaboration through GitHub.
 * [https://github.com/authormedia/mybooktable](https://github.com/authormedia/mybooktable)
 * This way you can submit the code right into our project for review. This will
   also allow others to submit changes as they find additional strings that need
   to get internationalized.
 * See [http://lifehacker.com/5983680/how-the-heck-do-i-use-github](http://lifehacker.com/5983680/how-the-heck-do-i-use-github)
   if you need help using GitHub.
 * Go to [http://www.authormedia.com/contact/](http://www.authormedia.com/contact/)
   and I’ll get you connected with our developer directly.
 *  Thread Starter [silviod](https://wordpress.org/support/users/silviod/)
 * (@silviod)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097827)
 * done!
    Thanks neovita!
 * Silvio.
 *  Plugin Author [Thomas Umstattd](https://wordpress.org/support/users/neovita/)
 * (@neovita)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097952)
 * Silvio,
 * Could you post a link to your site? I am wanting to compile a list of sites using
   MyBookTable in other languages to promote on our blog.
 *  Thread Starter [silviod](https://wordpress.org/support/users/silviod/)
 * (@silviod)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097953)
 * of course!
    this is my site [http://www.laputa.it](http://www.laputa.it)
 * but, as I wrote in a request for assitance by e-mail, the plugin on my site is
   not working properly due to a problem with WPML multilanguage: links to genre
   and authors do not work as you can verify here: [http://www.laputa.it/libreria/](http://www.laputa.it/libreria/)
 * If you click on a genre or author you get a “nothing found” page. Similarly, 
   link to bookshop home or other navigation links do not work.
 * deactivating WPML, Mybooktable back to work, but text strings in my site switch
   back to english!
 * Unfortunately, WPML is essential for those who have a blog in languages ​​other
   than English.
 * wpml staff provides assistance to developers who want to make their plugins compatible:
   [http://wpml.org/documentation/plugins-compatibility/](http://wpml.org/documentation/plugins-compatibility/)
 * so, please fix it! 🙂
 *  Plugin Author [Thomas Umstattd](https://wordpress.org/support/users/neovita/)
 * (@neovita)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097954)
 * We have a link to your site. See [http://www.authormedia.com/mybooktable-1-3/](http://www.authormedia.com/mybooktable-1-3/)
 * I’m sorry about the problems you are experiencing. What version of MyBookTable
   are you using?
 *  Thread Starter [silviod](https://wordpress.org/support/users/silviod/)
 * (@silviod)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097955)
 * thank you 🙂
 * Mybooktable 1.3.0 with developer add-on 1.0.8
 * WordPress is 3.8.1 with WPML 2.9 “full” version
 *  Thread Starter [silviod](https://wordpress.org/support/users/silviod/)
 * (@silviod)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097957)
 * any news? :/
    i’m still in trouble…
 *  Plugin Author [Thomas Umstattd](https://wordpress.org/support/users/neovita/)
 * (@neovita)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097958)
 * No updates yet. It may be a while yet. We don’t have anyone in house who knows
   much about multi lingual :-\
 *  Thread Starter [silviod](https://wordpress.org/support/users/silviod/)
 * (@silviod)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097959)
 * 😀
    solution (or at least another step forward):
 * you need to add to mybooktable.php these lines:
 *     ```
       Text Domain: mybooktable
       ```
   
 * in header, just after the lines:
 *     ```
       Author: Author Media
       Author URI: http://www.authormedia.com
       (add line here)
       ```
   
 * and
 *     ```
       load_plugin_textdomain('mybooktable', false, dirname(plugin_basename(__FILE__ )));
       ```
   
 * just after the `*/`
 * So the result will be:
 *     ```
       <?php
       /*
       Plugin Name: MyBookTable - WordPress Affiliate Bookstore
       Plugin URI: http://www.authormedia.com/mybooktable/
       Description: A WordPress Bookstore Plugin to help authors sell more books.
       Author: Author Media
       Author URI: http://www.authormedia.com
       Text Domain: mybooktable
       Version: 1.3.0
       */
   
       load_plugin_textdomain('mybooktable', false, dirname(plugin_basename(__FILE__ )));
       [...]
       ```
   
 * after then webmasters can use .po/.mo dictionaries to set string translation,
   so it becomes localizable WITHOUT using WPML, and Mybooktables back to work! 
   😀
 * I I have already made ​​these changes on github:
    [https://github.com/sdellacqua/mybooktable/tree/patch-5](https://github.com/sdellacqua/mybooktable/tree/patch-5)
 *  Plugin Author [Thomas Umstattd](https://wordpress.org/support/users/neovita/)
 * (@neovita)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097960)
 * Thanks silviod!
 *  Thread Starter [silviod](https://wordpress.org/support/users/silviod/)
 * (@silviod)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097963)
 * not at all 🙂
 * however, it remains to resolve the conflict with WPML because the solution I 
   adopted allows me to translate the site in Italian, but it is not enough for 
   those who use wordpress in multiple languages. Many sites that run more than 
   one language use WPML.

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

The topic ‘multilanguage’ is closed to new replies.

 * ![](https://ps.w.org/mybooktable/assets/icon-256x256.jpg?rev=1083550)
 * [MyBookTable Bookstore by Stormhill Media](https://wordpress.org/plugins/mybooktable/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mybooktable/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mybooktable/)
 * [Active Topics](https://wordpress.org/support/plugin/mybooktable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mybooktable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mybooktable/reviews/)

## Tags

 * [Localization](https://wordpress.org/support/topic-tag/localization/)

 * 15 replies
 * 2 participants
 * Last reply from: [silviod](https://wordpress.org/support/users/silviod/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/multilanguage-4/#post-4097963)
 * Status: resolved