{"id":27683,"date":"2024-12-24T06:52:50","date_gmt":"2024-12-24T06:52:50","guid":{"rendered":"https:\/\/help.xodox.in\/?post_type=docs&#038;p=27683"},"modified":"2024-12-24T06:52:50","modified_gmt":"2024-12-24T06:52:50","password":"","slug":"setting-default-language-changing-language-preference-and-adding-editing-translations","status":"publish","type":"docs","link":"https:\/\/help.xodox.in\/pt\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/","title":{"rendered":"Setting default Language, Changing Language preference and Adding\/Editing Translations"},"content":{"rendered":"<div class=\"fusion-text fusion-text-1\">\n<h2 class=\"fusion-responsive-typography-calculated\"><span id=\"Video\">Video:<\/span><\/h2>\n<h2 class=\"fusion-responsive-typography-calculated\"><span id=\"Setting-default-System-Language\">Setting default System Language<\/span><\/h2>\n<p>By default, system is configured to work in English. But you can change the default language. To change the default language follow the below steps:<\/p>\n<ol>\n<li>Open .env file<\/li>\n<li>You will find a configuration \u201c<strong>APP_LOCALE=en<\/strong>\u201d below APP_URL. If you don\u2019t find it then add the configuration&nbsp;&nbsp;<strong>APP_LOCALE=en <\/strong>below APP_URL<\/li>\n<li>Change the value of the above key to your desired language as per the list given below<br \/>\n\u2018en\u2019 =&gt; \u2018English\u2019,<br \/>\n\u2018es\u2019 =&gt; \u2018Espa\u00f1ol \u2013 Spanish\u2019,<br \/>\n\u2018sq\u2019 =&gt; \u2018Shqip \u2013 Albanian\u2019,<br \/>\n\u2018hi\u2019 =&gt; \u2018\u0939\u093f\u0902\u0926\u0940 \u2013 Hindi\u2019,<br \/>\n\u2018nl\u2019 =&gt; \u2018Dutch\u2019,<br \/>\n\u2018fr\u2019 =&gt; \u2018Fran\u00e7ais \u2013 French\u2019,<br \/>\n\u2018de\u2019 =&gt; \u2018Deutsch \u2013 German\u2019,<br \/>\n\u2018ar\u2019 =&gt; \u2018Arabic \u2013 \u0627\u0644\u0639\u064e\u0631\u064e\u0628\u0650\u064a\u064e\u0651\u0629\u2019Or if you have added a new language then add the language ISO code.<\/li>\n<\/ol>\n<h2 class=\"fusion-responsive-typography-calculated\"><span id=\"Changing-your-Language-Preference\">Changing your Language Preference<\/span><\/h2>\n<p>To change your display language go to <em>\u201cProfile -&gt; My Profile -&gt; Language\u201d&nbsp;<\/em><\/p>\n<p>Select the language you want to use and save it. This will change all texts to your preferred language.<\/p>\n<h2 class=\"fusion-responsive-typography-calculated\"><span id=\"Editing-existing-translations\">Editing existing translations<\/span><\/h2>\n<p>Sometimes the translations can be improved to make it better understandable.<\/p>\n<ul>\n<li>To edit existing language translations \u2013 go to <code>resources\/lang\/{language_iso_code}\/<br \/>\n<\/code><\/li>\n<li><strong>For modules:&nbsp;<\/strong>To Add\/Edit transactions go to <strong>Modules\/{Module_name}\/Resources\/lang\/{language_iso_code}<\/strong><\/li>\n<li>Here you will find files almost grouped based on the pages. Edit the string you want to change and save it.<\/li>\n<li>If you make improvements to the language file, please do share it with us. We will update it the codebase so that it is useful to others too. Email: thewebfosters@gmail.com<\/li>\n<\/ul>\n<h2 class=\"fusion-responsive-typography-calculated\"><span id=\"Translatelanguage-for-login-or-register-interface\">Translate&nbsp;language for login or register interface<\/span><\/h2>\n<p>Go to config\/app.php and change the value of \u201clocale\u201d to the specified language iso code.<\/p>\n<h5 class=\"fusion-responsive-typography-calculated\"><span id=\"Language-ISO-code-Wiki\"><a href=\"#\" target=\"_blank\" rel=\"noopener noreferrer\">Language ISO code Wiki<\/a><\/span><\/h5>\n<h2 class=\"fusion-responsive-typography-calculated\"><span id=\"Adding-new-language\">Adding new language<\/span><\/h2>\n<ol>\n<li>Create a new directory for the language inside \u201c\/resources\/lang\/\u201d. Name of directory should follow&nbsp;<a href=\"#\" target=\"_blank\" rel=\"noopener noreferrer\">language_iso_code<\/a><\/li>\n<li>Copy the files from <code>\/resources\/lang\/en\/<\/code> to the directory you created.<\/li>\n<li>Open the individual files, translate and save it.<\/li>\n<li>Go to <code>public\/js\/lang<\/code>. Create a new file with name \u201c.js\u201d, copy all content from en.js and add corresponding translations.<\/li>\n<li>Open <code>config\/constants.php<\/code> and add the new language in the \u201clangs\u201d array.<\/li>\n<li>If you add any new languages, please do share the files with us. We will include it in our updates. We will acknowledge you for adding any&nbsp;new language.Thank you in advance.<\/li>\n<\/ol>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Video: Setting default System Language By default, system is configured to work in English. But you can change the default language. To change the default language follow the below steps: Open .env file You will find a configuration \u201cAPP_LOCALE=en\u201d below APP_URL. If you don\u2019t find it then add the configuration&nbsp;&nbsp;APP_LOCALE=en below APP_URL Change the value of the above key to your desired language as per the list given below \u2018en\u2019 =&gt; \u2018English\u2019, \u2018es\u2019 =&gt; \u2018Espa\u00f1ol \u2013 Spanish\u2019, \u2018sq\u2019 =&gt; \u2018Shqip \u2013 Albanian\u2019, \u2018hi\u2019 =&gt; \u2018\u0939\u093f\u0902\u0926\u0940 \u2013 Hindi\u2019, \u2018nl\u2019 =&gt; \u2018Dutch\u2019, \u2018fr\u2019 =&gt; \u2018Fran\u00e7ais \u2013 French\u2019, \u2018de\u2019 =&gt; \u2018Deutsch \u2013 German\u2019, \u2018ar\u2019 =&gt; \u2018Arabic \u2013 \u0627\u0644\u0639\u064e\u0631\u064e\u0628\u0650\u064a\u064e\u0651\u0629\u2019Or if you have added a new language then add the language ISO code. Changing your Language Preference To change your display language go to \u201cProfile -&gt; My Profile -&gt; Language\u201d&nbsp; Select the language you want to use and save it. This will change all texts to your preferred language. Editing existing translations Sometimes the translations can be improved to make it better understandable. To edit existing language translations \u2013 go to resources\/lang\/{language_iso_code}\/ For modules:&nbsp;To Add\/Edit transactions go to Modules\/{Module_name}\/Resources\/lang\/{language_iso_code} Here you will find files almost grouped based on the pages. Edit the string you want to change and save it. If you make improvements to the language file, please do share it with us. We will update it the codebase so that it is useful to others too. Email: thewebfosters@gmail.com Translate&nbsp;language for login or register interface Go to config\/app.php and change the value of \u201clocale\u201d to the specified language iso code. Language ISO code Wiki Adding new language Create a new directory for the language inside \u201c\/resources\/lang\/\u201d. Name of directory should follow&nbsp;language_iso_code Copy the files from \/resources\/lang\/en\/ to the directory you created. Open the individual files, translate and save it. Go to public\/js\/lang. Create a new file with name \u201c.js\u201d, copy all content from en.js and add corresponding translations. Open config\/constants.php and add the new language in the \u201clangs\u201d array. If you add any new languages, please do share the files with us. We will include it in our updates. We will acknowledge you for adding any&nbsp;new language.Thank you in advance.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_category":[73],"doc_tag":[77],"class_list":["post-27683","docs","type-docs","status-publish","hentry","doc_category-pos-settings","doc_tag-pos"],"acf":[],"year_month":"2026-04","word_count":398,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"help-xodox","author_nicename":"help-xodox","author_url":"https:\/\/help.xodox.in\/pt\/author\/help-xodox\/"},"doc_category_info":[{"term_name":"POS Settings","term_url":"https:\/\/help.xodox.in\/pt\/docs-category\/pos-settings\/"}],"doc_tag_info":[{"term_name":"pos","term_url":"https:\/\/help.xodox.in\/pt\/docs-tag\/pos\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Setting default Language, Changing Language preference and Adding\/Editing Translations - My CMS<\/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.xodox.in\/pt\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting default Language, Changing Language preference and Adding\/Editing Translations - My CMS\" \/>\n<meta property=\"og:description\" content=\"Video: Setting default System Language By default, system is configured to work in English. But you can change the default language. To change the default language follow the below steps: Open .env file You will find a configuration \u201cAPP_LOCALE=en\u201d below APP_URL. If you don\u2019t find it then add the configuration&nbsp;&nbsp;APP_LOCALE=en below APP_URL Change the value of the above key to your desired language as per the list given below \u2018en\u2019 =&gt; \u2018English\u2019, \u2018es\u2019 =&gt; \u2018Espa\u00f1ol \u2013 Spanish\u2019, \u2018sq\u2019 =&gt; \u2018Shqip \u2013 Albanian\u2019, \u2018hi\u2019 =&gt; \u2018\u0939\u093f\u0902\u0926\u0940 \u2013 Hindi\u2019, \u2018nl\u2019 =&gt; \u2018Dutch\u2019, \u2018fr\u2019 =&gt; \u2018Fran\u00e7ais \u2013 French\u2019, \u2018de\u2019 =&gt; \u2018Deutsch \u2013 German\u2019, \u2018ar\u2019 =&gt; \u2018Arabic \u2013 \u0627\u0644\u0639\u064e\u0631\u064e\u0628\u0650\u064a\u064e\u0651\u0629\u2019Or if you have added a new language then add the language ISO code. Changing your Language Preference To change your display language go to \u201cProfile -&gt; My Profile -&gt; Language\u201d&nbsp; Select the language you want to use and save it. This will change all texts to your preferred language. Editing existing translations Sometimes the translations can be improved to make it better understandable. To edit existing language translations \u2013 go to resources\/lang\/{language_iso_code}\/ For modules:&nbsp;To Add\/Edit transactions go to Modules\/{Module_name}\/Resources\/lang\/{language_iso_code} Here you will find files almost grouped based on the pages. Edit the string you want to change and save it. If you make improvements to the language file, please do share it with us. We will update it the codebase so that it is useful to others too. Email: thewebfosters@gmail.com Translate&nbsp;language for login or register interface Go to config\/app.php and change the value of \u201clocale\u201d to the specified language iso code. Language ISO code Wiki Adding new language Create a new directory for the language inside \u201c\/resources\/lang\/\u201d. Name of directory should follow&nbsp;language_iso_code Copy the files from \/resources\/lang\/en\/ to the directory you created. Open the individual files, translate and save it. Go to public\/js\/lang. Create a new file with name \u201c.js\u201d, copy all content from en.js and add corresponding translations. Open config\/constants.php and add the new language in the \u201clangs\u201d array. If you add any new languages, please do share the files with us. We will include it in our updates. We will acknowledge you for adding any&nbsp;new language.Thank you in advance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.xodox.in\/pt\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/\" \/>\n<meta property=\"og:site_name\" content=\"My CMS\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/help.xodox.in\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/\",\"url\":\"https:\/\/help.xodox.in\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/\",\"name\":\"Setting default Language, Changing Language preference and Adding\/Editing Translations - My CMS\",\"isPartOf\":{\"@id\":\"https:\/\/help.xodox.in\/#website\"},\"datePublished\":\"2024-12-24T06:52:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/help.xodox.in\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/help.xodox.in\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/help.xodox.in\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/help.xodox.in\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setting default Language, Changing Language preference and Adding\/Editing Translations\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/help.xodox.in\/#website\",\"url\":\"https:\/\/help.xodox.in\/\",\"name\":\"My CMS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/help.xodox.in\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/help.xodox.in\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/help.xodox.in\/#organization\",\"name\":\"My CMS\",\"url\":\"https:\/\/help.xodox.in\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png\",\"contentUrl\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png\",\"width\":573,\"height\":192,\"caption\":\"My CMS\"},\"image\":{\"@id\":\"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Setting default Language, Changing Language preference and Adding\/Editing Translations - My CMS","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.xodox.in\/pt\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/","og_locale":"pt_PT","og_type":"article","og_title":"Setting default Language, Changing Language preference and Adding\/Editing Translations - My CMS","og_description":"Video: Setting default System Language By default, system is configured to work in English. But you can change the default language. To change the default language follow the below steps: Open .env file You will find a configuration \u201cAPP_LOCALE=en\u201d below APP_URL. If you don\u2019t find it then add the configuration&nbsp;&nbsp;APP_LOCALE=en below APP_URL Change the value of the above key to your desired language as per the list given below \u2018en\u2019 =&gt; \u2018English\u2019, \u2018es\u2019 =&gt; \u2018Espa\u00f1ol \u2013 Spanish\u2019, \u2018sq\u2019 =&gt; \u2018Shqip \u2013 Albanian\u2019, \u2018hi\u2019 =&gt; \u2018\u0939\u093f\u0902\u0926\u0940 \u2013 Hindi\u2019, \u2018nl\u2019 =&gt; \u2018Dutch\u2019, \u2018fr\u2019 =&gt; \u2018Fran\u00e7ais \u2013 French\u2019, \u2018de\u2019 =&gt; \u2018Deutsch \u2013 German\u2019, \u2018ar\u2019 =&gt; \u2018Arabic \u2013 \u0627\u0644\u0639\u064e\u0631\u064e\u0628\u0650\u064a\u064e\u0651\u0629\u2019Or if you have added a new language then add the language ISO code. Changing your Language Preference To change your display language go to \u201cProfile -&gt; My Profile -&gt; Language\u201d&nbsp; Select the language you want to use and save it. This will change all texts to your preferred language. Editing existing translations Sometimes the translations can be improved to make it better understandable. To edit existing language translations \u2013 go to resources\/lang\/{language_iso_code}\/ For modules:&nbsp;To Add\/Edit transactions go to Modules\/{Module_name}\/Resources\/lang\/{language_iso_code} Here you will find files almost grouped based on the pages. Edit the string you want to change and save it. If you make improvements to the language file, please do share it with us. We will update it the codebase so that it is useful to others too. Email: thewebfosters@gmail.com Translate&nbsp;language for login or register interface Go to config\/app.php and change the value of \u201clocale\u201d to the specified language iso code. Language ISO code Wiki Adding new language Create a new directory for the language inside \u201c\/resources\/lang\/\u201d. Name of directory should follow&nbsp;language_iso_code Copy the files from \/resources\/lang\/en\/ to the directory you created. Open the individual files, translate and save it. Go to public\/js\/lang. Create a new file with name \u201c.js\u201d, copy all content from en.js and add corresponding translations. Open config\/constants.php and add the new language in the \u201clangs\u201d array. If you add any new languages, please do share the files with us. We will include it in our updates. We will acknowledge you for adding any&nbsp;new language.Thank you in advance.","og_url":"https:\/\/help.xodox.in\/pt\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/","og_site_name":"My CMS","twitter_card":"summary_large_image","twitter_misc":{"Tempo estimado de leitura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/help.xodox.in\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/","url":"https:\/\/help.xodox.in\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/","name":"Setting default Language, Changing Language preference and Adding\/Editing Translations - My CMS","isPartOf":{"@id":"https:\/\/help.xodox.in\/#website"},"datePublished":"2024-12-24T06:52:50+00:00","breadcrumb":{"@id":"https:\/\/help.xodox.in\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.xodox.in\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/help.xodox.in\/docs\/setting-default-language-changing-language-preference-and-adding-editing-translations\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/help.xodox.in\/"},{"@type":"ListItem","position":2,"name":"Setting default Language, Changing Language preference and Adding\/Editing Translations"}]},{"@type":"WebSite","@id":"https:\/\/help.xodox.in\/#website","url":"https:\/\/help.xodox.in\/","name":"My CMS","description":"","publisher":{"@id":"https:\/\/help.xodox.in\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.xodox.in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Organization","@id":"https:\/\/help.xodox.in\/#organization","name":"My CMS","url":"https:\/\/help.xodox.in\/","logo":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/","url":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png","contentUrl":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png","width":573,"height":192,"caption":"My CMS"},"image":{"@id":"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/docs\/27683","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/comments?post=27683"}],"version-history":[{"count":0,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/docs\/27683\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/media?parent=27683"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/doc_category?post=27683"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/doc_tag?post=27683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}