Repository navigation
Description
Description:
In the Marketplace app details → Logs tab, each log row shows a set of labelled fields. Three of those labels ("Total time", "Time", "Event") are passed through the translator, but the "Instance" field's label is a hardcoded string literal.
AppLogsItemField renders its label prop directly (no t() call), so the caller is responsible for translating it. Because AppLogsItem.tsx passes label='Instance', the raw string is injected into the DOM and the existing "Instance" translation key is never used.
Non-English users therefore always see the English word "Instance" (e.g. Portuguese (Brazil) should show "Instância"), unlike the sibling labels.
Steps to reproduce:
- Set the interface language to Portuguese (Brazil).
- Navigate to Administration → Marketplace → an installed app → Logs.
- Find a log entry containing an instance ID.
- Observe that the field label displays "Instance" instead of the localized "Instância".
Expected behavior:
The "Instance" field label should use the existing translation key and display the appropriate localized value, consistent with the other log field labels.
Actual behavior:
The field label remains "Instance" regardless of the selected interface language.
Server Setup Information:
- Version of Rocket.Chat Server: Development source (version not specified)
The issue was identified through source-code inspection and reproduced using an automated component test. No running server deployment was used for verification.
Client Setup Information:
- Testing environment: Jest / React Testing Library
- Operating System: macOS
Additional context:
The issue originates in:
apps/meteor/client/views/marketplace/AppDetailsPage/tabs/AppLogs/AppLogsItem.tsx
Current implementation:
label='Instance'Expected implementation:
label={t('Instance')}The translation key already exists in:
packages/i18n/src/locales/en.i18n.jsonpackages/i18n/src/locales/pt-BR.i18n.json
AppLogsItemField renders the provided label directly, while the adjacent field labels already use t().
An automated regression test was added to verify that the "Instance" label uses the translation function. The test passes with the fix applied.
I have implemented the fix and can submit a pull request referencing this issue.
Relevant logs:
No runtime errors are associated with this issue. The problem is caused by a hardcoded label in the frontend component.
Activity
fix: translate Instance label in app logs (RocketChat#43290)
punamkumari-hash commentedon Oct 30, 2026
Hi! That's great. Please go ahead and work on this issue. Make sure you understand the problem thoroughly and explore a suitable solution. All the best!
lakshaydevoo-arch commentedon Oct 30, 2026
Hi @punamkumari-hash already pushed a PR and waiting for maintainers to review.