Recently my theme was Soft rejected because of one issue. Please Help me

  1. All theme text strings are to be translatable and properly escaped.

I am using all string in (‘my string’, ‘text-domain’)
( ‘Some String’, ‘text-domain’ );
please tell me how can I solve this issue?

If you explain your question properly someone will help. But theres no way to understand what you are asking. Both translation functions are fine, for simple strings esc_html__ is an overkill

Hey Thank you for your Answer But Can you tell me How to resolve this issue Please…

1 Like

Use __() to translate strings, esc_html__ is used to translate string and then escape it.

Read this it might help

Thank You Go_themes foe your Valuable answer :smile:

Is there anyOne to give us a solution for this error…?