Skip to content

Commit

Permalink
i18n / Add armenian, azerbaijani, georgian, romanian and ukrainian la…
Browse files Browse the repository at this point in the history
…nguages

https://explore.transifex.com/geonetwork/core-geonetwork/ was updated for all those languages.
This will facilitate installation of GeoNetwork in those places eg. https://geonetwork.napr.gov.ge/geonetwork

Funded by Office International de l'Eau
  • Loading branch information
fxprunayre committed Jun 6, 2024
1 parent d5ae02f commit 9e419fe
Show file tree
Hide file tree
Showing 73 changed files with 20,828 additions and 38 deletions.
22 changes: 14 additions & 8 deletions web-ui/download-from-transifex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,30 @@ cd ..
TRANSLATION_DIR=transifex-src/translations/core-geonetwork.
SRC_DIR=src/main/resources/catalog/locales


l=(
'es::es'
'fr::fr'
'az::az'
'hy::hy'
'ca::ca'
'cs::cs_CZ'
'cy::cy'
'da::da_DK'
'de::de'
'es::es'
'fi::fi'
'fr::fr'
'is::is'
'it::it'
'ka::ka'
'ko::ko'
'nl::nl'
'cs::cs_CZ'
'ca::ca'
'cy::cy'
'pt::pt_BR'
'fi::fi'
'is::is'
'ro::ro'
'ru::ru'
'zh::zh'
'sk::sk_SK'
'sv::sv_SE'
'uk::uk'
'zh::zh'
)

for index in "${l[@]}" ; do
Expand Down
10 changes: 10 additions & 0 deletions web-ui/src/main/resources/catalog/js/CatController.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,14 @@
header: {
enabled: true,
languages: {
arm: "hy",
aze: "az",
eng: "en",
cat: "ca",
chi: "zh",
cze: "cs",
dan: "da",
geo: "ka",
ger: "de",
fre: "fr",
spa: "es",
Expand All @@ -107,9 +110,11 @@
dut: "nl",
kor: "ko",
por: "pt",
rum: "ro",
rus: "ru",
slo: "sk",
fin: "fi",
ukr: "uk",
swe: "sv",
wel: "cy"
},
Expand Down Expand Up @@ -1702,9 +1707,12 @@

// Lang names to be displayed in language selector
$scope.langLabels = {
arm: "հայերեն",
aze: "Azərbaycan dili",
eng: "English",
dut: "Nederlands",
fre: "Français",
geo: "ქართული",
ger: "Deutsch",
kor: "한국의",
spa: "Español",
Expand All @@ -1714,10 +1722,12 @@
ita: "Italiano",
fin: "Suomeksi",
ice: "Íslenska",
rum: "Română",
rus: "русский",
chi: "中文",
slo: "Slovenčina",
swe: "Svenska",
ukr: "українська",
dan: "Dansk",
wel: "Cymraeg"
};
Expand Down
1,498 changes: 1,498 additions & 0 deletions web-ui/src/main/resources/catalog/locales/az-admin.json

Large diffs are not rendered by default.

588 changes: 588 additions & 0 deletions web-ui/src/main/resources/catalog/locales/az-core.json

Large diffs are not rendered by default.

458 changes: 458 additions & 0 deletions web-ui/src/main/resources/catalog/locales/az-editor.json

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions web-ui/src/main/resources/catalog/locales/az-gnui.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"dropFile": "",
"facets.block.title.OrgForResource": "Organisation",
"facets.block.title.availableInServices": "Available for",
"facets.block.title.cl_hierarchyLevel.key": "Resource type",
"facets.block.title.cl_maintenanceAndUpdateFrequency.key": "Update frequency",
"facets.block.title.cl_spatialRepresentationType.key": "Spatial representation",
"facets.block.title.cl_status.key": "Status",
"facets.block.title.creationYearForResource": "Creation year",
"facets.block.title.resolutionScaleDenominator": "Scale",
"facets.block.title.tag": "Keywords",
"facets.block.title.tag.default": "Tag",
"facets.block.title.th_regions_tree.default": "Regions",
"nav.back": "Back",
"record.action.download": "Download",
"record.action.view": "View",
"record.more.details": "Read more",
"records": "records",
"results.layout.selectOne": "Results layout",
"results.records.hits.found": "{hits, plural, =0{No documents match the specified search.} one{} other{{hits} records found.}}",
"results.records.hits.found=0.help": "Suggestions: <ul class='list-disc list-inside'><li>Try other words</li><li>Specify fewer words</li></ul>",
"results.sortBy.dateStamp": "Last updates",
"results.sortBy.popularity": "Popularity",
"results.sortBy.relevancy": "Relevancy",
"search.field.any.placeholder": "Search datasets, services and maps ...",
"search.field.sortBy": "Sort by",
"search.loading": "Loading ..."
}
Loading

0 comments on commit 9e419fe

Please sign in to comment.