Skip to content

Translations for __(‘…’)-patterns in the errors & redirects feature #551

@helloDanuk

Description

@helloDanuk

Bug description

The new error and redirect feature contains some __(‘…’)-patterns that cannot be translated because they are part of SEO Pro and not the Statamic core itself. Here's the complete list, some of them show up multiple times:

__('Test Redirect')
__('Enabled')
__('Inactive')
__('Recent Errors')
__('No errors have been reported.')
__('Create Redirect')
__('Create a Redirect')
__('Get started by creating your first redirect.')
__('Redirect')
__('Redirect saved')
__('Hits')
__('Last Hit At')
__('Source')
__('Destination')
__('Response Code')
__('Description')

How to reproduce

Change CP language to German

Logs

Environment

Environment
Laravel Version: 13.7.0
PHP Version: 8.4.19
Composer Version: 2.9.5
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 1
License Key: Not set
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.16.0 PRO

Statamic Addons
statamic/seo-pro: 7.7.0

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions