Skip to content

Commit 80395dd

Browse files
evanwillmaehr
andcommitted
add translation set up from maehr PR CollectionBuilder#48
Co-authored-by: Moritz Mähr <[email protected]>
1 parent 4f6976c commit 80395dd

37 files changed

+689
-120
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ description: "CollectionBuilder-CSV is a template for creating digital collectio
2828
keywords: idaho;history;inland northwest
2929
# creator of the digital collection, to appear in meta tags; we typically use our GitHub usernames but feel free to just use your name
3030
author: CollectionBuilder
31+
# language of the website (en or de are currently the only supported languages and you have to adjust the language in the _data folder and in the pages folder accordingly)
32+
lang: en
3133

3234
##########
3335
# COLLECTION SETTINGS

_data/translations.yml

Lines changed: 308 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,308 @@
1+
includesFeatureAudio:
2+
audioNotSupported:
3+
en: "Your browser does not support the audio element."
4+
de: "Ihr Browser unterstützt das Audio-Element nicht."
5+
includesFeatureNavMenu:
6+
techLinkLabel:
7+
en: "Tech"
8+
de: "Tech"
9+
includesFeaturePdf:
10+
pdfNotRendering:
11+
en: 'The PDF is not rendering in your browser.'
12+
de: 'Das PDF wird in Ihrem Browser nicht angezeigt.'
13+
pdfDownload:
14+
en: 'Download PDF'
15+
de: 'PDF herunterladen'
16+
includesFeatureVideo:
17+
videoNotSupported:
18+
en: "Your browser does not support the embedded video."
19+
de: "Ihr Browser unterstützt das eingebettete Video nicht."
20+
includesHeadItemMeta:
21+
itemFrom:
22+
en: "Item from"
23+
de: "Objekt von"
24+
includesIndexCarousel:
25+
previous:
26+
en: "Previous"
27+
de: "Vorherige"
28+
next:
29+
en: "Next"
30+
de: "Nächste"
31+
slide:
32+
en: "Slide"
33+
de: "Slide"
34+
includesIndexDataDownload:
35+
title:
36+
en: "Collection as Data <small>(click to download)</small>"
37+
de: "Sammlung als Daten <small>(zum Herunterladen klicken)</small>"
38+
metadata:
39+
en: "Metadata"
40+
de: "Metadaten"
41+
subjects:
42+
en: "Subjects"
43+
de: "Themen"
44+
geodata:
45+
en: "Geodata"
46+
de: "Geodaten"
47+
locations:
48+
en: "Locations"
49+
de: "Orte"
50+
timeline:
51+
en: "Timeline"
52+
de: "Zeitachse"
53+
facets:
54+
en: "Facets"
55+
de: "Facetten"
56+
sourceCode:
57+
en: "Source Code"
58+
de: "Quellcode"
59+
includesIndexDescription:
60+
title:
61+
en: "Description"
62+
de: "Beschreibung"
63+
learnMore:
64+
en: "Learn more"
65+
de: "Mehr erfahren"
66+
includesIndexObjects:
67+
images:
68+
en: "Images"
69+
de: "Bilder"
70+
audio:
71+
en: "Audio"
72+
de: "Audio"
73+
videos:
74+
en: "Videos"
75+
de: "Videos"
76+
pdfs:
77+
en: "PDFs"
78+
de: "PDFs"
79+
records:
80+
en: "Records"
81+
de: "Datensätze"
82+
files:
83+
en: "Files"
84+
de: "Dateien"
85+
viewTable:
86+
en: "View Table"
87+
de: "Tabelle anzeigen"
88+
includesIndexTime:
89+
title:
90+
en: "Time Span"
91+
de: "Zeitspanne"
92+
from:
93+
en: "from"
94+
de: "von"
95+
to:
96+
en: "to"
97+
de: "bis"
98+
viewTimeline:
99+
en: "View Timeline"
100+
de: "Zeitachse anzeigen"
101+
includesItemAudioPlayer:
102+
audioNotSupported:
103+
en: "Your browser does not support the audio element."
104+
de: "Ihr Browser unterstützt das Audio-Element nicht."
105+
includesItemBreadcrumbs:
106+
home:
107+
en: "Home"
108+
de: "Startseite"
109+
items:
110+
en: "Items"
111+
de: "Objekte"
112+
includesItemBrowseButtons:
113+
previous:
114+
en: "Previous"
115+
de: "Vorheriges"
116+
next:
117+
en: "Next"
118+
de: "Nächstes"
119+
backToBrowse:
120+
en: "Back to Browse"
121+
de: "Zurück zur Übersicht"
122+
includesItemCitationBox:
123+
title:
124+
en: "Source"
125+
de: "Quelle"
126+
preferredCitation:
127+
en: "Preferred Citation"
128+
de: "Bevorzugte Zitation"
129+
referenceLink:
130+
en: "Reference Link"
131+
de: "Referenzlink"
132+
includesItemDownloadButton:
133+
download:
134+
en: "Download"
135+
de: "Herunterladen"
136+
includesItemImageGallery:
137+
clickToViewFullScreen:
138+
en: "Click to view full screen"
139+
de: "Klicken Sie, um den Vollbildmodus zu aktivieren"
140+
includesItemRightsBox:
141+
title:
142+
en: "Rights"
143+
de: "Rechte"
144+
rights:
145+
en: "Rights"
146+
de: "Rechte"
147+
rightsstatement:
148+
en: "Standardized Rights"
149+
de: "Rechteerklärung"
150+
includesItemVideoPlayer:
151+
videoNotSupported:
152+
en: "Your browser does not support the embedded video."
153+
de: "Ihr Browser unterstützt das eingebettete Video nicht."
154+
includesJsBrowseJs:
155+
viewFullRecord:
156+
en: "View Full Record"
157+
de: "Vollständigen Datensatz anzeigen"
158+
includesJsLunrJs:
159+
results:
160+
en: "Result(s) found"
161+
de: "Ergebnisse"
162+
includesCollectionBanner:
163+
downloadButton:
164+
en: "Download Data"
165+
de: "Daten herunterladen"
166+
title:
167+
en: "Collection Data"
168+
de: "Sammlungsdaten"
169+
description:
170+
en: "The collection data is available for download in a variety of formats."
171+
de: "Die Sammlungsdaten können in verschiedenen Formaten heruntergeladen werden."
172+
completeMetadata:
173+
en: "Complete Metadata"
174+
de: "Vollständige Metadaten"
175+
completeMetadataDescription:
176+
en: "All metadata fields for all collection items, available as a CSV spreadsheet (usable in Excel, Google Sheets, and similar programs) or JSON file (often used with web applications)."
177+
de: "Alle Metadatenfelder für alle Sammlungsobjekte, als CSV-Tabelle (verwendbar in Excel, Google Sheets und ähnlichen Programmen) oder JSON-Datei (oft mit Webanwendungen verwendet)."
178+
metadata:
179+
en: "Metadata"
180+
de: "Metadaten"
181+
metadataFacets:
182+
en: "Metadata Facets"
183+
de: "Metadaten Facetten"
184+
metadataFacetsDescription:
185+
en: "List of unique values and their count for specific metadata fields, useful for understanding content of the fields."
186+
de: "Liste der eindeutigen Werte und ihrer Anzahl für bestimmte Metadatenfelder, die für das Verständnis des Inhalts der Felder nützlich ist."
187+
subjectMetadata:
188+
en: "Subject Metadata"
189+
de: "Metadaten Themen"
190+
subjectMetadataDescription:
191+
en: "Unique values and counts of subject metadata, useful for further analyzing the content of this collection."
192+
de: "Eindeutige Werte und Zählungen von Themenmetadaten, die für die weitere Analyse des Inhalts dieser Sammlung nützlich sind."
193+
subjects:
194+
en: "Subjects"
195+
de: "Themen"
196+
locations:
197+
en: "Locations"
198+
de: "Orte"
199+
locationsDescription:
200+
en: "Unique values and counts of location metadata, useful for further visualization and analysis of this collection's place names."
201+
de: "Eindeutige Werte und Zählungen von Ortsmetadaten, die für die weitere Visualisierung und Analyse der Ortsnamen dieser Sammlung nützlich sind."
202+
geodataDescription:
203+
en: 'Metadata for all collection items that have geographic coordinates in <a href="https://en.wikipedia.org/wiki/GeoJSON" target="_blank" rel="noopener">GeoJSON</a> format, useful for further exploration and analysis of this collection through a geographical lense.'
204+
de: 'Metadaten für alle Sammlungsobjekte, die geographische Koordinaten im <a href="https://de.wikipedia.org/wiki/GeoJSON" target="_blank" rel="noopener">GeoJSON</a>-Format haben, die für die weitere Exploration und Analyse dieser Sammlung durch eine geographische Linse nützlich sind.'
205+
geodata:
206+
en: "Geodata"
207+
de: "Geodaten"
208+
timeline:
209+
en: "Timeline"
210+
de: "Zeitachse"
211+
timelineDescription:
212+
en: 'A time-focused JSON data export designed for use with <a href="https://timeline.knightlab.com/" target="_blank" rel="noopener">TimelineJS</a>.'
213+
de: 'Ein zeitbezogener JSON-Datenexport, der für die Verwendung mit <a href="https://timeline.knightlab.com/" target="_blank" rel="noopener">TimelineJS</a> konzipiert ist.'
214+
websiteSourceCode:
215+
en: "Website Source Code"
216+
de: "Quellcode der Website"
217+
websiteSourceCodeDescription:
218+
en: 'GitHub repository containing source code for this project built with <a href="https://github.com/CollectionBuilder/collectionbuilder-csv" target="_blank" rel="noopener">CollectionBuilder-CSV</a>.'
219+
de: 'GitHub-Repository mit dem Quellcode für dieses Projekt, das mit <a href="https://github.com/CollectionBuilder/collectionbuilder-csv" target="_blank" rel="noopener">CollectionBuilder-CSV</a>.'
220+
sourceCode:
221+
en: "Source Code"
222+
de: "Quellcode"
223+
includesFooter:
224+
home:
225+
en: "Home"
226+
de: "Startseite"
227+
builtWith:
228+
en: "built with"
229+
de: "erstellt mit"
230+
lastUpdated:
231+
en: "Last updated"
232+
de: "Zuletzt aktualisiert"
233+
includesNavSearchLunr:
234+
search:
235+
en: "Search"
236+
de: "Suche"
237+
searchBox:
238+
en: "Search Box"
239+
de: "Suchefeld"
240+
includesScrollToTop:
241+
backToTop:
242+
en: "Back to Top"
243+
de: "Zurück nach oben"
244+
upArrow:
245+
en: "Up Arrow"
246+
de: "Pfeil nach oben"
247+
layoutsBrowse:
248+
search:
249+
en: "Search"
250+
de: "Suche"
251+
filter:
252+
en: "Filter"
253+
de: "Filter"
254+
filterItems:
255+
en: "Filter Items"
256+
de: "Objekte filtern"
257+
reset:
258+
en: "Reset"
259+
de: "Zurücksetzen"
260+
sortBy:
261+
en: "Sort by"
262+
de: "Sortieren nach"
263+
random:
264+
en: "Random"
265+
de: "Zufällig"
266+
loading:
267+
en: "Loading"
268+
de: "Laden"
269+
layoutsData:
270+
link:
271+
en: "Link"
272+
de: "Link"
273+
layoutsHomeInfographic:
274+
sampleItems:
275+
en: "Sample Items"
276+
de: "Beispielobjekte"
277+
topSubjects:
278+
en: "Top Subjects"
279+
de: "Top-Themen"
280+
locations:
281+
en: "Locations"
282+
de: "Orte"
283+
layoutsSearch:
284+
searchOptions:
285+
en: "Search Options"
286+
de: "Suchoptionen"
287+
lunrSearchOptions:
288+
en: "Lunr Search Options"
289+
de: "Lunr-Suchoptionen"
290+
options:
291+
en: '<p>These advanced options can be added to your query in the search box to refine your results:</p> <ul> <li>Search a specific field: use the field name, colon, then your query, e.g. <code>title:foo</code>, <code>date:1911</code>, <code>subject:tree</code>. In this collection you can use {{ fields | join: ", " }}.</li> <li>Wildcards: add <code>*</code> to match any character(s), e.g. <code>foo*</code>, <code>*oo</code>. This is helpful for using a root to find words with all related endings.</li> <li>Fuzzy match: add <code>~</code> plus a number at the end of your query to specify a higher level of fuzziness in search, e.g. <code>foo~1</code>. This can help with misspellings.</li> <li>Boost term: add <code>^</code> plus a number to boost the relevance of a term in your query, e.g. <code>foo^10</code>. This can help reduce clutter of unrelated results if one of your terms is most important.</li> </ul>'
292+
de: '<p>Diese erweiterten Optionen können im Suchfeld zu Ihrer Anfrage hinzugefügt werden, um Ihre Ergebnisse zu verfeinern:</p> <ul> <li>Suchen Sie ein bestimmtes Feld: Verwenden Sie den Feldnamen, einen Doppelpunkt und dann Ihre Anfrage, z.B. <code>Titel:foo</code>, <code>Datum:1911</code>, <code>Thema:Baum</code>. In dieser Sammlung können Sie {{ fields | join: ", " }}.</li> <li>Wildcards: Fügen Sie <code>*</code> hinzu, um beliebige Zeichen zu finden, z.B. <code>foo*</code>, <code>*oo</code>. Dies ist hilfreich, wenn Sie einen Wortstamm verwenden, um Wörter mit allen verwandten Endungen zu finden.</li> <li>Unscharfe Übereinstimmung: Fügen Sie <code>~</code> plus eine Zahl am Ende Ihrer Abfrage hinzu, um eine höhere Unschärfe bei der Suche anzugeben, z.B. <code>foo~1</code>. Dies kann bei Rechtschreibfehlern helfen.</li> <li>Boost term: Fügen Sie <code>^</code> plus eine Zahl hinzu, um die Relevanz eines Begriffs in Ihrer Anfrage zu erhöhen, z.B. <code>foo^10</code>. Dies kann dazu beitragen, das Durcheinander von nicht verwandten Ergebnissen zu reduzieren, wenn einer Ihrer Begriffe am wichtigsten ist.</li> </ul>'
293+
search:
294+
en: "Search"
295+
de: "Suche"
296+
searchTerm:
297+
en: "Enter your search term..."
298+
de: "Geben Sie Ihren Suchbegriff ein..."
299+
lunrSearchDescription:
300+
en: '<p class="text-muted">Unscharfe Suche unterstützt von <a href="https://lunrjs.com/" target="_blank" rel="noopener">Lunr.js</a>. <em>Das Laden großer Sammlungen kann eine Sekunde dauern!</em></p>'
301+
de: '<p class="text-muted">Unscharfe Suche angetrieben von <a href="https://lunrjs.com/" target="_blank" rel="noopener">Lunr.js</a>. <em>Kann eine Sekunde dauern, um große Sammlungen zu laden!</em></p>'
302+
googleSearchDescription:
303+
en: <p class="text-muted">Alternatively, try <a href="{{ '/search/google.html' | relative_url }}">Google CSE</a> site search.</p>
304+
de: <p class="text-muted">Alternativ dazu können Sie die <a href="{{ '/search/google.html'' | relative_url }}">Google CSE</a> die Site-Suche.</p>
305+
layoutsTimeline:
306+
year:
307+
en: "Year"
308+
de: "Jahr"

0 commit comments

Comments
 (0)