config_default.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?php
  2. /**
  3. * Default SquirrelMail translate plugin configuration
  4. *
  5. * @copyright &copy; 2004-2007 The SquirrelMail Project Team
  6. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  7. * @version $Id$
  8. * @package plugins
  9. * @subpackage translate
  10. */
  11. /**
  12. * Default translation engine
  13. * @global string $translate_default_engine
  14. */
  15. global $translate_default_engine;
  16. $translate_default_engine='babelfish';
  17. /**
  18. * Babelfish translation engine controls
  19. * @global boolean $translate_babelfish_enabled
  20. */
  21. global $translate_babelfish_enabled;
  22. $translate_babelfish_enabled=true;
  23. /**
  24. * Go.com translation engine controls
  25. *
  26. * Translation is no longer available
  27. * @global boolean $translate_go_enabled
  28. */
  29. global $translate_go_enabled;
  30. $translate_go_enabled=false;
  31. /**
  32. * Dictionary.com translation engine controls
  33. * @global boolean $translate_dictionary_enabled
  34. */
  35. global $translate_dictionary_enabled;
  36. $translate_dictionary_enabled=true;
  37. /**
  38. * Google translation engine controls
  39. * @global boolean $translate_google_enabled
  40. */
  41. global $translate_google_enabled;
  42. $translate_google_enabled=true;
  43. /**
  44. * Intertran translation engine controls
  45. * @global boolean $translate_intertran_enabled
  46. */
  47. global $translate_intertran_enabled;
  48. $translate_intertran_enabled=true;
  49. /**
  50. * Promt translation engine controls
  51. * @global boolean $translate_promt_enabled
  52. */
  53. global $translate_promt_enabled;
  54. $translate_promt_enabled=true;
  55. /**
  56. * Otenet translation engine controls
  57. * @global boolean $translate_otenet_enabled
  58. */
  59. global $translate_otenet_enabled;
  60. $translate_otenet_enabled=true;
  61. /**
  62. * Gpltrans translation engine controls
  63. * @global boolean $translate_gpltrans_enabled
  64. */
  65. global $translate_gpltrans_enabled;
  66. $translate_gpltrans_enabled=true;
  67. /**
  68. * Sets URL to custom GPLTrans server CGI.
  69. *
  70. * Original URL (http://www.translator.cx/cgi-bin/gplTrans)
  71. * is no longer valid. If string is empty, GPLTrans is disabled
  72. * regardless of $translate_gpltrans_enabled setting.
  73. * @global string $translate_gpltrans_url
  74. */
  75. global $translate_gpltrans_url;
  76. $translate_gpltrans_url='';
  77. /**
  78. * Translation in compose controls
  79. *
  80. * Currently unimplemened and disabled
  81. * @global boolean $disable_compose_translate
  82. */
  83. global $disable_compose_translate;
  84. $disable_compose_translate=true;
  85. /** Custom translation engine setup */
  86. /**
  87. * Controls inclusion of custom translation engine.
  88. *
  89. * If you enable custom translation engines, you must include
  90. * translate_form_custom(), translate_custom_showtrad() and
  91. * $translate_custom_showoption() functions in your config.
  92. * @example plugins/translate/config_sample.php
  93. * @global bool $translate_custom_enabled
  94. */
  95. global $translate_custom_enabled;
  96. $translate_custom_enabled=false;