WordPress.org

Forums

Bogo
Translated plugins and working with Bogo (4 posts)

  1. performr
    Member
    Posted 11 months ago #

    I was reading up on translating plugins, stumbled on this article: http://premium.wpmudev.org/blog/how-to-translate-a-wordpress-plugin/
    It mentions setting your locale in your WP config, but then I wondered: How does Bogo handle this? Because I would also want the plugin's language to switch whenever Bogo switches.. Do I just not set it in wp_config?

    Thanks in advance,
    Alex

    https://wordpress.org/plugins/bogo/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 11 months ago #

    The only thing what you need to do is to create a MO file for the plugin that you want to translate.

    Bogo manages locale setting of each page, and the locale affects the language of the plugin as well as WordPress.

    The WPLANG constant defined in wp-config.php determines the default locale. Bogo does override it on the fly.

  3. Multimandala
    Member
    Posted 11 months ago #

    Hello, I would like clarifications on this process : I use a complex event registration plugin named Event Espresso, that comes with its own .mo and .po files. So I would put these files for the two langages I need in the appropriate folder structure for this plugin, and Bobo would know to select the on the fly, so that both the wordpress base and all the text generated by this plugin would switch ? If so it would be awesome, I've been looking for a while for that :-)

    Thanks for the precisions,

    :-)

  4. richardchui
    Member
    Posted 10 months ago #

    I am running into the same issue as well. Changing the language using the language switcher does not seem to have any effect on the language of the plugins. They are still using the default in the wp config file.

    Thanks!

Reply

You must log in to post.

About this Plugin

  • Bogo
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.