Prepare Turkish language file
I edited the Russian language file for the Turkish language. The config.php file content is below.
language file not installed. installation failed. what can I do. Where should I look? can you help me.
<?php
/**
* Copyright (c) UNA, Inc - https://unacms.com
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup Turkish Turkish language
* @ingroup UnaModules
*
* @{
*/
$aConfig = array(
/**
* Main Section.
*/
'type' => BX_DOL_MODULE_TYPE_LANGUAGE,
'name' => 'bx_tr',
'title' => 'turkish',
'note' => 'Language file',
'version' => '13.0.7',
'vendor' => 'Boonex',
'help_url' => 'http://feed.unacms.com/?section={module_name}',
'compatible_with' => array(
'13.0.0-RC2'
),
/**
* 'home_dir' and 'home_uri' - should be unique. Don't use spaces in 'home_uri' and the other special chars.
*/
'home_dir' => '/boonex/turk/',
'home_uri' => 'tr',
'db_prefix' => 'bx_tr_',
'class_prefix' => 'BxTr',
/**
* Category for language keys.
*/
'language_category' => 'BoonEx turkish',
/**
* Installation/Uninstallation Section.
* NOTE. The sequence of actions is critical. Don't change the order.
*/
'install' => array(
'execute_sql' => 1,
'update_languages' => 1,
'install_language' => 1,
'clear_db_cache' => 1
),
'uninstall' => array (
'update_languages' => 1,
'execute_sql' => 1,
'clear_db_cache' => 1
),
'enable' => array(
'execute_sql' => 1
),
'disable' => array(
'execute_sql' => 1
),
/**
* Dependencies Section
*/
'dependencies' => array(),
);
/** @} */
NO SETUP.
I SEE THE LANGUAGE FILE. BUT THE INSTALLATION FAILED.
-
-
·
LeonidS
- ·
Hello @MuhammeT !
Did you rename the app's folder from the "russian" to the "turkish" variant?
-
·
LeonidS
-
- · MuhammeT
-
·
In reply to LeonidS
- ·
yes. turkish name folder
-
As we reviewed recently together - you made all the necessary actions and now your Turkish app is visible under the Apps Market->Downloaded section. Now you may try to press the "Install" button there.