Skip to content

Commit

Permalink
handle translations for bibliography facet items with own language fi…
Browse files Browse the repository at this point in the history
…elds
  • Loading branch information
thomas-sc committed Jan 14, 2025
1 parent d0222a5 commit 2586601
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Configuration/TypoScript/setup.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ plugin.tx_lisztcommon_searchlisting {
extensionName = liszt_bibliography
# the name of the entity index
indexName = zotero
# the filename of the language file for translations in /Resources/Private/Language/ of the extension
languageFile = bibliographylang
# the facets are multi selectable if multiselect is set
# the filter fields
filters {
Expand Down
35 changes: 35 additions & 0 deletions Resources/Private/Language/bibliographylang.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="EXT:liszt_bibliography/Resources/Private/Language/bibliographylang.xlf" date="2025-01-14T13:20:31Z" product-name="liszt_bibliography">
<header/>
<body>
<trans-unit id="itemType" >
<source>Typ</source>
</trans-unit>
<trans-unit id="tx_lisztbibliography_creators" >
<source>Beteiligte</source>
</trans-unit>
<trans-unit id="date" >
<source>Datum</source>
</trans-unit>
<trans-unit id="language" >
<source>Sprache</source>
</trans-unit>
<trans-unit id="publicationTitle" >
<source>Journaltitel</source>
</trans-unit>
<trans-unit id="itemType_book" >
<source>Buch</source>
</trans-unit>
<trans-unit id="itemType_journalArticle" >
<source>Journal</source>
</trans-unit>
<trans-unit id="itemType_bookSection" >
<source>Buchbereich</source>
</trans-unit>
<trans-unit id="itemType_thesis" >
<source>Abschlussarbeit</source>
</trans-unit>
</body>
</file>
</xliff>
11 changes: 11 additions & 0 deletions Resources/Private/Language/de.bibliographylang.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="EXT:liszt_bibliography/Resources/Private/Language/bibliographylang.xlf" date="2025-01-14T13:20:31Z" product-name="liszt_bibliography">
<header/>
<body>
<trans-unit id="itemType" >
<source>Kategorie</source>
</trans-unit>
</body>
</file>
</xliff>

0 comments on commit 2586601

Please sign in to comment.