Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for translatable tab names in ModelAdmin #1767

Open
GuySartorelli opened this issue May 30, 2024 · 1 comment
Open

Allow for translatable tab names in ModelAdmin #1767

GuySartorelli opened this issue May 30, 2024 · 1 comment

Comments

@GuySartorelli
Copy link
Member

Currently tab titles in ModelAdmins are either hardcoded or come from calling i18n_plural_name() on a singleton of the model.
This means if you want a specific localisable tab name you have to hack it in yourself.

Related

Acceptance criteria

  • Provide a way to give i18n replacements for tab titles without having to override getManagedModelTabs() or getManagedModels()
@GuySartorelli GuySartorelli added this to the Silverstripe CMS 6 milestone May 30, 2024
@GuySartorelli
Copy link
Member Author

This can probably be done in a minor release, but would be easier if we don't have to worry about keeping things perfectly BC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants