From 0c19beb62aae36671776fe22ece739a18b1c3c1d Mon Sep 17 00:00:00 2001 From: abulojoshua1 Date: Thu, 14 May 2020 14:50:28 +0200 Subject: [PATCH 1/4] add 'multilang.enable_tag_localization' documentation tip --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6a5d4f3..75a5d4f 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,8 @@ To install ckanext-multilang: 8. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu: sudo service apache2 reload + +>**_TIP:_** You can also enable/disable tag localization using the `multilang.enable_tag_localization` (with default `False`) settings tag by settings it to boolean True/False. ## Development Installation From 822b8dc2070518a26dfedb02e975b0d73bea840d Mon Sep 17 00:00:00 2001 From: abulojoshua1 Date: Thu, 14 May 2020 15:04:47 +0200 Subject: [PATCH 2/4] Tweak config tip --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75a5d4f..3650df5 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ To install ckanext-multilang: sudo service apache2 reload ->**_TIP:_** You can also enable/disable tag localization using the `multilang.enable_tag_localization` (with default `False`) settings tag by settings it to boolean True/False. +>**_TIP:_** You can also enable/disable tag localization using the `multilang.enable_tag_localization` (with default `False`) settings key (in `prodcution.ini`) by settings it to boolean `True/False`. ## Development Installation From ef6f2982dd58ba44ba460652aa8f6940189198f2 Mon Sep 17 00:00:00 2001 From: abulojoshua1 Date: Thu, 14 May 2020 20:43:02 +0200 Subject: [PATCH 3/4] Add tag localization as configuration option --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3650df5..95e5b34 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ To install ckanext-multilang: sudo service apache2 reload ->**_TIP:_** You can also enable/disable tag localization using the `multilang.enable_tag_localization` (with default `False`) settings key (in `prodcution.ini`) by settings it to boolean `True/False`. +9. Enable/disable tag localization using the `multilang.enable_tag_localization` (with default `False`) settings key (in `prodcution.ini`) by settings it to boolean `True/False`. ## Development Installation From 5efb5dfbaf7bd282b55b666061b64e445ffc82b1 Mon Sep 17 00:00:00 2001 From: abulojoshua1 Date: Thu, 14 May 2020 21:05:16 +0200 Subject: [PATCH 4/4] Move Enable/disable config as point 6 --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 95e5b34..07d295a 100644 --- a/README.md +++ b/README.md @@ -59,8 +59,10 @@ To install ckanext-multilang: 5. If you need different resources bound to different languages, add the ``multilang_resources`` plugin. See also [the related wiki page](https://github.com/geosolutions-it/ckanext-multilang/wiki/Plugin-multilang_resources). + +6. Enable/disable tag localization using the `multilang.enable_tag_localization` settings key in `production.ini` by settings it to boolean `True/False` (defaults to `False`). -6. Update the Solr schema.xml file used by CKAN introducing the following elements. +7. Update the Solr schema.xml file used by CKAN introducing the following elements. **Inside the 'fields' Tag**: @@ -69,15 +71,13 @@ To install ckanext-multilang: **A new 'copyField' to append**: - -7. Restart Solr. +8. Restart Solr. -8. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu: +9. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu: sudo service apache2 reload -9. Enable/disable tag localization using the `multilang.enable_tag_localization` (with default `False`) settings key (in `prodcution.ini`) by settings it to boolean `True/False`. ## Development Installation