Translation Instructions

Aegir CMS supports multiple languages and welcomes translations from the community. This guide will help you contribute translations for your language.

Current Translations

Aegir CMS is currently available in the following languages:

How to Contribute a Translation

Step 1: Get the Source Files

Download the latest translation template from CVS:

cvs -d :pserver:[email protected]:/var/lib/cvs login
cvs -d :pserver:[email protected]:/var/lib/cvs co nadmin/locale

Step 2: Create Your Language File

Translation files are located in the locale/ directory. Each language has its own subdirectory using the two-letter ISO 639-1 language code.

  1. Create a new directory for your language (e.g., locale/es/ for Spanish)
  2. Copy the English translation files as a starting point
  3. Edit the files to translate all strings into your language

Step 3: Translation File Format

Aegir CMS uses PHP arrays for translations. Here's an example format:

<?php
$GLOBALS['translation']['en'] = array(
    'Login' => 'Login',
    'Username' => 'Username',
    'Password' => 'Password',
    // ... more translations
);
?>

Step 4: Test Your Translation

  1. Copy your translation files to your Aegir CMS installation
  2. Change the language setting in your Aegir CMS preferences
  3. Verify that all strings appear correctly
  4. Check for any untranslated strings or formatting issues

Step 5: Submit Your Translation

Once your translation is complete and tested, submit it to the project:

Translation Guidelines

Maintaining Translations

As Aegir CMS develops, new strings are added and some are modified. Translation maintainers should:

Tools and Resources

Recognition

All translators are credited in the Aegir CMS documentation and release notes. Your contribution helps make Aegir CMS accessible to users worldwide!

Questions?

If you have questions about translating Aegir CMS, please contact the development team via: