{"id":345,"date":"2019-01-28T13:14:28","date_gmt":"2019-01-28T13:14:28","guid":{"rendered":"https:\/\/help.unitedover.com\/digits\/?post_type=manual_kb&#038;p=345"},"modified":"2023-08-11T16:52:41","modified_gmt":"2023-08-11T16:52:41","slug":"plugin-text-translation","status":"publish","type":"manual_kb","link":"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/","title":{"rendered":"Plugin text translation"},"content":{"rendered":"\n<div class=\"tldr\">\n<h3>TL;DR<\/h3>\n<p>Use the Loco Translate plugin or Poedit, translation files will be under the \/languages folder.<\/p>\n<\/div>\n\n\n\n<p>WordPress plugin translation is the method by which you can change the text of a plugin appearing anywhere in your language.<\/p>\n\n\n\n<p>There are a lot of ways to add translation to plugins in WordPress, but here we&#8217;ll only consider the ones with which you are future proof and don&#8217;t lose your chances with any of the plugins or WordPress updates.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method 1 (Loco Translate Plugin)<\/h3>\n\n\n\n<p>The easiest method to add translation is to use <a href=\"https:\/\/wordpress.org\/plugins\/loco-translate\/\" target=\"_blank\" rel=\"noopener\">Loco Translate WordPress Plugin<\/a>, with this none of your changes will be lost when you update the Digits plugin or anything, and even managing your translation will be an easy task.<\/p>\n\n\n\n<p>For up-to-date documentation to use this plugin please visit their guide on this <a href=\"https:\/\/localise.biz\/wordpress\/plugin\/beginners\" target=\"_blank\" rel=\"noopener\">https:\/\/localise.biz\/wordpress\/plugin\/beginners&nbsp;<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method 2 (Manual File Addition)<\/h3>\n\n\n\n<p>There are many translation tools available, such as&nbsp;<a href=\"https:\/\/localise.biz\/free\/poeditor\" target=\"_blank\" rel=\"noopener\">Localize.biz,<\/a>&nbsp;<a title=\"GlotPress\" href=\"http:\/\/blog.glotpress.org\/\" target=\"_blank\" rel=\"noopener\">GlotPress<\/a>,&nbsp;<a title=\"Launchpad\" href=\"http:\/\/codex.wordpress.org\/Translating_WordPress_with_Launchpad\" target=\"_blank\" rel=\"noopener\">Launchpad, <\/a>and&nbsp;<a title=\"Pootle\" href=\"http:\/\/pootle.translatehouse.org\/\" target=\"_blank\" rel=\"noopener\">Pootle<\/a>, but we\u2019re going to use&nbsp;<a title=\"Poedit\" href=\"http:\/\/www.poedit.net\/download.php\" target=\"_blank\" rel=\"noopener\">Poedit<\/a>. Poedit is free, easy to use open source program for Mac OS X, Windows, and UNIX\/Linux for editing PO files and generating MO files<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download&nbsp;<a href=\"https:\/\/poedit.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/poedit.net<\/a>&nbsp;(free) and install it on your computer.<\/li>\n\n\n\n<li>Double-click on the <b>digits.pot <\/b><em>(you can find this in the language folder of the digits plugin)<\/em> to open that file in Poedit<\/li>\n\n\n\n<li>At the bottom, you&#8217;ll see a button with the name&nbsp;<b>Create New Translation&nbsp;<\/b>and then select the language of translation from the drop-down menu<br>\n<i>(If your language has multiple variations and you don&#8217;t know which one to select, please select the Main native language, it will be at the top of the variations)<\/i><\/li>\n\n\n\n<li>After that, you can start adding the translations and check the statistics in the footer bar<\/li>\n\n\n\n<li>Save the file after you&#8217;ve translated the strings, after saving the file you&#8217;ll be provided with two files with extensions<b>&nbsp;.po<\/b>&nbsp;and&nbsp;<b>.mo<\/b><\/li>\n\n\n\n<li>Append <strong>digits-<\/strong> in front of those file names (for both <strong>.po<\/strong> and <strong>.mo<\/strong> files). Below is an example of how they&#8217;ll look after the name change.<br>\n<img decoding=\"async\" src=\"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2019\/01\/511.png\"><br>\n<em>(here&nbsp;<\/em><strong><em>fr_FR <\/em><\/strong><em>represents language code, so it can be different for your language)<\/em><\/li>\n\n\n\n<li>Copy and paste these files on your website under <strong>wp-content\/languages\/plugins\/<\/strong><\/li>\n<\/ol>\n\n\n\n<p>You can send us those&nbsp;<b>.po<\/b>&nbsp;and&nbsp;<b>.mo<\/b>&nbsp;files to us and we&#8217;ll add the translation to the plugin itself \ud83d\ude42<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":66,"template":"","format":"standard","manualknowledgebasecat":[4],"manual_kb_tag":[],"class_list":["post-345","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-how-to"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Plugin text translation - Digits Help<\/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:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Plugin text translation - Digits Help\" \/>\n<meta property=\"og:description\" content=\"TL;DR Use the Loco Translate plugin or Poedit, translation files will be under the \/languages folder. WordPress plugin translation is the method by which you can change the text of a plugin appearing anywhere in your language. There are a lot of ways to add translation to plugins in WordPress, but here we&#8217;ll only consider [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/\" \/>\n<meta property=\"og:site_name\" content=\"Digits Help\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-11T16:52:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2019\/01\/511.png\" \/>\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:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/\",\"url\":\"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/\",\"name\":\"Plugin text translation - Digits Help\",\"isPartOf\":{\"@id\":\"https:\/\/help.unitedover.com\/digits\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2019\/01\/511.png\",\"datePublished\":\"2019-01-28T13:14:28+00:00\",\"dateModified\":\"2023-08-11T16:52:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/#primaryimage\",\"url\":\"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2019\/01\/511.png\",\"contentUrl\":\"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2019\/01\/511.png\",\"width\":151,\"height\":57},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/help.unitedover.com\/digits\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Plugin text translation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/help.unitedover.com\/digits\/#website\",\"url\":\"https:\/\/help.unitedover.com\/digits\/\",\"name\":\"Digits Help\",\"description\":\"WordPress Mobile Number Signup and Login\",\"publisher\":{\"@id\":\"https:\/\/help.unitedover.com\/digits\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/help.unitedover.com\/digits\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/help.unitedover.com\/digits\/#organization\",\"name\":\"UnitedOver\",\"url\":\"https:\/\/help.unitedover.com\/digits\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/help.unitedover.com\/digits\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2018\/11\/logo512.png\",\"contentUrl\":\"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2018\/11\/logo512.png\",\"width\":512,\"height\":512,\"caption\":\"UnitedOver\"},\"image\":{\"@id\":\"https:\/\/help.unitedover.com\/digits\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Plugin text translation - Digits Help","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:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/","og_locale":"en_US","og_type":"article","og_title":"Plugin text translation - Digits Help","og_description":"TL;DR Use the Loco Translate plugin or Poedit, translation files will be under the \/languages folder. WordPress plugin translation is the method by which you can change the text of a plugin appearing anywhere in your language. There are a lot of ways to add translation to plugins in WordPress, but here we&#8217;ll only consider [&hellip;]","og_url":"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/","og_site_name":"Digits Help","article_modified_time":"2023-08-11T16:52:41+00:00","og_image":[{"url":"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2019\/01\/511.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/","url":"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/","name":"Plugin text translation - Digits Help","isPartOf":{"@id":"https:\/\/help.unitedover.com\/digits\/#website"},"primaryImageOfPage":{"@id":"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/#primaryimage"},"image":{"@id":"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/#primaryimage"},"thumbnailUrl":"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2019\/01\/511.png","datePublished":"2019-01-28T13:14:28+00:00","dateModified":"2023-08-11T16:52:41+00:00","breadcrumb":{"@id":"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/#primaryimage","url":"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2019\/01\/511.png","contentUrl":"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2019\/01\/511.png","width":151,"height":57},{"@type":"BreadcrumbList","@id":"https:\/\/help.unitedover.com\/digits\/kb\/plugin-text-translation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/help.unitedover.com\/digits\/"},{"@type":"ListItem","position":2,"name":"Plugin text translation"}]},{"@type":"WebSite","@id":"https:\/\/help.unitedover.com\/digits\/#website","url":"https:\/\/help.unitedover.com\/digits\/","name":"Digits Help","description":"WordPress Mobile Number Signup and Login","publisher":{"@id":"https:\/\/help.unitedover.com\/digits\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.unitedover.com\/digits\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/help.unitedover.com\/digits\/#organization","name":"UnitedOver","url":"https:\/\/help.unitedover.com\/digits\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.unitedover.com\/digits\/#\/schema\/logo\/image\/","url":"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2018\/11\/logo512.png","contentUrl":"https:\/\/help.unitedover.com\/digits\/wp-content\/uploads\/sites\/2\/2018\/11\/logo512.png","width":512,"height":512,"caption":"UnitedOver"},"image":{"@id":"https:\/\/help.unitedover.com\/digits\/#\/schema\/logo\/image\/"}}]}},"acf":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/help.unitedover.com\/digits\/wp-json\/wp\/v2\/manual_kb\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.unitedover.com\/digits\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/help.unitedover.com\/digits\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/help.unitedover.com\/digits\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/help.unitedover.com\/digits\/wp-json\/wp\/v2\/manual_kb\/345\/revisions"}],"predecessor-version":[{"id":2271,"href":"https:\/\/help.unitedover.com\/digits\/wp-json\/wp\/v2\/manual_kb\/345\/revisions\/2271"}],"wp:attachment":[{"href":"https:\/\/help.unitedover.com\/digits\/wp-json\/wp\/v2\/media?parent=345"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/help.unitedover.com\/digits\/wp-json\/wp\/v2\/manualknowledgebasecat?post=345"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/help.unitedover.com\/digits\/wp-json\/wp\/v2\/manual_kb_tag?post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}