Repository navigation
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. |
|
It looks like correct data is only produced if Update: in my latest tests I found 3 possible ways to get correct bilangual data:
|
|
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? |
|
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? |
|
Sounds absolutely reasonable to me! I'd appreciate a pull request! |
|
This is fixed with #1775. Thanks to @michaelkubina! |

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.
All reactions