Title: theme guide lines
Last modified: August 30, 2016

---

# theme guide lines

 *  Resolved [jamie](https://wordpress.org/support/users/majamusan/)
 * (@majamusan)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/theme-guide-lines/)
 * Hello,
 * I am just looking for some documentation on how to make my theme compatible with
   your plugin.
 * It is il8n’ed according to this page
 * [https://developer.wordpress.org/themes/functionality/internationalization/](https://developer.wordpress.org/themes/functionality/internationalization/)
 * Though i can’t find a way to translate those strings
 * Thanks
 * [https://wordpress.org/plugins/wpglobus/](https://wordpress.org/plugins/wpglobus/)

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

 *  Plugin Author [Gregory Karpinsky (@tivnet)](https://wordpress.org/support/users/tivnet/)
 * (@tivnet)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/theme-guide-lines/#post-6389423)
 * Hello Jamie,
 * If every text in your theme’s `.php` files is written using the `__()`-like functions,
   and you prepared a set of `.po/.mo` files using, for example, `POEdit` for each
   language your theme supports, and you load those `.mo` files as described [here](https://developer.wordpress.org/themes/functionality/internationalization/#loading-text-domain)
   then everything should be fine, and WPGlobus will be able to switch between languages
   in your theme’s code.
 * Now, if your theme has an option panel, which asks the user to enter some texts,
   which are stored in the `options` database table, you should always display those
   texts using one of the WP filters, for example `the_title`.
 *     ```
       echo apply_filters( 'the_title', $text_from_the_theme_options );
       ```
   
 * The final step would be attaching WPGlobus Multilingual Editor to the options
   panel. There is no universal solution for that, and anyway, you should be using
   Customizer instead, according to the most recent WP guidelines…
 * Let us know if any of this sounds unclear, and we’ll be glad to answer all additional
   questions you might have.
 * _Thank you!
    Gregory The WPGlobus Team
 *  Thread Starter [jamie](https://wordpress.org/support/users/majamusan/)
 * (@majamusan)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/theme-guide-lines/#post-6389544)
 * was hoping that they would be included but o well
 * i am using this plugin
 * [https://wordpress.org/plugins/loco-translate/](https://wordpress.org/plugins/loco-translate/)
 * though it isn’t working… [http://ur-auction.com/](http://ur-auction.com/)
 *  Plugin Author [Gregory Karpinsky (@tivnet)](https://wordpress.org/support/users/tivnet/)
 * (@tivnet)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/theme-guide-lines/#post-6389545)
 * Jamie,
 * Loco-translate is something non-related to WPGlobus.
 * As far as I see, our plugin is working correctly. You can switch languages, and
   I see that you have texts translated as needed. One thing does not look right:
   the titles on the auction pages `{:en}USB Fan-pink{:}` – and that’s probably 
   something that has to be filtered, using the `apply_filters` as I wrote above.
 * Thank you!
    Gregory

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

The topic ‘theme guide lines’ is closed to new replies.

 * ![](https://ps.w.org/wpglobus/assets/icon-256x256.png?rev=1069705)
 * [WPGlobus](https://wordpress.org/plugins/wpglobus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpglobus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpglobus/)
 * [Active Topics](https://wordpress.org/support/plugin/wpglobus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpglobus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpglobus/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Gregory Karpinsky (@tivnet)](https://wordpress.org/support/users/tivnet/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/theme-guide-lines/#post-6389545)
 * Status: resolved