Warning: Undefined variable $group_modifiers in /media/cpollett/extradrive1/yioop/src/controllers/GroupController.php on line 192
Yioop - PHP Search Engine
2022-01-15

User Icon

Adding New locale error WARNING:.

Hi chris, tried to Add a new locale from admin, the xy folder got created automatically in work_directory/app/locale then wentback to folder in work_directory/app/locale/xy/config.ini edited usinf Notepad++ and added translations. Now after logging into frontend of site admin and went to Manage_locale page,xy locale row shows as NAN not 100, when clicked on 'xy' link everything shows in red color (empty) in the second column and with errors below:
WARNING: syntax error, unexpected '(' in localhost/src/locale/xy/configure.ini on line 768
 at line 118 in localhost/src/library/Utility.php
  in parse_ini_file, line 118 in localhost/src/library/Utility.php 
  called from seekquarry\yioop\library\parse_ini_with_fallback, line 682 in localhost/src/models/LocaleModel.php 
  called from seekquarry\yioop\models\LocaleModel->updateLocale, line 642 in localhost/src/models/LocaleModel.php 
  called from seekquarry\yioop\models\LocaleModel->updateLocales, line 612 in localhost/src/models/LocaleModel.php 
  called from seekquarry\yioop\models\LocaleModel->extractMergeLocales, line 515 in localhost/src/controllers/components/SystemComponent.php 
... so in order to add a new locale what all things to be edited to make it work 100%, This can be added in documentation. See if this can help in anyway to yioop locale, https://github.com/umpirsky/locale-list
(Edited: 2022-01-15)
Hi chris, tried to Add a new locale from admin, the <u>xy</u> folder got created automatically in work_directory/app/locale then wentback to folder in work_directory/app/locale/xy/config.ini edited usinf Notepad++ and added translations. Now after logging into frontend of site admin and went to Manage_locale page,<u>xy</u> locale row shows as NAN not 100, when clicked on '<u>xy</u>' link everything shows in red color (empty) in the second column and with errors below: WARNING: syntax error, unexpected '(' in localhost/src/locale/xy/configure.ini on line 768 at line 118 in localhost/src/library/Utility.php in parse_ini_file, line 118 in localhost/src/library/Utility.php called from seekquarry\yioop\library\parse_ini_with_fallback, line 682 in localhost/src/models/LocaleModel.php called from seekquarry\yioop\models\LocaleModel->updateLocale, line 642 in localhost/src/models/LocaleModel.php called from seekquarry\yioop\models\LocaleModel->updateLocales, line 612 in localhost/src/models/LocaleModel.php called from seekquarry\yioop\models\LocaleModel->extractMergeLocales, line 515 in localhost/src/controllers/components/SystemComponent.php ... so in order to add a new locale what all things to be edited to make it work 100%, This can be added in documentation. See if this can help in anyway to yioop locale, https://github.com/umpirsky/locale-list
2022-01-24

-- Adding New locale error WARNING:
From this and your other posts it sounds like you have installation issues. In any case, although it is possible to edit the locale text files directly, it is much easier to use the GUI interface that could with Yioop to do this. The error above might occur if you directly edit the file and then file to close quotes correctly, etc.
Best,
Chris
From this and your other posts it sounds like you have installation issues. In any case, although it is possible to edit the locale text files directly, it is much easier to use the GUI interface that could with Yioop to do this. The error above might occur if you directly edit the file and then file to close quotes correctly, etc. Best, Chris
2022-04-19

User Icon
-- Adding New locale error WARNING:
Yeah Chris right Iam directly editing the locale file in Notepad from htdocs/ not via gui. Is there any way to make the file work or additional files required to create instead of logging into admin GUI?
Yeah Chris right Iam directly editing the locale file in Notepad from htdocs/ not via gui. Is there any way to make the file work or additional files required to create instead of logging into admin GUI?
X