+ Reply to Thread
Results 1 to 2 of 2

Thread: I can not import Turkish language file.

  1. #1

    I can not import Turkish language file.

    I can not import to Turkish language sql file.

    The error report is below


    Error: Failed to run the SQL query.You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ltr', 'tr')' at line 1
    Error: Failed to run the SQL query.Table 'fidanlig_i.{prefix}lang_keys' doesn't exist
    Error: Failed to run the SQL query.Table 'fidanlig_i.{prefix}lang_keys' doesn't exist
    Error: Failed to run the SQL query.Table 'fidanlig_i.{prefix}lang_keys' doesn't exist
    Error: Failed to run the SQL query.Table 'fidanlig_i.{prefix}lang_keys' doesn't exist
    The MySQL dump has corrupt queries; importing the new language has failed.

    Flynax version 4.5.2
    PHP Version 7.0.18
    Client API library version mysqlnd 5.0.12-dev - 20150407

  2. #2
    I found.
    replace:
    INSERT INTO `{prefix}languages` (`Code`, `Key`, `Status`, `Date_format`, `Direction`, `Locale`) VALUES
    ('tr', 'turkish', 'active', '%d.%m.%Y'', 'ltr', 'tr');
    to:
    INSERT INTO `{prefix}languages` (`Code`, `Key`, `Status`, `Date_format`, `Direction`, `Locale`) VALUES
    ('tr', 'turkish', 'active', '%d.%m.%Y', 'ltr', 'tr');



    error: %Y''
    true: %Y'

+ Reply to Thread