JustFans docs

Guide

Languages

To translate your site into another language, make a copy of the default en.json file found in the lang folder and modify it as needed.

  • The JSON language file must use an ISO code, e.g. es.json, ro.json, or en.json.
  • If you need to overwrite validation messages or other library strings, copy the en folder (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.