- The JSON language file must use an ISO code, e.g.
es.json,ro.json, oren.json. - If you need to overwrite validation messages or other library strings, copy the
enfolder (and its files) and rename it to your new language code.
Info
Notes
• While not strictly required, installing the php-intl extension can improve localization and help prevent issues with custom or uncommon languages.
• If the language file json file syntax is incorrect, it might render into 500 error over the website. You can check if it's valid using a JSON validator - sample one.