Replies: 8 comments 1 reply
-
|
The result shown in the image above was produced with a site config.yaml like this: It's not possible to produce this site configuration in the TYPO3 backend. |
Beta Was this translation helpful? Give feedback.
-
|
Here is the wrong result for Kitodo metadata which was created with "New Tenant" in an installation based on the TYPO3 Introduction (installed with
|
Beta Was this translation helpful? Give feedback.
-
|
It looks like correct data is only produced if Update: in my latest tests I found 3 possible ways to get correct bilangual data:
|
Beta Was this translation helpful? Give feedback.
-
|
See also my related comment for dfg-viewer. |
Beta Was this translation helpful? Give feedback.
-
|
Dear Stefan, The newTenantController uses the So, if someone sets up the language of the site with a Typo3 preset (like i did), it will automatically have its locale like "de_DE" or "en_US" and therefore return "de_DE" as the prefix for the XLF files.
So, i believe, the best way to do this, is to update the documentation accordingly, so that during site setup the locale is correctly set as "de", "en" or whatever language codes might be available in the future. What do you think? |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for debugging this, @michaelkubina! So, the correct way of handling this would be to prefix our XLF language files with full language/country codes, right? I don't like recommending using "incomplete" language codes in site setup, because deviating from the TYPO3 default is error-prone. Instead we should try to be compatible with TYPO3 standards, i. e. duplicate our German language files as "de_DE", "de_AT" and "de_CH". Sure, that means a bit more effort in keeping those files up to date, but overall I think it would be the better approach. What do you think? |
Beta Was this translation helpful? Give feedback.
-
|
Sounds absolutely reasonable to me! I'd appreciate a pull request! |
Beta Was this translation helpful? Give feedback.
-
|
This is fixed with #1775. Thanks to @michaelkubina! |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
It's possible to create Metadata and Structures for a new tenant automatically in TYPO3. Ideally this should create 30 bilingual entries for Metadata and 92 bilingual entries for Structures like in this example.
It seems to be difficult to set up the site correctly to get this result. Often there will only be entries which are all either in English or in German.
Instructions for the recommended site setup which produces the desired result would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions