Assume the following requirements:
A TYPO3 install should host two sites (page trees) in different languages (English and German).
Both sites share translated records (that is with
sys_language_uid
equal to 0 and 1 respectively) from a data folder.
Requirement 1 could be solved by modifying the displayed language through mod.SHARED.defaultLanguageFlag/Label
in PageTS for each site root and using appropriate frontent TypoScript. Both sites would languageField
/sys_language_uid
equal to 0 for all content.
Requirement 2 introduces a problem with this simple setup: All records on both sites refer to the default (english) language for the content in the data folder. This is problematic in the backend and frontend.
How does one get around that? Is it possible to have the german tree (pages and new content) handled by TYPO3 in BE with a default language id of 1?
An ugly solution that would probably work is to create english pages in the german tree, create german translations and add content only to these translations. Also, one would probably have to set TCAdefaults.[table].sys_language_uid = 1
for all tables in that page tree to avoid having to create english records first. Is that the only viable way?