Forums

Warnings in Languages

joachimliedtke 06 May, 2019
1 Likes
Building a new language file works, but I am not able to update the file. Every time I try to update the file, there are errors shown in Joomla Debug. Line 95 reads always = "", even when I delete the line in the editor and update again.
Warning:  syntax error, unexpected '=' in 
/administrator/components/com_chronoforms6/chronoforms/locales/de_DE.ini
on line 95
in /libraries/cegcore2/libs/lang.php on line 87
Warning:  array_merge(): Argument #2 is not an array in /libraries/cegcore2/libs/lang.php on line 88Warning:  array_merge(): Argument #1 is not an array in /libraries/cegcore2/libs/lang.php on line 92
Max_admin 06 May, 2019
Could you please post your translation file contents or the first 100 lines ?

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
joachimliedtke 06 May, 2019
As soon as I update the existing file the original English translation will be displayed. I highlight the line 95 below.
BLOCK_UPDATED_SUCCESSFULLY = "Block updated successfully."
OWNER = "Owner"
INVALID_BLOCK_BACKUP_FILE_EXTENSION = "Invalid block backup file extension."
BLOCKS_RESTORED_SUCCESSFULLY = "Blocks restored successfully."
VIEWING_S_FORMS_S_THROUGH_S_OF_S_TOTAL = "Viewing %s forms, %s through %s of %s total"
FORM_SAVED_SUCCESSFULLY = "Form saved successfully."
INVALID_BACKUP_FILE_EXTENSION = "Invalid backup file extension."
FORMS_RESTORED_SUCCESSFULLY = "Forms restored successfully."
PLEASE_SELECT_A_FORM = "Please select a form."
BLOCK_SAVED_SUCCESSFULLY = "Block saved successfully."
ERROR_SAVING_BLOCK = "Error saving block."
ERROR_FORM_DOES_NOT_EXIST = "Error, form does not exist."
ERROR_FORM_DOES_NOT_EXIST_OR_IS_NOT_PUBLISHED = "Error, form does not exist or is not published."
ERROR_FORM_IS_NOT_AVAILABLE_FOR_FRONTEND_USERS = "Error, form is not available for frontend users."
YOU_DO_NOT_HAVE_ENOUGH_PERMISSIONS_TO_ACCESS_THIS_RESOURCE = "You do not have enough permissions to access this resource."
BLOCK_TITLE_IS_REQUIRED = "Block title is required."
FORM_TITLE_IS_REQUIRED = "Form title is required."
FORMS = "Forms"
BLOCKS = "Blocks"
INSTALL_FEATURE = "Install feature"
SHORTCODES = "Shortcodes"
NEW_BLOCK = "New block"
SAVE_CLOSE = "Save & close"
SAVE = "Save"
CLOSE = "Close"
BACKUP = "Backup"
GENERAL = "General"
BASIC_SETTINGS = "Basic settings"
EDITOR = "Editor"
BLOCK_EDITOR = "Block editor"
TITLE = "Title"
THE_BLOCK_TITLE_AS_GOING_TO_APPEAR_IN_THE_WIZARD_DESIGNER = "The block title as going to appear in the wizard designer."
BLOCK_UNIQUE_ID = "Block unique id"
A_UNIQUE_ID_FOR_THIS_BLOCK_IT_CAN_BE_USED_TO_CALL_THE_BLOCK_USING_A_SHORTCODE_WITH_OPTIONAL_ITEM_NAME_BLOCK_BLOCK_IDVIEW_NAME = "A unique id for this block, it can be used to call the block using a shortcode with optional item name {block:block_id[.view_name]}."
GROUP = "Group"
THE_GROUP_TO_WHICH_THE_BLOCK_BELONGS_IN_THE_WIZARD_CAN_BE_LEFT_EMPTY = "The group to which the block belongs in the wizard, can be left empty."
PUBLISHED = "Published"
ENABLE_OR_DISABLE_THIS_BLOCK = "Enable or disable this block."
DESCRIPTION = "Description"
BLOCK_DESCRIPTION_SHOWN_IN_WIZARD_TOOLTIPS = "Block description shown in wizard tooltips."
CORE = "Core"
BLOCKS_MANAGER = "Blocks manager"
NEW = "New"
VIEWS_BLOCK = "Views block"
FUNCTIONS_BLOCK = "Functions block"
PLEASE_MAKE_A_SELECTION = "Please make a selection."
DELETE = "Delete"
COPY = "Copy"
RESTORE = "Restore"
FIND_BLOCKS = "Find blocks..."
ID = "ID"
BLOCK_ID = "Block ID"
TYPE = "Type"
ENABLED = "Enabled"
RESTORE_A_BLOCKS_BACKUP_FILE = "Restore a blocks backup file"
FILE = "File"
UPLOAD_RESTORE = "Upload & Restore"
MORE = "More"
EDIT = "Edit"
SORT = "Sort"
REMOVE = "Remove"
NAME = "Name"
SELECT_A_DEMO_FORM = "Select a demo form"
NEW_FORM = "New form"
QUICK_SAVE = "Quick Save"
THE_NUMBER_OF_CONFIG_INPUTS_IN_YOUR_FORM_THIS_SHOULD_NOT_EXCEED_THE_MAX_VARS_NUMBER_ABOVE_WHICH_IS_YOUR_SERVER_UPPER_LIMIT = "The number of config inputs in your form, this should NOT exceed the max vars number above, which is your server upper limit."
PREVIEW = "Preview"
SETTINGS = "Settings"
FORM_SETTINGS = "Form settings"
DESIGN = "Design"
FORM_VIEWS = "Form Views"
SETUP = "Setup"
FORM_ACTIONS = "Form Actions"
TRANSLATE = "Translate"
LOCALES_STRINGS = "Locales strings"
ACCESS_CONTROL = "Access control"
FORM_PERMISSIONS = "Form permissions"
ALIAS = "Alias"
USE_THIS_ALIAS_TO_CALL_YOUR_FORM_IN_URLS_OR_SHORTCODES = "Use this alias to call your form in URLs or shortcodes."
DESIGNER_MODE = "Designer mode"
V6_CLASSIC_MODE = "v6 classic mode"
EASY_MODE = "Easy mode"
NEW_V61_MODE = "New v6.1 mode"
FORM_MUST_BE_SAVED_FOR_THIS_CHANGE_TO_TAKE_EFFECT = "Form must be saved for this change to take effect"
ENABLE_OR_DISABLE_THIS_FORM = "Enable or disable this form."
PUBLIC = "Public"
ENABLE_FRONTEND_VIEW_OF_THIS_FORM = "Enable frontend view of this form."
DISABLE_FORM_PERMISSIONS = "Disable Form permissions"
DISABLES_THE_PERMISSIONS_CONROL_FOR_THIS_FORM = "Disables the permissions conrol for this form."
DEFAULT_EVENT = "Default event"
THE_FORM_EVENT_TO_BE_LOADED_WHEN_NO_EVENT_PARAMETER_IS_PASSED_IN_THE_URL = "The form event to be loaded when no event parameter is passed in the url."
EVENT_NOT_FOUND = "Event not found"
OUTPUT_DISPLAYED_WHEN_THE_CALLED_FORM_EVENT_DOES_NOT_EXIST = "Output displayed when the called form event does not exist."
ADVANCED_SETTINGS = "Advanced settings"
= ""
APP_TYPE = "App Type"
CUSTOM = "Custom"
FORM = "Form"
SELECT_A_DEFAULT_TYPE_FOR_THIS_APP_TYPE_FORM_WILL_AUTO_INCLUDE_A_FORM_AREA = "Select a default type for this app, type form will auto include a form area"
APPLY_EVENTS_ORDER = "Apply events order"
Max_admin 06 May, 2019
That line should not be empty, please try to remove it when you update the file if it exists ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
joachimliedtke 06 May, 2019
Yes, when I update, the empty line comes up again.
Max_admin 06 May, 2019
I mean, update the strings you want, then before pressing on "update", make sure the empty line is removed, does that make it work or the file is still not updated ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
joachimliedtke 07 May, 2019
I update the string, the empty line is removed, I press the update button then the change is lost and the empty line appears again. As a workaround I am editing the language file locally and do not use the update button.
Max_admin 07 May, 2019
Answer
Ok, this issue has been fixed in the new update 6.1.2!

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.