Enswitch has has two language specific components, the sound files played to callers, and the web interface. Some Enswitch systems will only need the sounds translated as all administrators can read and write English. Others will also need the web interface translated.

For both the sounds and web interface, it's possible for your translation and the default files to co-exist. Please do not overwrite the Enswitch files, otherwise future Enswitch upgrades may in turn overwrite your files.

To translate the sounds

  1. Copy the /opt/enswitch/current/sounds/en/sounds.txt file from an Enswitch machine.
  2. Translate this file to your language.
  3. Review which Asterisk sound files also need to be translated. For a default Enswitch system, these are vm-*, conf-*, and digits/*. Add these to the list.
  4. Have recordings made. These should be in 1 channel 8KHz .gsm format. You may care to keep .wav masters for future reference. When making recordings, preserve the directory structure. For example, put the "currencies/dollar.gsm" file in a subdirectory called "currencies". Put the Asterisk files in a subdirectory called "asterisk". For example, "asterisk/digits/1.gsm".
  5. Make a directory /etc/enswitch/sounds/<your language> where <your language> is your language code, for example fr_FR for French.
  6. Upload the recorded files to this directory, preserving subdirectories.
  7. Inform your Enswitch vendor, who will enable this new language.

To translate the web interface

  1. Copy *.tmpl from /opt/enswitch/current/templates/en and its subdirectories from an Enswitch machine.
  2. Translate these files.
  3. Make a directory /etc/enswitch/templates/<your language> where <your language> is your language code, for example fr_FR for French.
  4. Upload the translated templates to this directory, preserving subdirectories.
  5. Copy /opt/enswitch/current/languages/en.conf from an Enswitch machine.
  6. Rename the file to your language, for example fr_FR.conf for French.
  7. Translate the text after the = on each line. Do not translate the part before the =.
  8. Upload the translated file to /etc/enswitch/languages.
  9. Inform your Enswitch vendor, who will enable the new language.