{"id":653,"date":"2016-09-30T00:00:00","date_gmt":"2016-09-30T00:00:00","guid":{"rendered":"http:\/\/blog.hostinger.io\/hostinger-tutorials\/uncategorized\/wordpresshow-to-translate-wordpress-theme-using-poedit\/"},"modified":"2026-03-10T10:07:49","modified_gmt":"2026-03-10T10:07:49","slug":"how-to-translate-wordpress-theme","status":"publish","type":"post","link":"\/my\/tutorials\/how-to-translate-wordpress-theme","title":{"rendered":"How to translate a WordPress theme using Poedit"},"content":{"rendered":"<p>Most WordPress themes come in English by default, which can be challenging for non-English speakers. This guide will help you translate your theme into any language.<\/p><p>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-what-does-translating-a-wordpress-theme-actually-mean\">What does translating a WordPress theme actually mean?<\/h2><p>&ldquo;Translating a WordPress theme&rdquo; might sound like converting everything on your site into another language. However, whether you&rsquo;re a theme developer or a user, it can mean two different things:<\/p><p>If you&rsquo;re a theme developer, translating the theme&rsquo;s interface involves converting all the strings that users see on the backend, like buttons, settings, and notifications. These strings come with the theme itself, separate from the custom content users add to their sites. You&rsquo;ll translate these strings through resource files called <strong>.pot<\/strong>, <strong>.po<\/strong> and <strong>.mo<\/strong>, which WordPress uses by default.&nbsp;<\/p><p>For theme users, translating WordPress<strong> <\/strong>content involves any custom text they create, like blog posts, pages, or custom post types. For example, a user who creates testimonials with a theme might want to translate them to reach audiences in multiple languages. <a href=\"https:\/\/wpml.org\/\" target=\"_blank\" rel=\"noopener\"><strong>WPML<\/strong><\/a>, a leading WordPress translation plugin, is designed for such tasks. It offers features like <a href=\"https:\/\/wpml.org\/documentation\/automatic-translation\/wpml-ai-wordpress-translation\/\" target=\"_blank\" rel=\"noopener\">automatic translation powered by WPML AI<\/a>, which makes translating content quick and easy.<\/p><p>In this guide, we&rsquo;ll focus on translating your theme&rsquo;s interface. This ensures that all built-in, user-facing strings are translated and ready for a multilingual audience.<\/p><h2 class=\"wp-block-heading\" id=\"h-tools-for-translating-your-wordpress-theme\">Tools for translating your WordPress theme<\/h2><p>You&rsquo;ll find various solutions for translating a WordPress theme, from basic text editors to specialized software tools that simplify the process. Two of the most popular tools are <strong>Poedit<\/strong> and <strong>PTC<\/strong>.<br><br>The free version of Poedit uses a manual approach, letting you edit <strong>.po<\/strong> files directly to translate each string within your theme&rsquo;s interface manually.&nbsp;Meanwhile, <a href=\"https:\/\/ptc.wpml.org\/\" target=\"_blank\" rel=\"noopener\">PTC<\/a> offers an automated approach that greatly speeds up translation. By <span style=\"margin: 0px;padding: 0px\">automati<\/span>cally translating&nbsp;.po&nbsp;and&nbsp;.mo&nbsp;files, PTC eliminates the back and forth between developers and translators, making it much faster to get quality translations for your theme.<\/p><p>To use PTC, upload a <strong>.pot<\/strong> or <strong>.po<\/strong> file to the <a href=\"https:\/\/ptc.wpml.org\/free-resource-files-translation\/\" target=\"_blank\" rel=\"noopener\">Free resource files translation tool<\/a>, choose your target languages, and receive translated .po and .mo files ready for use within minutes. Of course, you can edit the translations too, if needed.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69dff523825b9\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"2416\" height=\"1342\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/09\/ptc-free-resource-translation-tool.png\" alt=\"PTC free resource files translation upload page\" class=\"wp-image-121172\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/ptc-free-resource-translation-tool.png 2416w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/ptc-free-resource-translation-tool-300x167.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/ptc-free-resource-translation-tool-1024x569.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/ptc-free-resource-translation-tool-150x83.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/ptc-free-resource-translation-tool-768x427.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/ptc-free-resource-translation-tool-1536x853.png 1536w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/ptc-free-resource-translation-tool-2048x1138.png 2048w\" sizes=\"(max-width: 2416px) 100vw, 2416px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>If you&rsquo;d rather manually translate your theme, we&rsquo;ll walk you through the steps of using <strong>Poedit<\/strong>.<\/p><h2 class=\"wp-block-heading\" id=\"h-step-by-step-guide-for-translating-wordpress-themes-using-poedit\">Step-by-step guide for translating WordPress themes using Poedit<\/h2><p>Before translating a theme using Poedit, you&rsquo;ll need the following:<\/p><ul class=\"wp-block-list\">\n<li>The <a href=\"https:\/\/poedit.net\/\" target=\"_blank\" rel=\"noopener\">Poedit software downloaded<\/a> and installed on your computer.<\/li>\n\n\n\n<li>The WordPress theme files stored on your computer.<\/li>\n<\/ul><h3 class=\"wp-block-heading\" id=\"h-1-open-your-theme-s-default-language-template\">1. Open your theme&rsquo;s default language template<\/h3><p>Start by opening <strong>Poedit<\/strong> and selecting <strong>Create new<\/strong>.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69dff52383a67\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"710\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/09\/poedit-create-new-1024x710.png\" alt=\"Create new option in Poedit\" class=\"wp-image-121173\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-create-new-1024x710.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-create-new-300x208.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-create-new-150x104.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-create-new-768x533.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-create-new.png 1482w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>A new window will pop up. Select the <a href=\"\/my\/tutorials\/what-is-a-wordpress-theme\">WordPress theme<\/a> you want to translate.&nbsp;For example, Astra&rsquo;s default translation templated is located in <strong>astra\/languages\/astra.pot<\/strong>.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69dff52384e79\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"705\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/09\/poedit-select-template-1024x705.png\" alt=\"Select a translation template on Poedit\" class=\"wp-image-121180\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-select-template-1024x705.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-select-template-300x207.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-select-template-150x103.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-select-template-768x529.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-select-template.png 1394w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>Next, select a language you want to translate your theme to. In the example below, we&rsquo;ll choose Lithuanian.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69dff52386075\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"720\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/09\/poedit-select-language-1-1024x720.png\" alt=\"Choose language of the translation in Poedit\" class=\"wp-image-121185\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-select-language-1-1024x720.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-select-language-1-300x211.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-select-language-1-150x105.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-select-language-1-768x540.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-select-language-1-1536x1080.png 1536w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-select-language-1.png 1914w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><h3 class=\"wp-block-heading\" id=\"h-2-translate-your-theme\">2. Translate your theme<\/h3><p>To start translating, highlight any string you want to translate. Then, in the <strong>Translation<\/strong> section, manually enter your desired translation for the source string. You can also use the suggestions on the right sidebar to speed up the process.<\/p><figure data-wp-context='{\"imageId\":\"69dff5238726a\"}' data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"728\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/09\/poedit-translation-1-1024x728.png\" alt=\"Translating source strings using Poedit\" class=\"wp-image-121188\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-translation-1-1024x728.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-translation-1-300x213.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-translation-1-150x107.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-translation-1-768x546.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-translation-1-1536x1092.png 1536w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-translation-1.png 1910w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><p>Once you have translated all the strings in your theme, save the file (<strong>lt_LT<\/strong> in this example) in the same directory as the original template.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69dff523883c9\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full is-resized wp-lightbox-container\"><img decoding=\"async\" width=\"840\" height=\"326\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/09\/poedit-save-translation-1.png\" alt=\"Save the new translation in Poedit\" class=\"wp-image-121189\" style=\"width:613px;height:auto\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-save-translation-1.png 840w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-save-translation-1-300x116.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-save-translation-1-150x58.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2016\/09\/poedit-save-translation-1-768x298.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><h3 class=\"wp-block-heading\" id=\"h-3-change-your-wordpress-website-s-language\">3. Change your WordPress website&rsquo;s language<\/h3><p>You need to configure WordPress to display the translated content you created with Poedit.<\/p><p>Upload the<strong> .po<\/strong> file you saved (<strong>lt_LT.po<\/strong> in this example) and <strong>.mo<\/strong> file <strong>(lt_LT.mo<\/strong> was generated automatically by Poedit) to the corresponding directory on your hosting account.<\/p><p>The directory should look similar to <strong>public_html\/wp-content\/themes\/THEMEXXX\/languages<\/strong>, where <strong>THEMEXXX<\/strong> is the name of your WordPress theme. If you need more guidance on uploading files, check out <a href=\"\/my\/tutorials\/website\/how-to-upload-your-website\">how to upload files to your website<\/a>.<\/p><p>Open the <strong>wp-config.php<\/strong> file (located in your WordPress installation) and add the following line:<\/p><pre class=\"wp-block-preformatted\">define <strong>('WPLANG', 'ZZZ')<\/strong>;<\/pre><p>In this case, <strong>ZZZ<\/strong> is the name of the file you used to save your translation (<strong>lt_LT<\/strong> in this example):<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69dff52388682\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/03\/changing-wpconfig-file.png\" alt=\"Editing wp-config.php file\"><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>Now, when a user configures WordPress to use the translated language, they&rsquo;ll see the theme interface in that language.<\/p><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>Translating your WordPress theme lets people use it in their preferred language. In this guide, we covered the difference between translating a theme&rsquo;s interface and user-generated content. We also showed you how to manually translate a theme using Poedit and introduced PTC for a faster, automated approach that simplifies <strong>.po<\/strong> and <strong>.mo<\/strong> file translations.<\/p><p>Whether you use Poedit or PTC, translation opens your theme to new audiences around the world.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most WordPress themes come in English by default, which can be challenging for non-English speakers. This guide will help you translate your theme into any language. What does translating a WordPress theme actually mean? &ldquo;Translating a WordPress theme&rdquo; might sound like converting everything on your site into another language. However, whether you&rsquo;re a theme developer [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/my\/tutorials\/how-to-translate-wordpress-theme\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"Translate WordPress theme: A guide to using Poedit","rank_math_description":"Learn how to translate a WordPress theme using Poedit, a translation editor for WordPress themes and plugins.","rank_math_focus_keyword":"how to translate wordpress theme using poedit","footnotes":""},"categories":[22636,22632],"tags":[],"class_list":["post-653","post","type-post","status-publish","format-standard","hentry","category-customization-and-design","category-wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/how-to-translate-wordpress-theme","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/how-to-translate-wordpress-theme","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-translate-wordpress-theme","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-translate-wordpress-theme","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/how-to-translate-wordpress-theme","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/how-to-translate-wordpress-theme","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/how-to-translate-wordpress-theme","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/how-to-translate-wordpress-theme","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/comments?post=653"}],"version-history":[{"count":14,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/653\/revisions"}],"predecessor-version":[{"id":121191,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/653\/revisions\/121191"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/media?parent=653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/categories?post=653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/tags?post=653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}