• Pon - Pt 7.00 - 17.00 Sobota i niedziela nieczynne
  • 12 378 43 55 termobudsc@o2.pl
  • Follow Us

Przykładowa strona 2

Bogo is a straight-forward multilingual plugin for WordPress.

The core of WordPress itself has the built-in localization capability so you can use the dashboard and theme in one language other than English. Bogo expands this capability to let you easily build a multilingual blog on a single WordPress install.

Here are some technical details for those interested. Bogo plugin assigns one language per post. It plays nice with WordPress – Bogo does not create any additional custom table on your database, unlike some other plugins in this category. This design makes Bogo a solid, reliable and conflict-free multilingual plugin.

Getting Started with Bogo

  1. Install language files

    First, make sure you have installed language files for all languages used in your site. If you have a localized version of WordPress installed, you should already have these files for that language.

    If you don’t have language files yet, you can install them via Bogo’s admin page (Languages > Installed Languages).

  2. Select your language for admin screen (dashboard)

    Bogo allows each user to select a language for his/her own WordPress admin screen. Logged-in users can switch languages from the drop-down menu on the Admin Bar.

    If the Admin Bar is hidden, you can also switch language on your Profile page.

  3. Translate posts and pages

    You can translate posts and pages into the languages you have installed.

    WordPress saves the contents of each post or page as usual, but Bogo adds '_locale’ post_meta data. The '_locale’ holds the language code of the post.

  4. Add a language switcher to your site

    You will want to place a language switcher on your site that allows visitors to switch languages they see on the site. The easiest method is using the Language Switcher widget included in Bogo.

    Bogo also provides a shortcode „[bogo]” to allow you to place a language switcher inside a post or page content by simply inserting [bogo]. To embed a language switcher directly into your theme’s template file, use this shortcode as follows:

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

Wykonanie: mProjekt