[FIX SUGGESTED] SuiteCRM 7.1.1 Fixed text exchanged with labels

I’m working on a Danish translation of SuiteCRM 7.1.1 and during my tests I’ve noticed that on the Admin page the texts ‘Change settings for Advanced OpenPortal’ and ‘Change settings for Advanced OpenDiscovery’ are not coming up translated.
I have fixed it on my installation of SuiteCRM 7.1.1 and find that it aught to be done in the future versions of SuiteCRM.

Here is how to do it:

  1. In custom/Extension/modules/Administration/Ext/Administration/AOPAdmin.php:
    line 28: change ‘Change settings for Advanced OpenPortal’ to ‘LBL_AOP_CHANGE_SETTINGS’

  2. In custom/modules/Administration/Ext/Administration/administration.ext.php:
    line 90: change ‘Change settings for Advanced OpenDiscovery’ to ‘LBL_AOP_CHANGE_SETTINGS’

  3. In custom/Extension/modules/Administration/Ext/Language/en_us.AOPAdmin.php:
    Add to the end of the file: $mod_strings[‘LBL_AOP_CHANGE_SETTINGS’] = ‘Change settings for Advanced OpenPortal’;

  4. In custom/Extension/modules/Administration/Ext/Administration/AODAdmin.php:
    line 28: change ‘Change settings for Advanced OpenDiscovery’ to ‘LBL_AOD_CHANGE_SETTINGS’

  5. In custom/modules/Administration/Ext/Administration/administration.ext.php:
    line 50: change ‘Change settings for Advanced OpenDiscovery’ to ‘LBL_AOD_CHANGE_SETTINGS’

  6. in custom/Extension/modules/Administration/Ext/Language/en_us.AODAdmin.php:
    Add to the end of the file: $mod_strings[‘LBL_AOD_CHANGE_SETTINGS’] = ‘Change settings for Advanced OpenDiscovery’;

The labels ‘LBL_AOP_CHANGE_SETTINGS’ and ‘LBL_AOD_CHANGE_SETTINGS’ will after a repair be ready fortranslation.

Enjoy!

1 Like

Thanks for this!

Hi - have you published the translation. I would like to help. :slight_smile:

Why is this not implemented yet in newer versions of SuiteCRM?