{"id":2601,"date":"2015-10-26T12:20:44","date_gmt":"2015-10-26T12:20:44","guid":{"rendered":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/"},"modified":"2021-08-26T14:15:49","modified_gmt":"2021-08-26T14:15:49","slug":"labels","status":"publish","type":"page","link":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/","title":{"rendered":"Labels"},"content":{"rendered":"<p>Twproject supports label customization directly from the web-interface.<\/p>\n<p>You can modify every menu, button, label, message text from the admin page:<\/p>\n<p>Insert a label to search e.g.: \u201cprojects\u201d and press \u201creturn\u201d key:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5050\" src=\"https:\/\/twproject.com\/support\/wp-content\/uploads\/labels.png\" alt=\"\" width=\"1595\" height=\"899\" \/><\/p>\n<p>Then modify one or more label, then press \u201csave on file\u201d button.<\/p>\n<p>Labels modified by customers will be preserved by Twproject updates.<\/p>\n<pre>Your work gets saved on the database, so web app updates will not overwrite it.<\/pre>\n<p>&nbsp;<\/p>\n<h2>Translate in a new language<\/h2>\n<p>You can create your own language, but do not underestimate the effort.<br \/>\nSuppose you want to create an entirely new language for the user interface. Twproject lets you create a new language and insert the label translation entirely from the web interface.<\/p>\n<p>To create a new language , say you assign to your language the code \u201cXZ\u201d. Locate the &#8220;new language&#8221; button -&gt; in the input write &#8220;XZ&#8221;, click &#8220;new language&#8221; -&gt; now in editing each entry you will have a &#8220;XZ&#8221; input column.<\/p>\n<p>Consider that there are really many labels; use the &#8220;only if missing in some language&#8221; flag to\u00a0search the missing ones.<\/p>\n<h2><b><\/b><b><\/b>Contribute to translation<\/h2>\n<p>Twproject is available on many languages, but sometime the term used in the labels are not the right ones, are misspelled or simply are missing. We try to keep all languages updated, but we are open to our customer contribution.<\/p>\n<p>Considering that your changed labels are saved on your database, if you want to send back a few changes to Twproject developers, you have to &#8220;export&#8221; them, and send us the generated file.<\/p>\n<p>If\u00a0instead you want send us a complete new language or a massive\u00a0set of labels, you should consider that\u00a0Twproject distributes the common internationalization labels through textual files, those with .i18n extension. When the user inserts labels, those get saved on the database, so that web app updates do not overwrite them. In order to get also your work to end up in .i18n files, you need to get to \u201cdevelopment\u201d modality, which is done by editing the <strong>&#8220;[twroot]\/webapps\/ROOT\/WEB-INF\/config.properties&#8221;<\/strong> file and setting &#8220;development=yes&#8221;. Then restart Twproject.<br \/>\nFrom this point on, your labels will go on the right file:<\/p>\n<pre>[Twproject_root]\/webapps\/ROOT\/applications\/teamwork\/settings\/i18n\/Teamwork.<strong>[<em>language_code<\/em>]<\/strong>.i18n\r\n[Twproject_root]\/commons\/settings\/i18n\/Platform.<b>[<em>language_code<\/em>]<\/b>.i18n<\/pre>\n<p>You can also edit\u00a0e label file directly using a text editor: the\u00a0format is:<\/p>\n<pre>Twproject [TAB] code [TAB] language [TAB] translation<\/pre>\n<p>for instance:<br \/>\nTwproject 01_GRAVITY_LOW FR bas<br \/>\nTwproject 01_STATUS_OPEN FR ouvert<\/p>\n<p>Once your translation is completed you can send the label file to us: then your changes will be\u00a0included in next release.<\/p>\n<p>&nbsp;<\/p>\n<p>Same\u00a0labels contains %% placeholder that is replaced with a parameter passed during translation. Eg.: ABOUT_TO_IMPORT_%%<em>TASKS label is used in a context like translate(&#8220;ABOUT_TO_IMPORT<\/em>%%_TASKS&#8221;,10) that will produce a label like &#8220;About to import 10 tasks&#8221;.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Twproject supports label customization directly from the web-interface. You can modify every menu, button, label, message text from the admin page: Insert a label to search e.g.: \u201cprojects\u201d and press \u201creturn\u201d key: Then modify one or more label, then press \u201csave on file\u201d button. Labels modified by customers will be preserved by Twproject updates. Your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2309,"menu_order":43,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-2601","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Labels | Twproject support<\/title>\n<meta name=\"description\" content=\"Twproject supports label customization directly from the web-interface. You can modify every menu, button, label, message text from the admin page: Insert\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Labels | Twproject support\" \/>\n<meta property=\"og:description\" content=\"Twproject supports label customization directly from the web-interface. You can modify every menu, button, label, message text from the admin page: Insert\" \/>\n<meta property=\"og:url\" content=\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/\" \/>\n<meta property=\"og:site_name\" content=\"Twproject support\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/twproject\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-26T14:15:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/twproject.com\/support\/wp-content\/uploads\/labels.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1595\" \/>\n\t<meta property=\"og:image:height\" content=\"899\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/\",\"url\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/\",\"name\":\"Labels | Twproject support\",\"isPartOf\":{\"@id\":\"https:\/\/twproject.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/twproject.com\/support\/wp-content\/uploads\/labels.png\",\"datePublished\":\"2015-10-26T12:20:44+00:00\",\"dateModified\":\"2021-08-26T14:15:49+00:00\",\"description\":\"Twproject supports label customization directly from the web-interface. You can modify every menu, button, label, message text from the admin page: Insert\",\"breadcrumb\":{\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/#primaryimage\",\"url\":\"https:\/\/twproject.com\/support\/wp-content\/uploads\/labels.png\",\"contentUrl\":\"https:\/\/twproject.com\/support\/wp-content\/uploads\/labels.png\",\"width\":1595,\"height\":899},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/twproject.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Advanced usage\",\"item\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Customization\",\"item\":\"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Labels\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/twproject.com\/support\/#website\",\"url\":\"https:\/\/twproject.com\/support\/\",\"name\":\"Twproject support\",\"description\":\"Twproject documentation online\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/twproject.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":"Labels | Twproject support","description":"Twproject supports label customization directly from the web-interface. You can modify every menu, button, label, message text from the admin page: Insert","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:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/","og_locale":"en_US","og_type":"article","og_title":"Labels | Twproject support","og_description":"Twproject supports label customization directly from the web-interface. You can modify every menu, button, label, message text from the admin page: Insert","og_url":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/","og_site_name":"Twproject support","article_publisher":"https:\/\/www.facebook.com\/twproject","article_modified_time":"2021-08-26T14:15:49+00:00","og_image":[{"width":1595,"height":899,"url":"https:\/\/twproject.com\/support\/wp-content\/uploads\/labels.png","type":"image\/png"}],"twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/","url":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/","name":"Labels | Twproject support","isPartOf":{"@id":"https:\/\/twproject.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/#primaryimage"},"image":{"@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/#primaryimage"},"thumbnailUrl":"https:\/\/twproject.com\/support\/wp-content\/uploads\/labels.png","datePublished":"2015-10-26T12:20:44+00:00","dateModified":"2021-08-26T14:15:49+00:00","description":"Twproject supports label customization directly from the web-interface. You can modify every menu, button, label, message text from the admin page: Insert","breadcrumb":{"@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/#primaryimage","url":"https:\/\/twproject.com\/support\/wp-content\/uploads\/labels.png","contentUrl":"https:\/\/twproject.com\/support\/wp-content\/uploads\/labels.png","width":1595,"height":899},{"@type":"BreadcrumbList","@id":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/labels\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/twproject.com\/support\/"},{"@type":"ListItem","position":2,"name":"Advanced usage","item":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/"},{"@type":"ListItem","position":3,"name":"Customization","item":"https:\/\/twproject.com\/support\/twproject-advanced-usage\/customizations\/"},{"@type":"ListItem","position":4,"name":"Labels"}]},{"@type":"WebSite","@id":"https:\/\/twproject.com\/support\/#website","url":"https:\/\/twproject.com\/support\/","name":"Twproject support","description":"Twproject documentation online","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/twproject.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/pages\/2601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/comments?post=2601"}],"version-history":[{"count":0,"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/pages\/2601\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/pages\/2309"}],"wp:attachment":[{"href":"https:\/\/twproject.com\/support\/wp-json\/wp\/v2\/media?parent=2601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}