{"id":141899,"date":"2014-04-24T17:01:42","date_gmt":"2014-04-25T00:01:42","guid":{"rendered":"https:\/\/tri.be\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/"},"modified":"2014-07-18T11:59:03","modified_gmt":"2014-07-18T18:59:03","slug":"translation-issues-tec-ecp-community-facebook","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/","title":{"rendered":"Translation issues (TEC, ECP, Community, Facebook)"},"content":{"rendered":"<p>Hi there,<br \/>\nI&#8217;m just reporting some issues and bugs I have found in the source code that are translation related. A few of them are pretty old but I&#8217;m bringing them up once again \ud83d\ude09<\/p>\n<p>TEC 3.5.1<br \/>\n&#8212;&#8212;&#8212;<br \/>\n[admin-views\/tribe-options-help.php:84]<br \/>\n&#8216;If you&#8217;re looking for help&#8230;&#8217; is not translatable.<\/p>\n<p>[lib\/tribe-date-utils.class.php:257]<br \/>\nMethod &#8216;numberToOrdinal&#8217; doesn&#8217;t handle non-English ordinal numbers and so the method &#8216;recurrenceToText&#8217; with custom recurrence type is mixing locale conventions (e.g. &#8216;3rd&#8217;, &#8216;5th&#8217; etc. but many countries use &#8216;3. &#8216;, &#8216;5. &#8216; notation)<br \/>\nMaybe a new filter hook in &#8216;numberToOrdinal&#8217; function call would be a solution.<\/p>\n<p>[lib\\pue\\admin-views\\license-key.view.php]<br \/>\n[lib\\pue\\lib\\pue_plugin_update_engine.class.php]<br \/>\n&#8216;tribe-plugin-update-engine&#8217; gettext domain is not loaded on plugin init, so all PUE strings are not translated.<\/p>\n<p>[lib\\pue\\lib\\pue_plugin_update_engine.class.php:414]<br \/>\n&#8216;Hmmm&#8230; something&#8230;&#8217; has wrong domain name. Should be &#8216;tribe-plugin-update-engine&#8217;.<\/p>\n<p>ECP 3.5.2<br \/>\n&#8212;&#8212;&#8212;<br \/>\n[public\/template-tags\/general.php:823]<br \/>\n&#8216;Recurring Event&#8217; has wrong domain name.<\/p>\n<p>[public\/template-tags\/general.php:826]<br \/>\n&#8216;(See all)&#8217; has wrong domain name.<\/p>\n<p>[admin-views\/event-recurrence.php:96]<br \/>\nShortened month names should be called with a gettext context (&#8216;_ex&#8217; function), otherwise the shortened name of month &#8216;May&#8217; is conflicting with the full name &#8216;May&#8217;.<br \/>\nAs they are same in English, they can&#8217;t be translated separately to other languages. Even though this is a matter of &#8216;May&#8217; month only.<\/p>\n<p>Facebook Events 3.5<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n[the-events-calendar-facebook-importer.php:178]<br \/>\n3 strings in &#8217;empty_app_notices()&#8217; function don&#8217;t have a domain name specified in a gettext call.<\/p>\n<p>[the-events-calendar-facebook-importer.php:151]<br \/>\n&#8216;As of version 1.0.6, you need&#8230;&#8217; doesn&#8217;t have a domain name.<\/p>\n<p>[admin-views\/settings-tab.php:32]<br \/>\n&#8216;Account Settings&#8217; has wrong domain name.<\/p>\n<p>[admin-views\/settings-tab.php:64]<br \/>\n&#8216;Import Settings&#8217; has wrong domain name.<\/p>\n<p>[admin-views\/settings-tab.php:75]<br \/>\n&#8216;Enable Google Maps on imported events&#8217; has wrong domain name.<\/p>\n<p>[the-events-calendar-facebook-importer.php:1143]<br \/>\n&#8216;Facebook&#8217; has wrong domain name.<\/p>\n<p>[the-events-calendar-facebook-importer.php:1134]<br \/>\n&#8216;Import&#8217; has wrong domain name.<\/p>\n<p>[the-events-calendar-facebook-importer.php:1152]<br \/>\n&#8216;Facebook Events&#8217; has wrong domain name.<\/p>\n<p>Community Events 3.5<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nWrong domain names (although most of them are technically working since they&#8217;re same as in TEC or ECP):<br \/>\n[views\/community\/modules\/cost.php:28] &#8216;Event Cost&#8217;<br \/>\n[views\/community\/modules\/cost.php:34] &#8216;Currency Symbol:&#8217;<br \/>\n[views\/community\/modules\/cost.php:44] &#8216;Cost:&#8217;<br \/>\n[views\/community\/modules\/cost.php:51] &#8216;Leave blank to hide the field. Enter a 0 for events that are free.&#8217;<br \/>\n[views\/community\/modules\/venue.php:114] &#8216;State or Province&#8217;<br \/>\n[views\/community\/modules\/website.php:30] &#8216;Event Website&#8217;<br \/>\n[views\/community\/modules\/recurrence.php:81-86] &#8216;None&#8217;, &#8216;day&#8217;, &#8216;days&#8217;, &#8216;Every Day&#8217;, &#8230;. &#8216;event&#8217;, &#8216;events&#8217;, &#8216;Custom&#8217;<\/p>\n<p>[views\/community\/event-list.php:105]<br \/>\n[lib\/tribe-community-events.class.php:1631]<br \/>\n&#8216;Edit&#8217; is not translatable.<\/p>\n<p>Thanks for fixing them up.<br \/>\nCheers,<\/p>\n<p>Petr<\/p>\n","protected":false},"template":"","class_list":["post-141899","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Translation issues (TEC, ECP, Community, Facebook) -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Translation issues (TEC, ECP, Community, Facebook) -\" \/>\n<meta property=\"og:description\" content=\"Hi there, I&#8217;m just reporting some issues and bugs I have found in the source code that are translation related. A few of them are pretty old but I&#8217;m bringing them up once again \ud83d\ude09 TEC 3.5.1 &#8212;&#8212;&#8212; [admin-views\/tribe-options-help.php:84] &#8216;If you&#8217;re looking for help&#8230;&#8217; is not translatable. [lib\/tribe-date-utils.class.php:257] Method &#8216;numberToOrdinal&#8217; doesn&#8217;t handle non-English ordinal numbers [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-07-18T18:59:03+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/\",\"name\":\"Translation issues (TEC, ECP, Community, Facebook) -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-04-25T00:01:42+00:00\",\"dateModified\":\"2014-07-18T18:59:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Additional Help\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/others\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Translations\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/others\/translation\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Translation issues (TEC, ECP, Community, Facebook)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Translation issues (TEC, ECP, Community, Facebook) -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/","og_locale":"en_US","og_type":"article","og_title":"Translation issues (TEC, ECP, Community, Facebook) -","og_description":"Hi there, I&#8217;m just reporting some issues and bugs I have found in the source code that are translation related. A few of them are pretty old but I&#8217;m bringing them up once again \ud83d\ude09 TEC 3.5.1 &#8212;&#8212;&#8212; [admin-views\/tribe-options-help.php:84] &#8216;If you&#8217;re looking for help&#8230;&#8217; is not translatable. [lib\/tribe-date-utils.class.php:257] Method &#8216;numberToOrdinal&#8217; doesn&#8217;t handle non-English ordinal numbers [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/","article_modified_time":"2014-07-18T18:59:03+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/","name":"Translation issues (TEC, ECP, Community, Facebook) -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-04-25T00:01:42+00:00","dateModified":"2014-07-18T18:59:03+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/translation-issues-tec-ecp-community-facebook\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Additional Help","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/others\/"},{"@type":"ListItem","position":4,"name":"Translations","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/others\/translation\/"},{"@type":"ListItem","position":5,"name":"Translation issues (TEC, ECP, Community, Facebook)"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/141899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/141899\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=141899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}