Hi,
I need to override templates names displayed in "new page" form.
Does anyone know the proper way to do that?
Archive
I found it by myself. Imagine you want to override the template name "Default" in the new page form, you just have to create a translation file in yaml having a key "Default" (don't forget to upper the first letter).
For example:
TXT
// Location: /user/themes/custom/languages/fr.yaml
Default: Page de contenu
You will now see "Page de contenu" and not "Default" in your select box anymore.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1333 | 9 years ago | ||
| 2 | 924 | 9 years ago | ||
| 2 | 4055 | 9 years ago | ||
| 1 | 2938 | 9 years ago | ||
| 3 | 1111 | 9 years ago |