How to change words, strings and translations in theme

Updated: October 2, 2017

All themes include some words which are fixed and written directly in theme files.
This tutorial shows you how you change these words without necessary change in files. It will significantly save your time related to theme and plugins update because you will not need edit files again after update.

All words from theme files located at one place

All words which come from theme and plugins are located in AIT Languages plugin. Translation PO files may be found in following folders, inside zip package named

  • Theme Admin – ./wp-content/plugins/ait-languages/ait/languages/ait-theme/admin-LanguageCode.po
    example: admin-en_US.po
  • Theme Frontend – ./wp-content/plugins/ait-languages/ait/languages/ait-theme/LanguageCode.po
    example: en_US.po
  • AIT-Languages plugin – ./wp-content/plugins/ait-languages/ait/languages/ait-languages/ait-languages-LanguageCode.po
    example: ait-languages-en_US.po
  • AIT-Shortcodes plugin – ./wp-content/plugins/ait-languages/ait/languages/ait-shortcodes/ait-shortcodes-LanguageCode.po
    example: ait-shortcodes-en_US.po
  • AIT-Toolkit plugin – ./wp-content/plugins/ait-languages/ait/languages/ait-toolkit/ait-toolkit-LanguageCode.po
    example: ait-toolkit-en_US.po
  • Revolution Slider plugin – ./wp-content/plugins/ait-languages/ait/languages/revslider/revslider-LanguageCode.po
    example: revslider-en_US.po
  • other AIT Plugins – ./wp-content/plugins/ait-languages/ait/languages/ait-Plugin-Code-Name/ait-Plugin-Code-Name-LanguageCode.po
    example: ait-paypal-payments-en_US.po

Themes and plugins include also default English translation files what will allow you change default English words too.

How to edit po translation files

To translate .po files we recommend poEdit translation tool. It’s free software which will allows you open .po file, change wanted words and save .mo file which is loaded by WordPress.

After installation, go to preferences of Poedit via menu File > Preferences and in Editor tab of options select “Automatically compile .mo file on save” to automatically create .mo file during saving .po file.

Turn on auto compilation of mo file

Let’s say you are not happy with text “Nothing Found” words which appear in empty search results page. Select Edit a translation because you are going to edit existing translation.


  1. so you are going to change default English words which appear on the frontend of website, therefore in poEdit tool open file ./wp-content/plugins/ait-languages/ait/languages/ait-theme/en_US.po
  2. poEdit display all words included in this file, you can search for text to change from menu Edit > Find
  3. click on wanted text and look into bottom of poEdit window, you will see displayed Source text section and also Translation section what is the place where you have to write your changed sentence or word
  4. after change click on save, .po file with change will be saved and also will be automatically resaved .mo file which is necessary for WordPress
  5. your website now display another words or sentences instead of default text in file, without any necessary modification of text inside theme/plugin codes

Edit Translation


If you are going to edit po file and change translations over FTP, download po file to your computer and edit file locally, because generated mo file is not uploaded to your server automatically with saved po file!

Author: Ivan Hudak

Support Manager
all themes, citadela layouts, plugins and graphics,
One time fee
Purchase Agency Lifetime Membership
Pre-sale Questions