• Resolved sondt

    (@sondt)


    Hi, I’m getting error when I check my theme with your plugin.
    WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘tzswift’.
    WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘tzswift’.

    How can I fix this error?
    thanks.
    https://www.ads-software.com/plugins/theme-check/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    To fix the problem, find the error you made in your theme code, and correct it.

    It’s seeing two function calls to _e() and __() with incorrect or invalid arguments. Locate those, and fix the issue.

    Most likely, you called _e() and __() with a variable parameter. Variables cannot be translated, only strings can.

    Thread Starter sondt

    (@sondt)

    Good info. I called _e() and __() width a variable parameter.I fixed error.
    Thanks for giving me the useful information.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Found a translation function that is missing a text-domain’ is closed to new replies.