diff --git a/packages/common/src/extensions/extensionUtility.ts b/packages/common/src/extensions/extensionUtility.ts index 1d760b32a..4c183c4c0 100644 --- a/packages/common/src/extensions/extensionUtility.ts +++ b/packages/common/src/extensions/extensionUtility.ts @@ -136,10 +136,9 @@ export class ExtensionUtility { * @param {Object} gridOptions - Grid Options */ translateMenuItemsFromTitleKey(items: Array) { - const translationPrefix = getTranslationPrefix(this.sharedService.gridOptions); for (const item of items) { if (typeof item === 'object' && item.titleKey) { - item.title = this.translateWhenEnabledAndServiceExist(`${translationPrefix}${item.titleKey}`, `TEXT_${item.titleKey}`); + item.title = this.translateWhenEnabledAndServiceExist(`${item.titleKey}`, `TEXT_${item.titleKey}`); } } }