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