Image
Image

Bogo

説明

Bogo は WordPress のための素直な多言語化プラグインです。

WordPress はそれ自体にローカライズを行う機能を備えているので、ダッシュボードやテーマを英語以外の言語で使うことが標準で可能になっています。Bogo はこの機能を拡張することで、単一の WordPress インストール上で多言語ブログを簡単に構築できるようにします。

興味のある方に少し技術の詳細を説明しましょう。Bogo は一投稿につき一言語を割り当てるタイプの多言語化プラグインです。Bogo の設計は WordPress と親和性が高く、このカテゴリーの他のプラグインとは異なり、データベースに独自のテーブルを追加するようなことがありません。この設計が Bogo の高い信頼性と堅牢性、コンフリクトを発生させないといった利点を生み出しています。

初めての方への Bogo 使い方ガイド

  1. 言語パックをインストールする

    まず最初にサイトで使いたい言語の言語パックをインストールします。言語パック画面 (言語 > 言語パック) で言語パックの一覧とインストールが可能です。

  2. 管理画面の言語を選択する

    Bogo ではログインユーザーそれぞれの管理画面用言語が選べます。ツールバー上のメニューから、またはツールバーが隠れている場合はプロフィール画面 (ユーザー > あなたのプロフィール) のメニューから言語を選択します。

  3. 投稿や固定ページを翻訳する

    翻訳投稿の作成は元の投稿の編集画面にある言語ボックスで行います。Bogo が行うのは投稿のコピーを作ることだけです。そのコピー投稿を翻訳するのはあなたの役目です。

  4. 言語切り替えウィジェットを追加する

    サイトに言語切り替えがあるとビジターにとって便利です。ウィジェット画面 (外観 > ウィジェット) で Bogo が提供する言語切り替えウィジェットを試してみましょう。

    投稿の本文中に言語切り替えを設置したい場合は [bogo] ショートコードを使います。このショートコードをテーマのテンプレートファイルの中で使うこともできますが、その場合はテンプレートに次のコードを埋め込みます:

    <?php echo do_shortcode( '[bogo]' ); ?>
    

プライバシーについて

このプラグインは、デフォルト設定で使用する場合においては、以下に挙げる動作を行いません:

  • こっそりとユーザーを追跡する。
  • ユーザーの個人データをデータベースに書き出す。
  • 外部のサーバーにデータを送る。
  • クッキーを利用する。

スクリーンショット

  • Image
    ツールバーで管理画面の言語を選択します。
  • Image
    言語ボックスで投稿の翻訳を管理します。
  • Image
    言語パック画面で言語パックの一覧とインストールが可能です。

ブロック

このプラグインは1個のブロックを提供します。

  • Language Switcher Language switcher widget by Bogo.

インストール

  1. bogo フォルダ全体を /wp-content/plugins/ ディレクトリにアップロードします。
  2. プラグイン画面 (プラグイン > インストール済みプラグイン)でプラグインを有効化する。

評価

Image
2025年10月25日
Solid multilingual plugin for simple projects like brochure site or blog. There are many action hooks and filters for developers to use. Despite the lack of comments, they’re relatively easy to understand.
Image
2025年10月21日 2 replies
There are some functionalities needed that should be in the core like change the post language, or linking to another post. Do you have a repository to contribute?
Image
2025年9月29日
I learned about this plugin a day ago. Tested the plugin today. It just works! Choosing another language in a page creates a copy, and you can edit the page or post as you wish. The BOGO shortcode works immediately, so the reader can switch from one language to another. I just wonder why everyone else makes a language plugin / switcher so difficult! Okay, the menu and footer remain the same when changing language, but for a simple multi-language site and using as many international terms as possible, it’s the perfect language plugin!
Image
2025年9月23日
Thank you, Takayuki Miyoshi. Bogo is exactly what developers crave: minimal, transparent, and fast. No custom DB tables, one post per language, clean URLs, simple switcher—built on top of WordPress’ native localization.From a Developer standpoint, it extends naturally (clean hooks), plays nicely with ACF/CPT, and the [bogo] shortcode gets you running fast—then you can build a custom language selector for full control.Only gripe: documentation is thin; many filters/entry points are discoverable only by reading the source. A concise official guide (hooks overview, CPT/taxonomy examples) would make Bogo unbeatable for developers.Bottom line: for code-first teams, Bogo is fresh air compared to bulky suites: it does a few things, does them well, and stays out of your way.
Image
2025年1月14日
The language selector is too basic. There are some websites that describe how to customize the selector, but it’s quite complicated. Also, you have to repeat this customization after every template update, so it should be possible to change the look of the selector in Bogo’s configuration. It’s also quite difficult to position the selector in the navigation bar so that it doesn’t destroy the whole layout.
Image
2024年7月20日
The plugin lacks many options that competitors have: No option to enable/disable language flags. No ability to enable/disable language labels. There is no possibility to set the layout of language icons themselves. They only appear as a vertical list. This is inconvenient for menus. You can’t put them in a row. I had to rewrite the plugin code. There is no possibility to enable/disable detection of the user’s browser language, so that the pages would be displayed in the required language for the person.
46件のレビューをすべて表示

貢献者と開発者

Bogo はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Bogo” は18ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Bogo” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

3.9.1

  • WordPress 6.9 との互換性を確認。

3.9

  • 管理画面で使用される JavaScript を改修。
  • Plugin Check プラグイン (PCP) が報告した多数のエラーを修正。

3.8.2

  • WordPress 6.4 から 6.5 の環境下でブロックエディターの正常な動作を阻害するバグを修正。

3.8.1

  • 言語パック: 言語パックの削除を阻害するバグを修正。

3.8

  • 言語切り替え器: block.json ファイル中の apiVersion3 に更新。
  • bogo_http_accept_languages() が常に配列値を返すようにする。
  • 2個以上の先頭固定投稿を持つことを不可能にするバグを修正。