Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Variables
en.php File Reference

Go to the source code of this file.

Variables

 return ['string:here'=> 'Display string here',]
 The core language file is in /languages/en.php and each plugin has its language files in a languages directory. More...
 

Variable Documentation

return['string:here'=> 'Display string here',]

The core language file is in /languages/en.php and each plugin has its language files in a languages directory.

To change a string, copy the mapping into this file.

For example, to change the blog Tools menu item from "Blog" to "Rantings", copy this pair: 'blog' => "Blog", into the $mapping array so that it looks like: 'blog' => "Rantings",

Follow this pattern for any other string you want to change. Make sure this plugin is lower in the plugin list than any plugin that it is modifying.

If you want to add languages other than English, name the file according to the language's ISO 639-1 code: http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

Definition at line 22 of file en.php.