Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 8. Read the updated version of this page

Learn how to upgrade to the latest version.

Resources for Languages

Language

Name Format Required Max size Description
name isGenericName ✔️ 32
iso_code isLanguageIsoCode ✔️ 2
locale isLocale 5
language_code isLanguageCode 5
active isBool
is_rtl isBool
date_format_lite isPhpDateFormat ✔️ 32
date_format_full isPhpDateFormat ✔️ 32

Blank schema

<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
  <language>
    <id><![CDATA[]]></id>
    <name><![CDATA[]]></name>
    <iso_code><![CDATA[]]></iso_code>
    <locale><![CDATA[]]></locale>
    <language_code><![CDATA[]]></language_code>
    <active><![CDATA[]]></active>
    <is_rtl><![CDATA[]]></is_rtl>
    <date_format_lite><![CDATA[]]></date_format_lite>
    <date_format_full><![CDATA[]]></date_format_full>
  </language>
</prestashop>