Open panpodziemia opened 9 months ago
Hi there, could you please post lines 13 to 37 (the configuration-part of my script) ?
I fear that this is a bug that exists in "linux-oid" operation-systems, because I developed this in a windows environment and we are dealing with backward-slashes there instead of forward-slashes on linux/mac. So i guess you are trying to run this on linux or mac?
Will have to try and fix that, but I don't think I will find the time before January.
/*==============================================================================
START of configuration
BELOW you'll find some parameters you'll have to adjust,
in order to configure this script.
============================================================================/
// foldername of the plugin for which you want to generate/update translations
$my_plugin_folder = 'AddressBook'; // CASE-sensitive!
/* array of language-codes for which you want to offer translations
MUST be a vaild code as available in Kanboard/app/Model/LanguageModel.php
! SPECIAL CASE !
If you don't want to translate, but ONLY "prepare" language-files:
*/
$my_plugin_langs = array(
'pl_PL',
);
/* set to TRUE if you want to "prepare" translations for all other languages.
This will generate language-files with all statements commented out like:
// 'Your first term' => '',
// 'another term' => '',
Hi
Yes on linux all path is / not a \
i change \ to / and i have this message:
PHP Warning: Undefined array key "lang_keys" in /var/www/html/_KB_make_plugin_translations/KB_make_plugin_translations.php on line 137 Succesfully generated translation-files
line 137 is: if ($merge_keys['lang_keys']) {
Hi. I try to install Kanboard_MakePluginTranslationFiles but i have many times FOLDER NOT FOUND! Where im put this folder? My patch to Kanboard is: /var/www/html/ My patch for Kanboard plugins: /var/www/html/plugins/