Renaming Relationship Label

Looking at the patch uploaded in other posts i can see the only difference between the patch and the SuiteCRM “LanguageManager.php” file is this line:

Function: “refreshLanguage”

Original Array:

$lang_paths = array(
‘modules/’.$module.’/language/’.$lang.’.lang.php’,
‘modules/’.$module.’/language/’.$lang.’.lang.override.php’,
‘custom/modules/’.$module.’/language/’.$lang.’.lang.php’,
‘custom/modules/’.$module.’/Ext/Language/’.$lang.’.lang.ext.php’,

			 );

It should be like this:

$lang_paths = array(
‘modules/’.$module.’/language/’.$lang.’.lang.php’,
‘modules/’.$module.’/language/’.$lang.’.lang.override.php’,
‘custom/modules/’.$module.’/Ext/Language/’.$lang.’.lang.ext.php’,
‘custom/modules/’.$module.’/language/’.$lang.’.lang.php’,

			 );

The order of the last two lines is reversed. Unfortunately this change is not upgrade safe.

This fixed the issue of the topic for me (Using the latest 7.9 verision of SuiteCRM)

5 Likes