Banner for Sublanguage
Sublanguage is a lightweight multilanguage plugin for wordpress. Wordpress Tutorial
Noted That:
  • To install correctly this sublanguage.zip .
  • Fisrt Download the sublanguage.zip to your computer
  • Extract/Open sublanguage.zip to Your Computer.
  • Then, Find readme.txt file inside sublanguage.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " sublanguage.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Sublanguage

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Sublanguage

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Sublanguage

Step-5 : Now, Browse " sublanguage.zip " Downloaded plugin from your computer, Where you downloaded " sublanguage.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Sublanguage

Step-6 : Now, Click on " Active Plugin "

Activate Sublanguage

Step-7 : Then, See left Side Menu. " Sublanguage " folder is added on left Side Menu. Now, Click on " Sublanguage " folder.

Noted that: If you do not see " Sublanguage " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Sublanguage Configurations and Settings or How to work " Sublanguage " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Sublanguage " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Sublanguage
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

Upload and activate the plugin

Add languages

  1. click the “Languages” tab
  2. click the “Add language” sub-tab
  3. choose a language in the list. If it is not in the list, you can just pick any one, then edit the language title, slug and locale code (xx_XX) later
  4. choose the language order (it will affect order in the language switch)
  5. click “Publish”. If you want to keep the language hidden on the front-end while you edit the translations, you can click “Save draft” instead

Add a language switch on the site (within a menu)

  1. click the “Appearance” tab
  2. click the “Menus” sub-tab.
  3. choose or create a menu
  4. click “Screen Options” (top right) and verify “Language” is checked
  5. open the “language” tab on the left, check the checkbox and click “Add to Menu”. Repeat it once for every language.
  6. if you want to organize the language items hierarchically, with the current language as root, you also need to go in the Sublanguage Settings and check “Current language first” checkbox.

Add a language switch in a widgets zone

  1. click the “Appearance” tab
  2. click the “Widgets” sub-tab
  3. Drag “Sublanguage” item in the zone you want

Add a language switch anywhere on the site (for developpers)

  1. Use this function: do_action('sublanguage_print_language_switch'); . You can customize HTML output through the filter “sublanguage_custom_switch” (read FAQ for more info).

Add translatable custom post types or custom taxonomies
Plugins or themes may add any number of extra post-type and extra taxonomies. If you can’t figure wether a post type or taxonomy need to be translatable, please ask in the forum.

  1. click the “Settings” tab
  2. click the “Sublanguage” sub-tab
  3. select every post type and every taxonomy you need. For better performance, only select translatable post types and taxonomies.
  4. click “Save Change”
  5. click “Option” link after a post type or taxonomy to access specific options

Translate menu items when your menu is using custom links or item names different from page titles

  1. click the “Settings” tab
  2. click the “Sublanguage” sub-tab
  3. select “Navigation Menu Items” in “Translate Post Type” section
  4. click “Save Change”
  5. click “Edit translations” after “Navigation Menu Items” in “Translate Post Type” section
  6. find the items you need to translate and click to edit

Name