How can i customize login texts in Strapi admin Login

System Information
  • Strapi Version: 4.5.2
  • Operating System: Ubuntu 22
  • Database: -
  • Node Version: 16.18.1
  • NPM Version: 8.x
  • Yarn Version: -

I know how to customize Auth logo in src/admin/app.js in config

import YourLogo from "./extensions/your-logo.png"
//...
{ 

//...

 auth: {
  logo: YourLogo,
 },

//...

}

But i want to know if is it possible to customize the TEXTS in Atrapi Admin Login page.

can i extend it or something like that?

att

I Found here !!!

To make this type os customizations, we can use translate with location config

In my project i translate to BR Portuguese, but you can do it with anything

import YourLogo from "./extensions/your-logo.png"
//...
{ 

//...

 auth: {
  logo: YourLogo,
 },
locales: ['pt-BR'],
 translations: {
      'pt-BR': {
        'Auth.form.email.label': 'teste',
        'Auth.form.welcome.title': 'Meu título customizado!',
        'Auth.form.welcome.subtitle': 'Entre em sua conta',
        // Translate a plugin's key/value pair by adding the plugin's name as a prefix
        // In this case, we translate the "plugin.name" key of plugin "content-type-builder"
      },
    },
//...

}

3 Likes

Will this also change the title of page in browser tab?