Problems translating Widget’s Titles with WPML

i am building new site with 2 languages and using wpml all is ok but the widgets titles is not translating

and the solution was to use this plugin Widget Logic

and then add multiple copies of the widget to the Widget Area and add this code

ICL_LANGUAGE_CODE == 'en'

by the title language

and that’s it

here is example

wpml-widget

Advertisements