Skip to content

Change the language

This document area is for theme designer/theme developer.
Before you start the step below, you need to know PHP, CSS, HTML and any markups/languages you have to use.

The Bootstrap Basic theme comes with default language .po that is ready for translate. Following these step to change and translate language.

Change the language

  • Open wp-config.php in the web root where WordPress was installed.
  • Find define('WPLANG', ''); and add your language code in it. Example: Thai language just add th. define('WPLANG', 'th');
  • Save the file and upload to the server.

Translate theme language

  • Open folder: languages/
  • Copy default.mo and default.po to your language file. Example th.mo and th.po for Thai language.
  • Open th.po with Po editor and start translation.
  • When you are done, save the file and upload to the server.