Notice: You are browsing the documentation for PrestaShop 8, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 1.7.

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>