from typing import List
from typing import Dict
from typing import Any
import json


def read_localisation_file(f: str) -> List[Dict[str, Any]]:
    """Reads a localisation file and loads up information

    Args:
        f (str): Name of localisation file

    Raises:
        ValueError: Language not supported

    Returns:
        List[Dict[str, Any]]: Localisation information
    """

    # Read in the file
    with open(f, encoding='utf-8') as fd:
        step_localisations = json.load(fd)

    return step_localisations