I’m creating an installable package. In my manifest.php file I have the following:
...
'language' =>
0 =>
array (
'from' => '<basepath>/SugarModules/language/application/en_us.lang.php',
'to_module' => 'application',
'language' => 'en_us',
),
1 =>
array (
'from' => '<basepath>/SugarModules/language/application/de_de.lang.php',
'to_module' => 'application',
'language' => 'de_de',
),
),
...
Where for example /SugarModules/language/application/en_us.lang.php contains:
...
$app_list_strings['countrycodes']['AF'] = 'Afghanistan';
$app_list_strings['countrycodes']['AX'] = 'Åland Islands';
$app_list_strings['countrycodes']['AL'] = 'Albania';
$app_list_strings['countrycodes']['DZ'] = 'Algeria';
...
After installing the module the new list ‘countrycodes’ is not being created. copy array in manifest.php works fine, all files are being copied to the module folder. But for language array this does not work. Also there are no changes in /custom/application/Ext/Language/en_us.lang.ext.php, where I’d expect the new list to be copied to.
Is there a syntax error?
Greetings,
Sebastian