{"id":10688332,"date":"2018-09-14T13:02:12","date_gmt":"2018-09-14T13:02:12","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-translation-62\/"},"modified":"2018-09-14T13:02:12","modified_gmt":"2018-09-14T13:02:12","slug":"plugin-translation-62","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-translation-62\/","title":{"rendered":"Plugin translation"},"content":{"rendered":"<p>I would like to do a translation to german language. How should I name the language files? I alrady tried wpsm-tabs-r-de_DE.mo, wpsm_tabs_r-de_DE.mo, tabs-responsive-de_DE.mo and some other, but the translated items are still not shown.<br \/>\nWhich name is required?<\/p>\n<p>Maybe it&#8217;s a problem with WordPress, because your&#8217;e using a constant for internationalization. See https:\/\/developer.wordpress.org\/plugins\/internationalization\/how-to-internationalize-your-plugin\/ :<br \/>\n<strong><\/p>\n<blockquote><p>Do not use variable names or constants for the text domain portion of a gettext function. Do not do this as a shortcut: __( \u2018Translate me.\u2019 , $text_domain );<\/p><\/blockquote>\n<p><\/strong><\/p>\n","protected":false},"template":"","class_list":["post-10688332","topic","type-topic","status-publish","hentry","topic-tag-german","topic-tag-internationalization"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10688332","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\/10688332\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10688332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}