Viewing 1 replies (of 1 total)
  • Plugin Author Arevico

    (@arevico)

    I’ve changed this ticket to not a support question, because it is a customization rather than a problem. It is not possible to do this on the server side since the javascript file file is being referenced to (not produced by php). I’d suggest to output the ICL_LANGUAGE_CODE to javascript by using wp_localize _scipt() and than doing the conditional check on the client side.

Viewing 1 replies (of 1 total)
  • The topic ‘Show different version in other language’ is closed to new replies.