def METHOD_NAME(mock_get_base_path, tmp_path):
    mock_get_base_path.return_value = tmp_path
    filename = "languages.json"
    expected_path = Path(tmp_path) / I18N_DIR / filename
    assert get_i18n_file_path(filename) == expected_path
    languages_json = {
        "unknown": "Unknown",
        "en": "English",
        "nl": "Dutch"
    }
    language_path = get_i18n_file_path(LANGUAGES_FILE)
    language_path.parents[0].mkdir(parents=True, exist_ok=True)
    language_path.write_text(json.dumps(languages_json))
    assert languages_json == get_languages_file_content()