{"id":1026133,"date":"2015-11-16T04:29:19","date_gmt":"2015-11-16T12:29:19","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/"},"modified":"2016-02-18T08:31:37","modified_gmt":"2016-02-18T16:31:37","slug":"impossible-to-correctly-translate-community-events","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/","title":{"rendered":"Impossible to correctly translate Community Events"},"content":{"rendered":"<p>On several places you&#8217;re incorrectly using the __() function from wordpress, and it makes it virtually impossible to correctly translate the system. The main problem is that you&#8217;re trying to build the sentences automatically.<\/p>\n<p>Strings such as:<\/p>\n<p>%s Website<br \/>\n%s Cost<br \/>\n%s Details<\/p>\n<p>Where you simply put in the word Event, works fine for English &#8211; but it does not work for Norwegian and a bunch of other languages. The users will understand what is meant, but it&#8217;s not proper Norwegian.<\/p>\n<p>The word Event translates to several different forms in Norwegian:<\/p>\n<p>Arrangement (An event)<br \/>\nArrangementet (The event)<br \/>\nArrangementene (All the events)<br \/>\n&#8230;and so on.<\/p>\n<p>For you it would be like:<\/p>\n<p>An Event Website<br \/>\nAn Event Cost<br \/>\netc.<\/p>\n<p>To make matters worse: We&#8217;re not allowed to use capital characters in the middle of a sentence, so we can&#8217;t try to rephrase the sentences like &#8220;The organizer of %s&#8221;.<\/p>\n<p>The solution to the problem is of course problematic, since it destroys much of your translations &#8211; but I know that this problem is true for many of the European languages; German, Danish, Swedish, Icelandic, Norwegian, probably French and Spanish as well.<\/p>\n<p>You should stop using %s inside of sentences for language words. It will yield a few more sentences to translate, but that is no problem compared to me having to rewrite every single template to make it look good in Norwegian.<\/p>\n<p>%s Website<br \/>\n%s Cost<br \/>\n%s Details<\/p>\n<p>for %s = Event would translate to something like:<\/p>\n<p>Arrangementsnettsted<br \/>\nDeltakerkostnad<br \/>\nDetaljer for arrangementet<\/p>\n","protected":false},"template":"","class_list":["post-1026133","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>Impossible to correctly translate Community Events -<\/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\/impossible-to-correctly-translate-community-events\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Impossible to correctly translate Community Events -\" \/>\n<meta property=\"og:description\" content=\"On several places you&#8217;re incorrectly using the __() function from wordpress, and it makes it virtually impossible to correctly translate the system. The main problem is that you&#8217;re trying to build the sentences automatically. Strings such as: %s Website %s Cost %s Details Where you simply put in the word Event, works fine for English [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-18T16:31:37+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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/\",\"name\":\"Impossible to correctly translate Community Events -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-11-16T12:29:19+00:00\",\"dateModified\":\"2016-02-18T16:31:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/#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\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Community Events\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Impossible to correctly translate Community Events\"}]},{\"@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":"Impossible to correctly translate Community Events -","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\/impossible-to-correctly-translate-community-events\/","og_locale":"en_US","og_type":"article","og_title":"Impossible to correctly translate Community Events -","og_description":"On several places you&#8217;re incorrectly using the __() function from wordpress, and it makes it virtually impossible to correctly translate the system. The main problem is that you&#8217;re trying to build the sentences automatically. Strings such as: %s Website %s Cost %s Details Where you simply put in the word Event, works fine for English [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/","article_modified_time":"2016-02-18T16:31:37+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/","name":"Impossible to correctly translate Community Events -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-11-16T12:29:19+00:00","dateModified":"2016-02-18T16:31:37+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/impossible-to-correctly-translate-community-events\/#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":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Community Events","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/"},{"@type":"ListItem","position":5,"name":"Impossible to correctly translate Community Events"}]},{"@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\/1026133","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":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1026133\/revisions"}],"predecessor-version":[{"id":1026495,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1026133\/revisions\/1026495"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1026133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}