{"id":58,"date":"2019-09-24T14:57:22","date_gmt":"2019-09-24T17:57:22","guid":{"rendered":"https:\/\/pedrotornich.com\/a\/?p=58"},"modified":"2019-09-24T14:57:24","modified_gmt":"2019-09-24T17:57:24","slug":"search-labels-is-different-languages","status":"publish","type":"post","link":"https:\/\/pedrotornich.com\/a\/2019\/09\/24\/search-labels-is-different-languages\/","title":{"rendered":"Search labels is different languages"},"content":{"rendered":"\n<p>Hi folks,<\/p>\n\n\n\n<p>If you didn&#8217;t know, I&#8217;m Brazilian and in all D365FO local projects I worked so far, I wasn&#8217;t able to search for labels in my native language (pt-BR).<\/p>\n\n\n\n<p>If you open Visual Studio and go to:\u00a0Dynamics 365 > Find labels<\/p>\n\n\n\n<p>On the Label Search window if you change the language from en-US to pt-BR and try to search for labels in Portuguese, standard labels like @SYS* and @GLS* are not listed on the results.<\/p>\n\n\n\n<p>Looking into the\u00a0PackagesLocalDirectory folder it seems that MS didn&#8217;t delivered these label files in any other languages, only in en-US.<\/p>\n\n\n\n<p>But I thought they shout be somewhere, right?<\/p>\n\n\n\n<p>I found out that using the DLL Microsoft.Dynamics.Ax.Xpp one can access labels in any language through the LabelHelper class.<\/p>\n\n\n\n<p>So, I developed a tool that uses this DLL to create the missing label files (for any language).<\/p>\n\n\n\n<p>I posted the project on GitHub to help anyone else facing the same issue:<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/ptornich\/LabelFileGenerator\">https:\/\/github.com\/ptornich\/LabelFileGenerator<\/a><\/p>\n\n\n\n<p>Just run it, wait for the label generation to complete and you will be able to find labels in other languages.<\/p>\n\n\n\n<p>The project is open source, and you are welcome to contribute!<br><\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi folks, If you didn&#8217;t know, I&#8217;m Brazilian and in all D365FO local projects I worked so far, I wasn&#8217;t able to search for labels in my native language (pt-BR). If you open Visual Studio and go to:\u00a0Dynamics 365 > Find labels On the Label Search window if you change [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-58","post","type-post","status-publish","format-standard","hentry","category-d365fo"],"_links":{"self":[{"href":"https:\/\/pedrotornich.com\/a\/wp-json\/wp\/v2\/posts\/58"}],"collection":[{"href":"https:\/\/pedrotornich.com\/a\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pedrotornich.com\/a\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pedrotornich.com\/a\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pedrotornich.com\/a\/wp-json\/wp\/v2\/comments?post=58"}],"version-history":[{"count":1,"href":"https:\/\/pedrotornich.com\/a\/wp-json\/wp\/v2\/posts\/58\/revisions"}],"predecessor-version":[{"id":59,"href":"https:\/\/pedrotornich.com\/a\/wp-json\/wp\/v2\/posts\/58\/revisions\/59"}],"wp:attachment":[{"href":"https:\/\/pedrotornich.com\/a\/wp-json\/wp\/v2\/media?parent=58"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pedrotornich.com\/a\/wp-json\/wp\/v2\/categories?post=58"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pedrotornich.com\/a\/wp-json\/wp\/v2\/tags?post=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}