How do language files work within PremiumPress themes?
All of the PremiumPress themes come with a single language file which contains all of the website (front end) text, this file is provided in english with the filename: language_english.php.
The idea of this setup is to allow you to customize and create your own language files for your theme by simply changing the wordpress in one file rather than searching through all of the files for the text you want.
Creating your own language file
It is recommended to create a new language file if you are going to edit your website text. Todo this simply duplicate the existing language file (language_english.php) and rename it to your own with this syntax:
So for example, if i was going to create a french language file, i would copy the english one, rename it to language_french.php and save it.
Editing the language file
The language files are simply a big array of text values, they look like this;
"_home" => "Home", "_username" => "username", "_password" => "password",
All you do is simple change the text value in the second column so your might look like this;
"_home" => "Home Page Edit", "_username" => "My Username Edit", "_password" =>" My Password Edit",
Activating your new language file
Once you have renamed and created your new language file you need to upload it into your theme folder;
** = is the theme name your using so for example directorypress would be;
If you have uploaded it correctly, when you login to the admin area under General Setup -> languages you should be able to see your language in the drop down menu.
Admin Area Translations
The admin area cannot be translated at this time.