Implementing another language before installation on ImpressPages 4.2.7 -
i tried implement default turkish language before installation on version 4.2.7:
/install/plugin/install/sql/data.sql
insert `ip_language` (`abbreviation`, `title`, `languageorder`, `isvisible`, `url`, `code`) values ('tr', 'türkçe', 1, 1, '', 'tr');
after installation next error:
fatal error: class '\ip\internal\translations\translator' not found in /home/***/public_html/test/ip/servicelocator.php on line 257
it working same method on version 4.2.5 doesnt work in version. changes on new version? missing?
i tried following:
insert `ip_language` (`abbreviation`, `title`, `languageorder`, `isvisible`, `url`, `code`) values ('en', 'english', 1, 1, '', 'en'), ('tr', 'türkçe', 1, 2, 'tr', 'tr');
installation success when move turkish language first, getting same error.
by way, these method works perfect on localhost doest work in live server.
the issue not impresspages. it's php bug setlocale() function:
https://bugs.php.net/bug.php?id=18556
fixed issue::https://github.com/impresspages/impresspages/issues/610
impresspages
No comments:
Post a Comment