SYMBOL INDEX (90 symbols across 11 files) FILE: i18n/config.py function set (line 32) | def set(key, value): function get (line 36) | def get(key): FILE: i18n/loaders/json_loader.py class JsonLoader (line 6) | class JsonLoader(Loader): method __init__ (line 9) | def __init__(self): method parse_file (line 12) | def parse_file(self, file_content): FILE: i18n/loaders/loader.py class I18nFileLoadError (line 6) | class I18nFileLoadError(Exception): method __init__ (line 7) | def __init__(self, value): method __str__ (line 10) | def __str__(self): class Loader (line 14) | class Loader(object): method __init__ (line 17) | def __init__(self): method _load_file_data (line 21) | def _load_file_data(self, filename): method load_file (line 30) | def load_file(self, filename): method parse_file (line 39) | def parse_file(self, file_content): method check_data (line 46) | def check_data(self, data, root_data): method get_data (line 49) | def get_data(self, data, root_data): method load_resource (line 52) | def load_resource(self, filename, root_data): FILE: i18n/loaders/python_loader.py class PythonLoader (line 7) | class PythonLoader(Loader): method __init__ (line 10) | def __init__(self): method load_file (line 13) | def load_file(self, filename): method parse_file (line 23) | def parse_file(self, file_content): method check_data (line 26) | def check_data(self, data, root_data): method get_data (line 29) | def get_data(self, data, root_data): FILE: i18n/loaders/yaml_loader.py class YamlLoader (line 6) | class YamlLoader(Loader): method __init__ (line 9) | def __init__(self): method parse_file (line 12) | def parse_file(self, file_content): FILE: i18n/resource_loader.py function register_loader (line 11) | def register_loader(loader_class, supported_extensions): function load_resource (line 19) | def load_resource(filename, root_data): function init_loaders (line 28) | def init_loaders(): function init_python_loader (line 36) | def init_python_loader(): function init_yaml_loader (line 42) | def init_yaml_loader(): function init_json_loader (line 48) | def init_json_loader(): function load_config (line 54) | def load_config(filename): function get_namespace_from_filepath (line 60) | def get_namespace_from_filepath(filename): function load_translation_file (line 79) | def load_translation_file(filename, base_directory, locale=config.get("l... function load_translation_dic (line 87) | def load_translation_dic(dic, namespace, locale): function load_directory (line 97) | def load_directory(directory, locale=config.get("locale")): function search_translation (line 106) | def search_translation(key, locale=config.get("locale")): function recursive_search_dir (line 119) | def recursive_search_dir( FILE: i18n/tests/loader_tests.py class TestFileLoader (line 21) | class TestFileLoader(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_load_unavailable_extension (line 30) | def test_load_unavailable_extension(self): method test_register_wrong_loader (line 36) | def test_register_wrong_loader(self): method test_register_python_loader (line 43) | def test_register_python_loader(self): method test_register_yaml_loader (line 51) | def test_register_yaml_loader(self): method test_load_wrong_json_file (line 59) | def test_load_wrong_json_file(self): method test_load_yaml_file (line 72) | def test_load_yaml_file(self): method test_load_json_file (line 81) | def test_load_json_file(self): method test_load_python_file (line 89) | def test_load_python_file(self): method test_memoization_with_file (line 98) | def test_memoization_with_file(self): method test_load_file_with_strange_encoding (line 131) | def test_load_file_with_strange_encoding(self): method test_get_namespace_from_filepath_with_filename (line 140) | def test_get_namespace_from_filepath_with_filename(self): method test_get_namespace_from_filepath_without_filename (line 150) | def test_get_namespace_from_filepath_without_filename(self): method test_load_translation_file (line 162) | def test_load_translation_file(self): method test_load_plural (line 172) | def test_load_plural(self): method test_search_translation_yaml (line 185) | def test_search_translation_yaml(self): method test_search_translation_json (line 192) | def test_search_translation_json(self): method test_search_translation_without_ns (line 200) | def test_search_translation_without_ns(self): method test_search_translation_without_ns_nested_dict__two_levels_neting__default_locale (line 208) | def test_search_translation_without_ns_nested_dict__two_levels_neting_... method test_search_translation_without_ns_nested_dict__two_levels_neting__other_locale (line 225) | def test_search_translation_without_ns_nested_dict__two_levels_neting_... method test_search_translation_without_ns_nested_dict__default_locale (line 242) | def test_search_translation_without_ns_nested_dict__default_locale(self): method test_search_translation_without_ns_nested_dict__other_locale (line 257) | def test_search_translation_without_ns_nested_dict__other_locale(self): FILE: i18n/tests/run_tests.py function suite (line 7) | def suite(): FILE: i18n/tests/translation_tests.py class TestTranslationFormat (line 18) | class TestTranslationFormat(unittest.TestCase): method setUpClass (line 20) | def setUpClass(cls): method setUp (line 40) | def setUp(self): method test_basic_translation (line 46) | def test_basic_translation(self): method test_missing_translation (line 49) | def test_missing_translation(self): method test_missing_translation_error (line 52) | def test_missing_translation_error(self): method test_locale_change (line 57) | def test_locale_change(self): method test_fallback (line 61) | def test_fallback(self): method test_fallback_from_resource (line 65) | def test_fallback_from_resource(self): method test_basic_placeholder (line 69) | def test_basic_placeholder(self): method test_missing_placehoder (line 72) | def test_missing_placehoder(self): method test_missing_placeholder_error (line 75) | def test_missing_placeholder_error(self): method test_basic_pluralization (line 80) | def test_basic_pluralization(self): method test_full_pluralization (line 85) | def test_full_pluralization(self): method test_bad_pluralization (line 91) | def test_bad_pluralization(self): method test_default (line 98) | def test_default(self): method test_skip_locale_root_data (line 101) | def test_skip_locale_root_data(self): method test_skip_locale_root_data_nested_json_dict__default_locale (line 110) | def test_skip_locale_root_data_nested_json_dict__default_locale(self): method test_skip_locale_root_data_nested_json_dict__other_locale (line 122) | def test_skip_locale_root_data_nested_json_dict__other_locale(self): FILE: i18n/translations.py function add (line 6) | def add(key, value, locale=config.get("locale")): function has (line 10) | def has(key, locale=config.get("locale")): function get (line 14) | def get(key, locale=config.get("locale")): FILE: i18n/translator.py class TranslationFormatter (line 6) | class TranslationFormatter(Template): method __init__ (line 9) | def __init__(self, template): method format (line 12) | def format(self, **kwargs): function t (line 19) | def t(key, **kwargs): function translate (line 37) | def translate(key, **kwargs): function pluralize (line 45) | def pluralize(key, translation, count):