Languages in Pulse admin
Pulse CMS comes with English, Japanese and German language files by default and adding more is easy to do. Inside the 'admin/inc/lang' folder is where the english.php, japanese.php and deutsch.php files reside.
Below is a small sample of what a language file looks like:
//Global $lang_cancel = "Cancel"; $lang_help = "Help"; $lang_save = "Save"; $lang_rename_btn = "Rename"; // Login $lang_login_incorrect = "Your Password is Incorrect!"; $lang_login_password = "Password"; $lang_login_button = "Login"; $lang_nav_logout = "Logout"; ...
To create a new language file, just use the english.php as a template, rename it to your language and edit the english strings into your language.
Once the file is completed, go to config.php and change this setting:
$language = 'english';
Download more language files, or contribute
There are currently 21 languages available from the community so you don't need to start from scratch, and more being improved and added all the time.
Download the language files below from the GitHub repos. Or add your amends to improve the current translations.
Create a new language file in "admin/inc/lang" with the target language file name and the PHP extension (e.g. french.php) and copy and paste the contents from the below links into that file and save. Don't forget to set the language in the config.php file!
Find on GitHub
This means you can also refine the current language commands to improve things for your particular client also.
If you wish to contribute by adding a new translation or amend any of those below, please contribute via the GitHub repos or contact us at: firstname.lastname@example.org.
Multilingual sites in Pulse
Also it should be noted clients can use any language in the content-editing frontend of the site, as well as having the backend appear in any language also.
If you are wanting to display more than one language on the front end site (for multilingual websites, with a language selector dropdown for example), we recommend the Localiser Plugin to help with this.