After 7.14 I had to change a lot of custom file (was using {php} tag from old smarty, so I had to modify my customized file to yours)
After that, I found that the search view dont have label anymore on button and the text after the search field input.
Tried both french and default english.
I don’t think anyone looked at this yet. If you can see it happening on the live demo, I’d say it’s a good idea to open an new Issue on Github for it. Hopefully it won’t be too hard to fix.
Here’s a combined approach that leverages SuiteCRM’s translation mechanism and adheres to best practices:
1. Use translate Function:
SuiteCRM provides a translate function to retrieve translated labels from language packs. This ensures you get the correct label based on the user’s language preference
File Path
lib/Search/UI/templates/search.form.tpl
Update
{ $APP.LBL_SEARCH_SUBMIT_FIELD_VALUE }
to
{ translate(‘LBL_SEARCH_SUBMIT_FIELD_VALUE’, ‘global’) }
The Second argument, ‘global’, specifies the module from which to retrieve the translation. Here, ‘global’ indicates the core language pack, which contains general labels used throughout SuiteCRM.