Jump to content
  • 0

Translation using _custom.php not working


Question

Posted

Hi,

I have added some edited language string lines on /language/pt_br/_custom.php file, but the changes do not work (don’t show).
Example, I added the below string on the _custom.php file as you can see on the image attach.

$lang['ClientLogin.index.description'] = 'Teste String.';

But nothing changes. If I change directly the file client_login.php it works.
What do I need to do for the lines I add on _custom.php to work?

Im using Blesta v5.10.1

Thanks
 

custom.jpg

2 answers to this question

Recommended Posts

  • 0
Posted

It's possible that the custom language file is only loaded in the context of custom definitions in Blesta, like Payment Types (Under Settings > System > General > Payment Types) where custom definitions can be used. It may be necessary to wait for https://dev.blesta.com/browse/CORE-5111 to be implemented, hopefully in 5.11, to allow any/all definitions to be overwritten here in an overrides file.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...