forked from ckan/ckan-docker
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable multilingual plugins; pre-populate ckan db with labels
- Loading branch information
anastasianayden
committed
Mar 12, 2024
1 parent
dc4529d
commit 94356c9
Showing
5 changed files
with
59 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
term,term_translation,lang_code | ||
http://id.loc.gov/vocabulary/iso639-1/en,English,en | ||
http://id.loc.gov/vocabulary/iso639-1/nl,Dutch,en | ||
http://id.loc.gov/vocabulary/iso639-1/de,German,en | ||
http://id.loc.gov/vocabulary/iso639-1/fr,French,en | ||
http://id.loc.gov/vocabulary/iso639-1/lb,Luxembourgish,en | ||
https://publications.europa.eu/resource/authority/language/ENG,English,en | ||
https://publications.europa.eu/resource/authority/language/LTZ,Luxembourgish,en | ||
https://publications.europa.eu/resource/authority/language/DEU,German,en | ||
https://publications.europa.eu/resource/authority/language/FRA,French,en | ||
http://publications.europa.eu/resource/authority/access-right/PUBLIC,Public,en | ||
http://publications.europa.eu/resource/authority/access-right/RESTRICTED,Restricted,en | ||
http://publications.europa.eu/resource/authority/access-right/NON_PUBLIC,Non-public,en | ||
http://purl.org/adms/status/Completed,Completed,en | ||
http://purl.org/adms/status/Deprecated,Deprecated,en | ||
http://purl.org/adms/status/UnderDevelopment,UnderDevelopment,en | ||
http://purl.org/adms/status/Withdrawn,Withdrawn,en | ||
http://purl.org/cld/freq/triennial,triennial,en | ||
http://purl.org/cld/freq/biennial,biennial,en | ||
http://purl.org/cld/freq/annual,annual,en | ||
http://purl.org/cld/freq/semiannual,semiannual,en | ||
http://purl.org/cld/freq/threeTimesAYear,three times a year,en | ||
http://purl.org/cld/freq/quarterly,quarterly,en | ||
http://purl.org/cld/freq/bimonthly,bimonthly,en | ||
http://purl.org/cld/freq/monthly,monthly,en | ||
http://purl.org/cld/freq/semimonthly,semimonthly,en | ||
http://purl.org/cld/freq/biweekly,biweekly,en | ||
http://purl.org/cld/freq/threeTimesAMonth,three times a month,en | ||
http://purl.org/cld/freq/weekly,weekly,en | ||
http://purl.org/cld/freq/semiweekly,semiweekly,en | ||
http://purl.org/cld/freq/threeTimesAWeek,three times a week,en | ||
http://purl.org/cld/freq/daily,daily,en | ||
http://purl.org/cld/freq/continuous,continuous,en | ||
http://purl.org/cld/freq/irregular,irregular,en | ||
https://bioportal.bioontology.org/ontologies/ICD10CM?p=classes&conceptid=U07.1,COVID-19,en |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
psql postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:5432/$CKAN_DB -c "\copy public.term_translation FROM '/prepopulate_db/common_vocabulary_tags.csv' WITH (DELIMITER ',', FORMAT CSV, HEADER TRUE);" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters