Support › Meta Box Builder › I cannot see HTML and Tab titles in WPML string translationResolved
I manually registered my custom fields with my text domain. I can view all the texts for translation except those that are in HTML or the TAB.
Any ideas about what might be happening?
Do you register custom fields with code? If yes, you can use the gettext function __() to allow translating the text. If you use the builder, the field settings are stored in a post and it might not work with the String Translation plugin.
Hi Peter. Thank you for the answer.
I was using the "get php" button to get the code.
I seen that when you do that you automatically add the function__() to all labels but you don't do it for:
- group title
Probablly there are more.
Could you ad the function automatically when you generate the php?
Can I ask it like a request?
Thanks for your feedback.
Yes, it could be a feature request. I'm going to create a feature request and ask the development team to consider supporting localization for text generated in PHP code.