Contributor's Guide :: How to add a new translation to the IDE

From Delphi for PHP Documentation Wiki

Jump to: navigation, search

The file that contains available translations is located at <installdir>\localization\localization.sib

This file can be edited using SIL Editor, part of the TSILang(TM) Components Suite and available for download from http://www.tsilang.com/download.html

The process is the following:

  • Open localization.sib
  • Add your language using Tools | Add Language, you will be prompted for the name of the language you want to add
  • After that, iterate through the several forms you see on your left, open each one and select the category of the strings to translate
  • Now just translate the strings into your language

[edit] Notes

  • Don't translate strings for which the Spanish translation doesn't exist, this can lead to errors in the IDE
  • If you find strings that contain %s or %d, these will be replaced by a dynamic value in the IDE, so preserve them
  • Try to use the same translation for the same words to prevent any errors in the IDE
Personal tools