-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.php
More file actions
37 lines (26 loc) · 1.32 KB
/
config.php
File metadata and controls
37 lines (26 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* Transtable configuration.
* See documentation on: http://bojanmauser.from.hr/transtable/documentation/ for more details.
*/
// Absolute filesystem path to folder with translation files (you can organize files in subfolders)
// <TRANSTABLE_ROOT> will be replaced with full system path to Transtable directory.
$TTCFG['php_array_files']['translations_root'] = '<TRANSTABLE_ROOT>/translations'; // without / at the end
// Translation file name pattern. Transtable will search for files matching this pattern.
$TTCFG['php_array_files']['file_name_pattern'] = '..\.php';
// The name of the PHP array that holds translations
$TTCFG['php_array_files']['var_name'] = 't';
// Page title
$TTCFG['php_array_files']['page_title'] = 'Transtable';
// Enable editing indexes (first column)
$TTCFG['php_array_files']['enable_edit_index'] = 1;
// Delimiter in translation index for multi dimensional arrays
$TTCFG['php_array_files']['array_delimiter'] = '|';
// Enable deleting translations
$TTCFG['php_array_files']['enable_delete_translation'] = 1;
// Enable add a new translations
$TTCFG['php_array_files']['enable_add_translation'] = 1;
// Generated translation file newlines
$TTCFG['php_array_files']['new_lines'] = PHP_EOL;
// CSS files to include.
//$TTCFG['include_css'][] = 'css/mystyles.css';