From 4a43b870c12b0d0f53f5c94a4239d55371dfc812 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 9 Mar 2020 09:27:01 +0100 Subject: [PATCH] Add "si" to LANG_INFO cf https://github.com/django/django/blob/master/django/conf/locale/__init__.py#L10 "get_language_info_list" would not run otherwise. --- umap/settings/base.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/umap/settings/base.py b/umap/settings/base.py index 3b0fbf1e..1fbc5389 100644 --- a/umap/settings/base.py +++ b/umap/settings/base.py @@ -25,6 +25,12 @@ LANG_INFO.update({ 'name': 'Chinese', 'name_local': '简体中文', }, + 'si': { + 'bidi': False, + 'code': 'si', + 'name': 'Sinhala', + 'name_local': 'සිංහල', + }, }) # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name