ISO Language Code for the Language you want to insert. (Example: en)', 'qtranslate').'
'.__('The language code is used in language tags and in URLs. It is case sensitive. Use of lower case for the language code is preferable, but not required. The code may be arbitrary chosen by site owner, although it is preferable to use already commonly accepted code if available. Once a language code is created and entries for this language are made, it is difficult to change it, please make a careful decision.', 'qtranslate') ?>

0){ ?>



strftime (use %q for day suffix (st,nd,rd,th)) or date format. This field is optional. (Example: %A %B %e%q, %Y)', 'qtranslate') ?>

strftime or date format. This field is optional. (Example: %I:%M %p)', 'qtranslate') ?>


CLDR', 'Sorry, this entry is only available in "%LANG:", ":" and "%".', '.po', '/lang/language-names/', '', '', '.po'); ?>

'.PHP_EOL; } function qtranxf_admin_section_end($nm, $button_name=null, $button_class='button-primary') { if(!$button_name) $button_name = __('Save Changes', 'qtranslate'); echo '

'; echo ''.PHP_EOL; //''; } /** * Set Admin Sections Names */ function qtranxf_get_admin_sections() { //$q_config['admin_sections'] = array(); //$admin_sections = &$q_config['admin_sections']; $admin_sections = array(); $admin_sections['general'] = __('General', 'qtranslate');//General Settings $admin_sections['advanced'] = __('Advanced', 'qtranslate');//Advanced Settings $custom_sections = apply_filters('qtranslate_admin_sections', array()); foreach($custom_sections as $k => $v) $admin_sections[$k] = $v; $admin_sections['integration'] = __('Integration', 'qtranslate');//Custom Integration $admin_sections['import'] = __('Import', 'qtranslate').'/'.__('Export', 'qtranslate'); $admin_sections['languages'] = __('Languages', 'qtranslate');//always last section return $admin_sections; } function qtranxf_conf() { global $q_config, $qtranslate_options, $wpdb; //qtranxf_dbg_log('qtranxf_conf: REQUEST_TIME_FLOAT: ', $_SERVER['REQUEST_TIME_FLOAT']); //qtranxf_dbg_log('qtranxf_conf: POST: ',$_POST); //qtranxf_dbg_log('qtranxf_conf: GET: ',$_GET); // do redirection for dashboard if(isset($_GET['godashboard'])) { echo '

'.__('Switching Language', 'qtranslate').'

'.sprintf(__('Switching language to %1$s... If the Dashboard isn\'t loading, use this link.','qtranslate'),$q_config['language_name'][qtranxf_getLanguage()],admin_url()).''; exit(); } // don't accidentally delete/enable/disable twice //$clean_uri = preg_replace("/&(delete|enable|disable|convert|markdefault|moveup|movedown)=[^&#]*/i","",$_SERVER['REQUEST_URI']); $clean_uri = $q_config['url_info']['qtranslate-settings-url']; $clean_uri = apply_filters('qtranslate_clean_uri', $clean_uri); $pluginurl = plugin_dir_url( QTRANSLATE_FILE ); $nonce_action = 'qtranslate-x_configuration_form'; if ( ! qtranxf_verify_nonce( $nonce_action ) ) return; // Allow to prepare loading additional features do_action('qtranslate_configuration_pre', $clean_uri); // Generate XHTML ?>

qTranslate FAQ and the Support Forum.', 'qtranslate') , 'https://qtranslatexteam.wordpress.com/faq/' //, 'https://wordpress.org/plugins/qtranslate-x/faq/' , 'http://qtranslate-x.com/support/' //, 'https://wordpress.org/support/plugin/qtranslate-x' ); echo '
'; printf(__('Plugin development is supported through your %sdonations to the development team%s.','qtranslate'),'', '') ?>

', ''); ?>

'.PHP_EOL; foreach( $admin_sections as $slug => $name ){ echo ''.$name.''.PHP_EOL; } echo ''.PHP_EOL; ?>
?> '.PHP_EOL; } } ?>

$language ) { echo ''; echo ''; echo ''; echo ''.PHP_EOL; } ?>
[:'.$language.']' . __('Edit', 'qtranslate') . '' . __('Disable', 'qtranslate') . '


'.PHP_EOL; printf(__('No other URL Modification Modes are available if permalink structure is set to "Default" on configuration page %sPermalink Setting%s. It is SEO advantageous to use some other permalink mode, which will enable more URL Modification Modes here as well.', 'qtranslate'),'', ''); echo PHP_EOL.'

'.PHP_EOL; }else{ */ ?>



} */ ?>

'.__('Domain for', 'qtranslate').' '.$q_config['language_name'][$lang].' ('.$lang.'):






*/ ?>

/> 


','') ?>









*/ ?>





 
 


 








'.qtranxf_translate_wp('Admin Color Scheme').'"') ?>

Support Forum. Posting the following Content will help other detect any misconfigurations.', 'qtranslate'), 'https://wordpress.org/support/plugin/qtranslate-x') ?>

', '', 'qTranslate‑X'); echo ' '; printf(__('Read %sIntegration Guide%s for more information on how to customize the configuration of %s.', 'qtranslate'), '', '', 'qTranslate‑X'); ?>


'.__('Configuration Inspector', 'qtranslate').'', __('Custom Configuration', 'qtranslate')); echo ' '; printf(__('Please, read %sIntegration Guide%s for more information.', 'qtranslate'), '', ''); echo ' '.__('To reset to default, clear the text.', 'qtranslate') ?>


', ''); echo ' '; printf(__('Use "%s" to review the resulting combined configuration from all "%s" and this option.', 'qtranslate'), ''.__('Configuration Inspector', 'qtranslate').'', __('Configuration Files', 'qtranslate')); ?>

'),'[:]','\'<\'','\'[\'','','') ?>

id

class

','') ?>

','') ?>

','') ?>


qTranslate') ?>

?>
'language')); $this->_language_names = $language_names; $this->_clean_uri = $clean_uri; } public function get_columns() { return array( 'code' => _x('Code', 'Two-letter Language Code meant.', 'qtranslate'), 'flag' => __('Flag', 'qtranslate'), 'name' => __('Name', 'qtranslate'), 'action' => __('Action', 'qtranslate'), 'edit' => __('Edit', 'qtranslate'), 'stored' => __('Stored', 'qtranslate') ); } /* public function get_sortable_columns() { return array( 'code' => array('code',false), 'name' => array('name',true) //true means it's already sorted ); }*/ protected function column_default( $item, $column_name ) { return $item[$column_name]; } protected function get_default_primary_column_name() { return 'name'; } protected function display_tablenav($which){} protected function get_table_classes() { return array( 'widefat', 'qtranxs-language-list' ); } public function prepare_items() { global $q_config; $flags = qtranxf_language_configured('flag'); $languages_stored = get_option('qtranslate_language_names',array()); $languages_predef = qtranxf_default_language_name(); $flag_location_url = qtranxf_flag_location(); $flag_location_dir = trailingslashit(WP_CONTENT_DIR).$q_config['flag_location']; $flag_location_url_def = content_url(qtranxf_flag_location_default()); //trailingslashit(content_url()).'/plugins/'.basename(dirname(QTRANSLATE_FILE)).'/flags/'; $clean_uri = $this->_clean_uri; $data = array(); foreach($this->_language_names as $lang => $language){ if($lang=='code') continue; $flag = $flags[$lang]; if(file_exists($flag_location_dir.$flag)){ $flag_url = $flag_location_url.$flag; }else{ $flag_url = $flag_location_url_def.$flag; } $data[] = array( 'code' => $lang, 'flag' => ''.sprintf(__('%s Flag', 'qtranslate'), $language).'', 'name' => $language, 'action' => in_array($lang,$q_config['enabled_languages']) ? ($q_config['default_language']==$lang ? __('Default', 'qtranslate') : ''.__('Disable', 'qtranslate').'') : ''.__('Enable', 'qtranslate').'', 'edit' => ''.__('Edit', 'qtranslate').'', 'stored' => !isset($languages_stored[$lang]) ? __('Pre-Defined', 'qtranslate') : ''.(isset($languages_predef[$lang]) ? __('Reset', 'qtranslate') : __('Delete', 'qtranslate')). '' ); } $this->items = $data; } } ?>

prepare_items(); $tbl->display(); /* ?> print_column_headers(true) ?> $language){ if($lang=='code') continue; $flag = $flags[$lang]; if(file_exists($flag_location_dir.$flag)){ $flag_url = $flag_location_url.$flag; }else{ $flag_url = $flag_location_url_def.$flag; } ?> print_column_headers(false) ?>
<?php echo sprintf(__('%s Flag', 'qtranslate'), $language) ?>