Translate a theme

    Each theme has a folder languages, inside this folder you can create the different dictionaries files for each language.

    /bl-themes/{THEME_NAME}/languages/
        de_DE.json
        en.json
        es.json
        fr_FR.json
        ...
    File Encoding
    All dictionary files are JSON files and are encoding on UTF-8.

    This is an example of an English dictionary en.json. Each line in en.json file is a key-value pair with the key on the left and the value on the right.

    {
        "theme-data":
        {
            "name": "Pure",
            "description": "Simple and clean, based on the framework Pure.css."
        }
    }

    As you can see, you have a field called theme-data, this has the name and description of the theme.

    This is an example of a Spanish dictionary, the file is locate in /bl-themes/{THEME_NAME}/languages/es.json.

    {
        "theme-data":
        {
            "name": "Pure",
            "description": "Simple y minimalista, basado en el framework Pure.css."
        }
    }
    Collaborate with us and edit this page