Development/Contributing/Languages

Creating your translation

A new translation file

If you intend to create a translation for a language:

  • Start with a copy of en.php from SVN Head and rename it to the two letter ISO 639-1 country code - e.g. ru.php for Russian, fr.php for french, es.php for Spanish.
  • Open your new file in a text editor.
  • Rename $english at the top of the file to $language - where language is russian, french or spanish etc...
  • At the bottom of the file modify the add_translation statement as necessary (change "en" to your country code, and $english to your new array)
  • Be careful when saving it that it is UTF-8 without a BOM
  • Complete your translation and upload it to the community site

Submitting Language file

Language files can be uploaded to the Elgg Community site. Create an account there and then go to the plugin page to upload your language file.

Search docs