0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
14.1-0
/
standard
/
htdocs
/
lib
/
prefs
/
[
Home
]
File: lang.php
<?php // (c) Copyright 2002-2015 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: lang.php 53803 2015-02-06 00:42:50Z jyhem $ function prefs_lang_list() { return array( 'lang_use_db' => array( 'name' => tra('Use database for translation'), 'description' => tra('Use the database to store the translated strings and allow using interactive translation'), 'type' => 'flag', 'help' => 'Translating+Tiki+interface', 'default' => 'n', 'hint' => tr('[%0|Edit or export/import Languages]', 'tiki-edit_languages.php'), ), 'lang_machine_translate_implementation' => array( 'name' => tr('Machine translation implementation'), 'description' => tr('Select between alternate impementations for machine translation. Depending on the implementation, different API keys may be required.'), 'type' => 'list', 'options' => array( 'google' => tr('Google Translate'), 'bing' => tr('Bing Translate'), ), 'default' => '', ), 'lang_machine_translate_wiki' => array( 'name' => tr('Enable machine translation on wiki pages'), 'description' => tr('Makes additional languages available to the list of languages on the page.'), 'type' => 'flag', 'default' => 'n', ), 'lang_google_api_key' => array( 'name' => tr('Google Translate API Key'), 'description' => tr('The key must be generated from the google console. Choose to create a server key.'), 'type' => 'text', 'default' => '', ), 'lang_bing_api_client_id' => array( 'name' => tr('Bing Translate Client ID'), 'description' => tr('Application must be registered.'), 'type' => 'text', 'default' => '', ), 'lang_bing_api_client_secret' => array( 'name' => tr('Bing Translate Client Secret'), 'description' => tr('Application must be registered.'), 'type' => 'text', 'default' => '', ), ); }