How to change the language string for "Login failed"?

General questions regarding the use of languages in Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
Joomla! Intern
Joomla! Intern
Posts: 95
Joined: Thu Sep 02, 2010 3:57 am

How to change the language string for "Login failed"?

Post by vincebodie » Thu May 19, 2022 4:13 am

I have just beat my head agains the wall for a while now trying to find the language constant for the "Login failed" message. Go here and try logging in with blank info and you will see the message:
screen-grab- 2022-05-18 at 9.12.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
Joomla! Master
Joomla! Master
Posts: 27899
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: How to change the language string for "Login failed"?

Post by imanickam » Thu May 19, 2022 4:34 am

The text string "Login failed" is not available in core Joomla!

Probably it could be coming from the extension JomSocial and/or the template that are/is being used in the site.

In case if the string "Login failed" is defined as the value in a language sting (of the extension or template) reviewing the corresponding language files would help. If it is coming from a language string, you could do simple text search for the string in the files of your site. Alternatively, you could go to the screen "Languages: Overrides" (System=> Manage > Language Overrides) and search for the string. Make to search in both Administrator and Site.

In case if the string is hard-coded, you could explore the possibility of using HTML override technique as documented at
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
ex-Joomla! Translations Coordination Team
Eegan - Support the poor and underprivileged

Post Reply

Return to “Language - Joomla! 4.x”