How to translate your website or edit all default messages
Brilliant is a multilingual theme! You can translate it into German, French, Italian, Portuguese, Polish, Russian, Spanish and Turkish from our base, or set any other language.
This procedure will take few minutes. First thing you should do is go to the root directory on your server and find there your WP files. You have to to edit the wp-config.php file by typing the language code to the line
define(‘WPLANG’, ”);
to make it look like this:
define(‘WPLANG’, ‘lg_LG’);
In this line lg_LG is a sample code of any language you’d like to set.
Here is a list of language codes we have for you:
de_DE means to translate your site into German
fr_FR means to translate into French
it_IT means Italian
pt_PT means to translate into Portuguese
pl_PL means Polish
es_ES means to translate your site into Spanish
ru_RU means to translate into Russian
tr_TR means to translate into Turkish
Note: You will find all the language files by following to wp-content/themes/brilliant/themes/languages.
If you’ve noticed any incongruity in our translations, please feel free to tell us about it at our Support forum.
We highly appreciate your help.
We also will be grateful if you’ll provide us with correct translations. Your author rights for given translation files will be saved, of course.
If there is no language needed in our base, you can download your own language files and edit wp-config.
To create your own language file or make changes in translation you should install Poedit:
To change the texts of translations or customize some texts in your site’s messages, open .po file in Poedit. You’ll get the list of messages and common phrases. Select a text you’d like to edit and enter changes in a lower field. Before closing don’t forget to save changes.
To create your own language file, please, copy the en_EN.po (or any of those .po files we have in “languages” folder) file from folder, run Poedit and go to File/New catalog from POT file.
Find the file en_EN.po uploaded recently and set it as your .po translation template. You’ll get the following list:
You must enter new text to the field in the bottom of the window – it will be saved for each item automatically. Edit all the messages you need and save changes to the file before closing. The program will create two files with similar names: .po and .mo.
Copy these two files to your server: wp-sontent/themes/brilliant/theme/languages. Add the new file’s name to your wp-config.php file inside of empty quotes in the line
define(‘WPLANG’, ”);
Note: Don’t enter a file type to the line. For examble, define(‘WPLANG’, ‘lg_LG.po’) is incorrect!


