{"id":9914475,"date":"2018-01-29T17:44:19","date_gmt":"2018-01-29T17:44:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-translation-problem-2\/"},"modified":"2018-01-29T17:44:19","modified_gmt":"2018-01-29T17:44:19","slug":"plugin-translation-problem-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-translation-problem-2\/","title":{"rendered":"Plugin translation problem"},"content":{"rendered":"<p>Dear Author, first of all, thank you very much for your work, the plugin works like a charm. For a client of mine I have to translate your plugin to Hungarian, and just noticed that you&#8217;re constantly missing the textdomain attribute on each of the functions that handles translations. For example:<br \/>\n<code>__( &#039;This product has been discontinued.&#039; )<\/code><br \/>\nshould be replaced with:<br \/>\n<code>__( &#039;This product has been discontinued.&#039;, &#039;woocommerce-discontinued-products&#039; )<\/code> <\/p>\n<p>Please handle this issue, so your nice plugin will be translatable. \ud83d\ude42<\/p>\n<p>Thanks anyway, and keep up the good work!<\/p>\n<p>Cheers, Levi<\/p>\n","protected":false},"template":"","class_list":["post-9914475","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9914475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9914475\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9914475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}