Jump to content
  • 0

Translation using _custom.php not working


espservices

Question

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...