{"id":1026,"date":"2021-07-23T12:43:49","date_gmt":"2021-07-23T12:43:49","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/locale-xml-upload\/"},"modified":"2021-07-23T12:43:49","modified_gmt":"2021-07-23T12:43:49","slug":"locale-xml-upload","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/locale-xml-upload\/","title":{"rendered":"Locale XML Upload"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\">\n<div id=\"versioned-article-header\">\n<p class=\"valid-version-info\"><em>Valid for versions 82 through the latest version<\/em><\/p>\n<\/div>\n<div id=\"version-select-group\" aria-label=\"select versions\">\n<h4>Version:<\/h4>\n<h4>82<\/h4>\n<\/div><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>This feature allows you to upload a locale in XML format to your server. After you upload a locale, your users can select it from within the cPanel interface.<\/p>\n<ul>\n<li>If the locale does not already exist on your server, the system creates all necessary files.<\/li>\n<li>If the locale exists on your server, the system performs the following actions:\n<ul>\n<li>Core files \u2014 The system only adds keys from the XML data that do not already exist. The system does not overwrite any keys.<\/li>\n<li>Local edit files \u2014 The system overwrites keys on the server with the XML data, and adds any keys that do not already exist.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2 id=\"upload-an-xml-file\">Upload an XML File<\/h2>\n<p>To upload an existing locale, perform the following steps:<\/p>\n<ol>\n<li>Click <em>Choose File<\/em>.<\/li>\n<li>Select the XML file that you wish to upload.<\/li>\n<li>Click <em>Upload<\/em> to complete the process.<\/li>\n<\/ol>\n<h2 id=\"legacy-language-file-upload\">Legacy Language File Upload<\/h2>\n<p>This interface allows you to upload your own language file or a third-party language file. To upload a language file, perform the following steps:<\/p>\n<ol>\n<li>Click <em>this interface<\/em>.<\/li>\n<li>Click <em>Choose File<\/em>, and select the file that you wish to upload.<\/li>\n<li>Select the theme that you wish to upload to from the <em>Theme<\/em> menu:\n<ul>\n<li><em>\/<\/em> \u2014 Uploads the <code>root<\/code> language file, which supplies verbiage for the cPanel interface when a necessary term does not exist in the primary language files.<\/li>\n<li><em>paper_lantern<\/em> \u2014 Uploads the Paper Lantern theme\u2019s language files.<\/li>\n<li>A custom theme on the server \u2014 If you have a custom cPanel theme, select that theme to upload its language file. The system stores language files for custom themes in the <code>\/usr\/local\/cpanel\/base\/frontend\/themename\/lang\/<\/code> directory, where <code>themename<\/code> represents the name of the custom theme.<\/li>\n<\/ul>\n<\/li>\n<li>Click <em>Upload<\/em>.<\/li>\n<\/ol><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Valid for versions 82 through the latest version Version: 82 Overview This feature allows you to upload a locale in XML format to your server. After you upload a locale, your users can select it from within the cPanel interface. If the locale does not already exist on your server, the system creates all necessary &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1027,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/1026"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=1026"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/1026\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/1027"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=1026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=1026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=1026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}