How to remove languages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bandtank
    Active Community Member
    • Mar 2017
    • 379

    How to remove languages

    Many language files are generated whenever entities are added, but my instance does not need to provide support for anything other than en_US. To prevent EspoCRM from generating language files for unneeded languages, do the following:

    Create a file called language.json in custom/Espo/Custom/Resources/metadata/app.json

    Add the list of supported languages:
    Code:
    {
        "list": [
            "en_US"
        ]
    }​
    Rebuild and Bob's your uncle.
    Last edited by bandtank; 02-01-2024, 04:28 AM.
  • Kharg
    Senior Member
    • Jun 2021
    • 410

    #2
    Useful tip, thanks!

    Comment

    Working...